Commit Graph

35772 Commits

Author SHA1 Message Date
Uwe Stöhr
0ca507ca64 Development.lyx: backport the current rules/advises 2016-10-10 02:45:57 +02:00
Uwe Stöhr
df66391485 French UserGuide.lyx: restore \origin tag
Jean-Pierre, please take care of this otherwise LyX cannot be compiled.
Please also port changes you commit to 2.2.x to master
2016-10-10 02:14:41 +02:00
jpc
2d2023df6f Typo pointed out in the lyx-fr mailing list 2016-10-07 08:59:03 +01:00
Kornel Benko
5fef7db34f Update sk.po 2016-10-05 19:30:50 +02:00
Enrico Forestieri
ae0679926e Improve systemlyxdir handling
Do not assume that the /systemlyxdir path prefix in \origin refers
to the system directory of the running instance, but check through
some heuristics what the real system dir is. In this way, a document
in the system dir of any other LyX installation is correctly spotted
and the \origin tag properly updated. For example, one can use an
installed version of lyx to edit a document in the lib/doc dir of a
git repo and obtain the same result as when running lyx in place.

(cherry picked from commit ade098e289)
2016-09-25 12:09:24 -04:00
jpc
432d1398bc Typo 2016-09-25 17:29:16 +01:00
Scott Kostyshak
e81f6b04bc Amend 40c262cb
Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.
2016-09-22 22:55:35 -04:00
Scott Kostyshak
40c262cbd8 Amend and extend 9f3518bc
The comment is now in a comment inset. This change is extended to
all versions of beamer.lyx.

Change tracking is not used because it only affects a comment
(consistent with aa81ae7e).

This change is made according to updated conversation at:
https://www.mail-archive.com/search?l=mid&q=nruubc%24uu0%241%40blaine.gmane.org
2016-09-22 22:21:03 -04:00
jpc
360fd94ee4 Change a line to avoid bad hyphenation
THe pdf output showed  a very visible line overfull. I slightly changed the text to
avoid this without adding an hyphenation point, not appropriate in documents for beginners.
2016-09-21 09:15:07 +01:00
Uwe Stöhr
aa81ae7e30 French beamer.lyx: accept changes
I think this can be accepted without further explanation since it is in a comment
2016-09-20 23:16:42 +02:00
jpc
cd5dbe9640 Upadte fr.po 2016-09-20 18:49:43 +01:00
Scott Kostyshak
9f3518bcd2 Fix compilation of fr/beamer.lyx with XeTeX
The compilation did not succeed before because of an é in an ERT
inset. This is changed to \'{e}.

Also correct spelling of "decouvert" to "découvert".

Alternatives would be to use a LyX note or a comment inset. Since
the original version uses ERT, I do not change that.

This commit fixes the following ctest:

  export/examples/fr/beamer-article_pdf4_texF

It likely also fixes the corresponding test for fr/beamer.lyx, but
since the default output format is set to pdf2 we do not run the
test.

