Commit Graph

38142 Commits

Author SHA1 Message Date
Juergen Spitzmueller
92613ac63c Implement environment-split before and previous
Possibility to add an environment before the current one and to append
and environment from outside the nesting scope.

This commit includes all fixes that went in during testing these
functions in master. It also moves the menu items from Edit to Insert.
2018-01-01 12:34:39 +01:00
Juergen Spitzmueller
8ad7b0caea Add ignoresep option to layout lfun
This does not force the cursor in a separator paragraph to endpos.

This is needed for environment-split.
2018-01-01 12:31:31 +01:00
Juergen Spitzmueller
12bd7352fd Implement auto-nesting.
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).

This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.

This is a backport from master, including all fixes.
2018-01-01 12:30:34 +01:00
Juergen Spitzmueller
438b067b5a Properly implement IsTocCaption for Arguments in standard TOC
Fixes: #10631

Candidate for 2.3.x.

(cherry picked from commit 3a4b233dbd)
2017-12-30 11:02:49 +01:00
jpc
4f865d0f4d Unify translation of 'Nomenclature' in French
Second iteration following Jürgen's remarks
2017-12-29 18:35:49 +01:00
jpc
cbc26ee5d3 Unify the translation of 'Nomenclature' in French 2017-12-28 18:12:28 +01:00
Juergen Spitzmueller
196032f79f Fix footnotes in table with RevTeX4
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.

Also add missing outliner name.

(cherry picked from commit dfaa4e9466)
2017-12-28 10:07:56 +01:00
Juergen Spitzmueller
110422022f Tufte title is fragile
Candidate for 2.3.x.

(cherry picked from commit 994176e55b)
2017-12-27 10:54:24 +01:00
Kornel Benko
e13281a14d Update sk.po 2017-12-25 14:50:47 +01:00
Scott Kostyshak
5137bfa94b ctests: run URL tests at beginning
The URL tests can take a long time to complete. By running them at
the beginning, time can be saved when running the ctests in
parallel.

This saves around 10 minutes for me.

(cherry picked from commit c9817a4fb5)
2017-12-24 01:06:35 -05:00
Pavel Sanda
94b2cb288d sync layouttranslations with master 2017-12-24 05:04:00 +01:00
Pavel Sanda
c3d67bc6a4 Backport cs.po from master 2017-12-24 05:02:17 +01:00
Pavel Sanda
c11487d92a remerge cs.po 2017-12-24 05:01:25 +01:00
Jean-Marc Lasgouttes
546a6a2a31 Do not draw inactive math corners when they have mathbg color
By default, inactive math corners are invisible. In practice they are
annoying because they are visible when selecting text, and they can
also overwrite some parts of the equation.

The code in Inset::drawMarkers2, which is only used for maths, is
moved to InsetMathHull. Moreover, the inactive corners are not drawn
when they have the same color as the math background. A better way to
achieve this would be to set the color to transparent, but we do not
support this yet.

(cherry picked from commit 68614e9783)
2017-12-23 19:53:58 +01:00
Jean-Marc Lasgouttes
92f320ff4a Reintroduce the spacing around delimiters
This spacing was wrongly removed at 361bd53b as part of the
introduction of proper spacing between elements, but it only introduces
some breathing space around the delimiters. This will not be necessary
anymore when/if we use proper delimiters from the cmex10 font.

(cherry picked from commit 4cb5cc0c7d)
2017-12-23 19:48:06 +01:00
Jean-Marc Lasgouttes
87d291ee23 Handle properly undo groups in embedded work areas
When a buffer is in an embedded work area (adv. find&replace), it is
not found by BufferList:::exists(), and therefore the undo group
created in GuiApplication::dispatch and in the handling of
LFUN_COMMAND_SEQUENCE will not be closed.. Crashes can ensue, as
described in Ubuntu bug:
https://bugs.launchpad.net/bugs/1737429

The solution is to introduce BufferList::isInternal and act on it.

Fixes bug #10847.

(cherry picked from commit 8b107f0490)
2017-12-23 19:21:12 +01:00
Juergen Spitzmueller
9e9f4b3288 Title commands are fragile in memoir
(cherry picked from commit 7b4d227929)
2017-12-23 18:55:17 +01:00
jpc
0b06564ff0 Update fr.po 2017-12-22 11:28:18 +01:00
Kornel Benko
9e1e135704 Update sk.po 2017-12-21 06:12:44 +01:00
Juergen Spitzmueller
2b927cbc2e Fix typo.
This had the effect that for file dialogs supposed to use two buttons,
only the second one was displayed, while file dialogs supposed to use
one button did not have a button at all.

Candidate for 2.3.x and 2.2.x.

(cherry picked from commit 74607702a5)
2017-12-20 19:04:26 +01:00
Uwe Stöhr
8d3cda0445 revtex4-1.lyx: LyXify the document
- avoid unnecessary TeX code etc.
2017-12-19 15:07:29 +01:00
Scott Kostyshak
b40e58d641 ctests: invert tests for Arabic splash
The Arabic splash only compiles with XeTeX + system fonts.

