Commit Graph

38268 Commits

Author SHA1 Message Date
Guillaume MM
225d47f298 Fix preview with a nested preview not being shown (#10795)
Regression at db581113.

(cherry picked from commit 94c65074e0)
2018-01-06 02:58:36 -05:00
Uwe Stöhr
6cdd0b9fe0 ru.po: fix msgmerge warnings 2018-01-05 21:52:37 +01:00
Juergen Spitzmueller
bd9c62d018 Minor re-ordering of the Insert menu
(cherry picked from commit 016393a0dd)
2018-01-05 11:10:52 +01:00
Richard Heck
b92ddb0362 Fix bug #10951.
The Buffer member for the remembered definition_ was not being set.

(cherry picked from commit f130f7713f)
2018-01-04 15:26:57 -05:00
Juergen Spitzmueller
cf97ec4a21 Do note attempt to nest more than possible.
(cherry picked from commit 32efb91438)
2018-01-04 18:40:26 +01:00
Juergen Spitzmueller
7668633b94 Properly handle color none.
Fixes: #5870
(cherry picked from commit 9a1eeb8cbb)
2018-01-04 08:23:04 +01:00
jpc
e8b8cd2e78 Insert correct shortcut for environment split 2018-01-03 18:37:12 +01:00
jpc
afd1a24923 New beamer environments strings and documentation 2018-01-03 18:21:13 +01:00
Juergen Spitzmueller
d3ca12a5c2 Disable useless environment-split function at the core.
(cherry picked from commit f965d23633)
2018-01-03 13:19:24 +01:00
Juergen Spitzmueller
1b2dd66f78 Use the command-alternatives sequence as defined in menus.bind
Otherwise, the shortcut is not displayed in the menu.

(cherry picked from commit 7d2764fb9e)
2018-01-03 11:00:47 +01:00
Uwe Stöhr
964906110a ar.po: updates from Hatim 2018-01-02 15:25:00 +01:00
Günter Milde
72a6cd4bbc Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
2018-01-02 12:55:07 +01:00
Juergen Spitzmueller
a32b764157 Update layout format 2018-01-02 11:54:58 +01:00
Günter Milde
20f3b828f9 Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.

Also add space around en dash in examples.
2018-01-01 22:52:08 +01:00
Günter Milde
39beb08bf8 Fix lyx2lyx conversion of dashes.
Update for UserGuide and de/UserGuide will follow.
2018-01-01 22:47:56 +01:00
Enrico Forestieri
f4ef992966 Update it.po 2018-01-01 19:14:48 +01:00
Uwe Stöhr
d97d8247de ru.po: updates from Yuri 2018-01-01 16:48:24 +01:00
Uwe Stöhr
fc459e2a86 Russian doc files: new and updated translations by Yuri 2018-01-01 16:47:58 +01:00
Kornel Benko
afcbc92a53 Update sk.po 2018-01-01 14:23:12 +01:00
Juergen Spitzmueller
b6427099a3 de.po: update 2018-01-01 13:46:34 +01:00
Juergen Spitzmueller
d60fa7f501 Prepend "Insert " in the context menu for environment separators.
(cherry picked from commit 8f86feb260)
2018-01-01 13:42:38 +01:00
Juergen Spitzmueller
6c5beb86fd de.po: update 2018-01-01 12:53:39 +01:00
Juergen Spitzmueller
2385278a9e LFUNs.lyx: update. 2018-01-01 12:38:55 +01:00
Juergen Spitzmueller
d1bb465f65 User Guide: document the environment-split changes (forgot this one) 2018-01-01 12:37:03 +01:00
Juergen Spitzmueller
c3779cec2d beamer.lyx: document the environment-split changes. 2018-01-01 12:36:44 +01:00
Juergen Spitzmueller
b194ac7ac5 UserGuide: document the environment-split changes. 2018-01-01 12:36:18 +01:00
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