For more information, see:
https://www.mail-archive.com/search?l=mid&q=20160919192413.ftnz4gk6dl5w3k5c%40Opti1604
2016-09-19 22:23:41 -04:00
Uwe Stöhr
3ac29c96a0 Makefile.am: add 2 missing entries 2016-09-17 13:02:48 +02:00
Uwe Stöhr
dae621f0d8 Win installer: backport changes from master and prepare for 2.2.2 2016-09-17 13:01:32 +02:00
Uwe Stöhr
2020fbce6e pt_BR.po: updates from Georger 2016-09-17 12:58:33 +02:00
Juergen Spitzmueller
6b7e219ba4 de.po: update 2016-09-17 10:13:16 +02:00
Juergen Spitzmueller
e6df1d85f8 Revert "de.po"
This reverts commit 2c271a26b5.
:q
:wa
2016-09-17 10:11:01 +02:00
Juergen Spitzmueller
2c271a26b5 de.po 2016-09-17 10:04:08 +02:00
Georg Baum
701f10a502 Fix data loss with [ in first cell of aligned
If the first character in the first cell of an aligned math environment is
'[', and the environment does not use top or bottom vertical alignment,
then LyX did write the '[' unprotected so that it got misinterpreted as
optional argument, both when reading the .lyx file in LyX and when reading
the .tex file in LaTeX => data loss!
The fix is to output an empty optional argument in this case, which is
interpreted as default alignment both by LyX and LaTeX. It would also be
possible to output \[ in the first cell instead, but this would be more
difficult to implement.
2016-09-12 20:56:05 +02:00
Enrico Forestieri
ca018b237a Update it.po 2016-09-12 08:18:36 +02:00
Juergen Spitzmueller
184a7d0f4a de.po: update for 2.2.2 2016-09-11 18:57:12 +02:00
Kornel Benko
dfb463517d Update sk.po 2016-09-11 18:37:43 +02:00
Richard Heck
8991ea48a4 Remerge strings. 2016-09-11 12:07:05 -04:00
Jean-Marc Lasgouttes
69f0efd797 Set vertical lines in math arrays correctly on Y axis
This is a fixup to commit 39329935. The two fixes are
* add forgotten offset `y' when drawing the line
* in order to have a continuous vertical line, draw from the offset of
  the previous row.

Fixes bug #10363.

(cherry-picked from a27ff136)
2016-09-09 09:56:44 +02:00
Georg Baum
1cbc3b6e54 Fix filter filter regex
Now the external material file dialog shows the file types defined in the
template again. Before this fix it did only show "All files (*)".
I don't know what the old syntax was supposed to do or whether it ever worked
with boost::regex, but with std::regex the new one is correct.
2016-09-08 20:54:40 +02:00
Georg Baum
7e37dc20eb Add xlsx format
We do already have docx, but xlsx was missing. This is a separate format
because of the MIME type. nd because some users might need converters which
can only handle one format. Now the spreadsheet template does not hide the
fact anymore that it can deal with xlsx files as well.
2016-09-08 20:54:40 +02:00
Juergen Spitzmueller
a7d0a7369d Update docs wrt Separator 2016-09-08 10:33:12 +02:00
Uwe Stöhr
b30dd8efac French UserGuide.lyx: remove unnecessary language change 2016-09-08 00:49:56 +02:00
Juergen Spitzmueller
03f889a46c Remove duplicate context menu item
Fixes: #10368
2016-09-07 09:53:26 +02:00
Juergen Spitzmueller
b14d9186bb Amend 7d52d37662
\@ifundefined is an If-Then-ELSE construct.
2016-09-04 17:43:51 +02:00
Juergen Spitzmueller
7d52d37662 Fix for recent luatex versions. 2016-09-04 17:35:11 +02:00
Uwe Stöhr
e8b41bf1fd French doc files: re-add missing \origin tag
otherwise LyX cannot be compiled here
2016-09-03 22:17:52 +02:00
Juergen Spitzmueller
899cd15848 Remove English traces in IPA inset that make XeTeX fail. 2016-09-03 17:01:29 +02:00
Enrico Forestieri
874bbe2166 If available, use qtchooser to select correct Qt tools
When the Qt directory is specified by --with-qt-dir, the tools
are only searched for in the corresponding bin subdir and their
full path is retained, so that it is not necessary modifying the
PATH and PKG_CONFIG_PATH environment variables to select a custom
Qt version. Otherwise, if qtchooser is detected early in the PATH,
the generic names are attempted with proper arguments to select the
desired Qt version (e.g., "moc -qt=qt5" if --enable-qt5 is specified).
Failing all of the above, the generic names with and without proper
suffixes (either -qt4 or -qt5) are checked in the PATH.
Eventually, a check is performed and a warning is issued if the
selected tools do not match the chosen Qt libraries.
2016-08-29 22:35:09 +02:00
Jean-Marc Lasgouttes
36d0e3032d Amend 3e432ec631
It failed in the case where a selection already existed (the anchor would be wrongly reset).

(cherry picked from commit 68d825fed8)
2016-08-29 18:25:56 +02:00
Jean-Marc Lasgouttes
9e44cd672a Simplify menus when there is only one caption type
This removes the submenu indirection in Insert and the type changer in
contextual menu. Interestingly, the code was there, but it did not
work at all.

(cherry picked from commit e7a33cacf1
and made compatible with C++98)
2016-08-29 13:49:50 +02:00
Jean-Marc Lasgouttes
bbeb3773a1 Do not set layout for no-op paragraph break
When breaking paragraph in an empty top-level paragraph, nothing
happens on screen but yet there is an undo step because the layout is
reset to what it already was.

Avoid this case.

Fixes bug #10089.
(cherry picked from commit 2ad52918da)
2016-08-29 12:09:53 +02:00
Guillaume Munch
1dc8278fef LaTeX highlighter: make at a letter in the user preamble
Syntax highlighting now provides the appropriate cue that the user preamble is
inside \makeatletter…\makeatother.

(cherry picked from commit 10f6eb2e7e)
2016-08-28 02:38:02 +01:00
Guillaume Munch
8a42918b2f status.22x. 2016-08-28 01:51:16 +01:00
Guillaume Munch
c8381f7873 LyXToolBox: a QToolBox with minimum size management
The purpose of this custom widget is to allow the use of a QToolBox in a limited
area. The stock QToolBox does not provide a minimum size hint that depends on
the size of the pages; it assumes that there is enough room.  This subclass sets
the minimal size of the QToolbox. Without this, the size of the QToolbox is only
determined by values in the ui file and therefore causes portability and
localisation issues. Note that the computation of the minimum size hint depends
on the minimum size hints of the page widgets. Therefore page widgets must have
a layout with layoutSizeContraint = SetMinimumSize or similar.

(cherry picked from commits 576cb5df77
                            7e9d0a938b
                            efbc297b95)
2016-08-28 01:43:46 +01:00
Guillaume Munch
2da2f6c00c Basic implementation of QSignalBlocker for qt4
(cherry picked from commit bc8eb059db)
2016-08-26 20:42:52 +01:00
Guillaume Munch
49ce94f636 Fix "scroll here" feature of scrollbar (#10311)
Prevent setRange() from causing a recursive call to scrollTo(). Reduces three
calls of scrollTo() to one call for all scrolling functions of the scroll bar
(e.g. clicking on the arrow, dragging, or clicking somewhere on the scrollbar).

(cherry picked from commit 4d7b912ca1)
2016-08-26 20:41:08 +01:00
Kornel Benko
8acc5b85c4 Update sk.po 2016-08-26 21:13:20 +02:00
Juergen Spitzmueller
52d750cb87 de.po: fix meta data 2016-08-26 19:18:19 +02:00
Juergen Spitzmueller
a3674c9adc de.po: update 2016-08-26 19:13:50 +02:00
Juergen Spitzmueller
010284dbe5 Implement proper dialog titles in InsetParamsDialogs
Fixes: #10329
2016-08-26 18:51:01 +02:00
Juergen Spitzmueller
c0f5c1dd9f Fix \@ifundefined check for covexample(s)
Fixes: #10340
2016-08-26 18:45:23 +02:00
Kornel Benko
c680c83adf Update sk.po 2016-08-26 13:00:10 +02:00
Jean-Marc Lasgouttes
a957879839 Move correctly the end of proof marker when row is large
This was a regression from 2.1.x in LtR mode, and it never worked correctly in RtL mode.

Fixes bug #10344.

(cherry picked from commit 07c7dae367)
2016-08-24 12:04:19 +02:00
Jean-Marc Lasgouttes
3e432ec631 Reset anchor before selecting with S-button1
(cherry picked from commit b583fb26e8)
2016-08-24 11:59:01 +02:00