(cherry picked from commit 291d2f1037)
2017-12-18 23:33:22 -05:00
Uwe Stöhr
63c1979401 xyfigure.png: update the screenshot 2017-12-19 01:51:06 +01:00
Uwe Stöhr
7bdf11d4f6 new Arabic splash.lyx from Hatim 2017-12-18 15:27:28 +01:00
Juergen Spitzmueller
63af581324 Do not rely on babel quotation macros for encodings other than [O]T1
Babel falls back to OT1 in these cases, which gives wrong output got the
guillemots

Fixes: #10947
(cherry picked from commit 64b94f81be)
2017-12-18 12:40:44 +01:00
Scott Kostyshak
c9041df51c ANNOUNCE: https a link 2017-12-17 21:09:55 -05:00
Scott Kostyshak
c6a7d7bc5a RELEASE-NOTES: macOS 10.8 is no longer supported
This change is because of using Qt 5.9.x.

For discussion, see:

  https://www.mail-archive.com/search?l=mid&q=7D26D5A2-86D4-4495-B225-5119C5CCCDA4%40gmx.net
2017-12-17 21:03:29 -05:00
Uwe Stöhr
789c038315 Russian Tutorial.lyx: translations from Yuriy 2017-12-18 01:39:37 +01:00
Uwe Stöhr
355b1ca57d UserGuide.lyx: distribute dash changes 2017-12-18 01:31:53 +01:00
Juergen Spitzmueller
09a2d4099d de.po: update 2017-12-17 19:32:44 +01:00
Juergen Spitzmueller
aa29910aa6 Adapt documentation.
(cherry picked from commit 5dca4abb09)
2017-12-17 19:27:31 +01:00
Juergen Spitzmueller
075306e1e6 Further modifications of the "Dashes and Linebreaks" section
(cherry picked from commit ad093160d8)
2017-12-17 19:27:05 +01:00
Juergen Spitzmueller
f337a55327 Amend d56a5447f3
LaTeX only breaks after dashes (even though unicode suggests optional
line breaks also before em dashes).

(cherry picked from commit 1371dbb240)
2017-12-17 19:25:54 +01:00
Juergen Spitzmueller
c527035b70 Consistent output of breakable/non-breakable dashes on all TeX engines.
Fixes: #10839
(cherry picked from commit d56a5447f3)
2017-12-17 19:24:46 +01:00
Kornel Benko
96ed0ea708 sk.po: Remerge strings with a shortcut from master 2017-12-17 07:18:53 +01:00
Uwe Stöhr
c10e3f87ac Russian splash.lyx: update from Yuriy 2017-12-17 03:51:08 +01:00
Uwe Stöhr
fc23deacd9 Russian doc files: finished review from Yuriy 2017-12-17 03:39:25 +01:00
Uwe Stöhr
acb34ac53f ru.po: remerge for Yuriy 2017-12-17 03:33:52 +01:00
Uwe Stöhr
41de012dcb de.po: translate a new string 2017-12-17 03:14:32 +01:00
Uwe Stöhr
0dc8044065 it.po: fix msgmerge warning
"it.po:33740: warning: internationalized messages should not contain the '\f' escape sequence"
Since this message is not used, it can be removed.
2017-12-17 03:12:18 +01:00
Uwe Stöhr
50c83973a6 Buffer.cpp: reference oasis in https link 2017-12-17 02:41:51 +01:00
Uwe Stöhr
e73164e25d tex2lyx: support to detect https:// links
- Preamble.cpp: use the occasion to backport JMarcs recent compiler warning fixe
2017-12-17 02:28:54 +01:00
Uwe Stöhr
998d39fa28 GuiPrintNomencl.h: fix bug #10819 also for 2.3.x 2017-12-17 02:01:49 +01:00
Uwe Stöhr
b32e719f82 splash.lyx: link https://www.lyx.org/Walkthrough
It is a good idea from Yuriy to link it, especially for the languages where we don't have other docs than the splash file.
2017-12-16 14:25:34 +01:00
Uwe Stöhr
3e5c607638 generate_contributions.py: review links
- use https if possible
- update links
- remove one nonexistent link
- use link to KDE's oxygen icons because these are licensed under the LGPL
2017-12-16 04:08:13 +01:00
Uwe Stöhr
b83252b12f doc, templates and example files: use https for links to lyx.org 2017-12-15 02:52:07 +01:00
Uwe Stöhr
3494fa5607 doc files: review of links
- correct dead links
- use https if possible
2017-12-15 02:30:32 +01:00
Uwe Stöhr
832b333cae UserGuide.lyx: review links
- update broken links
- use https if possible
- removed outdated section
- save LyXDocs.bib with JabRef 4
2017-12-14 18:49:11 +01:00
Uwe Stöhr
3c6fa867ee example files: use https links 2017-12-14 16:40:27 +01:00
Uwe Stöhr
a0130c343b Merge branch '2.3.x' of git.lyx.org:lyx into 2.3.x 2017-12-14 14:49:16 +01:00