Commit Graph

39300 Commits

Author SHA1 Message Date
Enrico Forestieri
112616a97b Fix bug #10499
The array environment has to be explicitly parsed in math mode.

(cherry picked from commit 1a286c7910)
2019-06-25 21:33:29 +02:00
Enrico Forestieri
ad8f574277 Fix bug #10498
Use the selection as the argument of a macro also when the
macro has only optional arguments.
2019-06-25 21:27:33 +02:00
Enrico Forestieri
eb66e68ed5 Add submenu to math context menu
The "Rows & Columns" optional submenu is more easily accessible in
the math context menu rather having to navigate to the "Edit" menu.
All possible accelerators are already taken, so use the space bar.

(cherry picked from commit ff7eb0eb38)
2019-06-25 21:21:47 +02:00
Enrico Forestieri
11fd6fe43d Fix bug #11595
Avoid an endless loop when in the definition of a macro the macro
itself is used in the LyX representation part.

(cherry picked from commit 1cb2a443b5)
2019-06-22 21:48:16 +02:00
Juergen Spitzmueller
2729589b4f Add Niko Strijbol to the credits
(cherry picked from commit 722ae1556d)
2019-06-21 12:20:34 +02:00
Juergen Spitzmueller
053876e7d7 Dutch l7n is back with a big splash
Patch by Niko Strijbol
2019-06-21 12:02:21 +02:00
Scott Kostyshak
06606b659b Tab binding: outline-in before depth-increment
Same for BackTab. The outline-in was originally (31398779)
introduced to the command-sequence at the end. Probably it was
placed at the end to be conservative (i.e., so that it would only
change behavior where there was a no-op before).

This fixes #11576.

(cherry picked from commit 9ab9f2b1ac)
2019-06-19 13:55:48 -04:00
Juergen Spitzmueller
4cf56383ca tex2lyx: improve module support
The current heuristics only considered modules with styles that defined
a searched command in their preamble, and only for commands/environments
that were defined in the document's preamble. This limited the module
support drastically.

The new heuristics also checks for commands coming from packages. If the
command is not (re-)defined in the document preamble, it checks modules
that provide a style with a matching LaTeXName, checks for their
requirements and matches those with the packages loaded by the document.

If no module provides a searched style, but we found modules that load
packages that are loaded in the imported tex file, and if those packages
are not auto-loaded by LyX anyway, we also load this module.

fixes: #11259, part of #8229
(cherry picked from commit 0b54650f0e)
2019-06-19 17:23:26 +02:00
Juergen Spitzmueller
68045958ee Rename a variable
This is in preparation for a backport. See #11259
2019-06-19 17:21:00 +02:00
Juergen Spitzmueller
019a4fa124 Prevent multiplication of preamble code
Fixes rest of #8229

(cherry picked from commit f51fa38123)
2019-06-19 17:13:16 +02:00
Juergen Spitzmueller
f8eb3b9742 Fix toprule with booktabs/longtable and captions
(cherry picked from commit fe589d5622)
2019-06-19 09:45:20 +02:00
Juergen Spitzmueller
8941ec4b42 update buffer after fixBiblio
fixes: #2743
(cherry picked from commit 0a4686d8d3)
2019-06-19 09:23:52 +02:00
Juergen Spitzmueller
86f999097e reset bibitem counter in the second updateBuffer() routine as well
Fixes: #8499
(cherry picked from commit 9370135c3e)
2019-06-19 09:20:25 +02:00
Juergen Spitzmueller
8556d65279 Handle orphaned bibitems
Fixes #7160

(cherry picked from commit 96e4001d01)
2019-06-19 09:12:23 +02:00
Richard Kimberly Heck
c614d81e8d Add blank status file for easier resets. 2019-06-18 18:14:58 -04:00
Richard Kimberly Heck
4e28ebea31 Open for 2.3.4. 2019-06-18 18:14:22 -04:00
Richard Kimberly Heck
64539c8e71 Notes. 2019-06-18 17:51:09 -04:00
Richard Kimberly Heck
446769203f Use data from src/lyxwinres.rc to generate lyx.coff for the Windows
build.

Ideally, this would be done by cmake itself (as it is now done by
autotools). But I do not know how to do that.
2019-06-18 17:50:19 -04:00
Kornel Benko
ac72404309 Add missing test-tool-files to the list of provided data
With this, an interested user which compiles in cmake environment,
is able to run some export tests.
2019-06-12 08:55:17 +02:00
Richard Kimberly Heck
ea6f39aafc Remerge strings. 2019-06-10 15:11:22 -04:00
Richard Kimberly Heck
939e5c6466 Prepare for 2.3.3. 2019-06-10 15:10:56 -04:00
jpc
35be3d3890 Review of a French doc file 2019-06-09 18:48:48 +02:00
Jean-Marc Lasgouttes
d031e67fd0 Fixup 7686af1ba8: japanese-cjk got forgotten 2019-06-08 09:45:15 +02:00
Jean-Marc Lasgouttes
bc54a55491 Cell in delimiter inset should not be tight
Fixes bug #11337.

(cherry picked from commit 4da19ef833)
2019-05-25 14:15:38 +02:00
Jean-Marc Lasgouttes
49255788ea Always paint text decoration when painting inset.
Fixes bug #11402.

(cherry picked from commit 621c908f85)
2019-05-24 10:36:13 +02:00
Jean-Marc Lasgouttes
bbe7b84f3b Reset change bar information when breaking row
This is a much less invasive version of da2696cc+da2696cc, which
reduces the risk to a minimum. There may be other Row members that
need resetting, we'll see that later.

Fixes bug #11396.
2019-05-24 10:21:43 +02:00
Kornel Benko
7d8a8eec8c Update sk.po 2019-05-21 07:23:01 +02:00
Enrico Forestieri
a5f5985d28 Fix bug #11528
The code was not doing what said in the description.

(cherry picked from commit 45e0ce2372)
2019-05-20 22:07:59 +02:00
Juergen Spitzmueller
b90638ccc3 Update Swedish localisation 2019-05-19 14:05:26 +02:00
Richard Kimberly Heck
91cfd0b535 Update Brazilian Portuguese translation. 2019-05-15 22:43:27 -04:00
Jean-Marc Lasgouttes
7686af1ba8 Some Asian langagues allow to wrap text at any position
This is hardcoded for now for simplicity and to allow backporting to
2.3.

The behavior is unchanged for all languages but Chinese, Japanese or
Korean.

Fixes part of bug #10299.

(cherry picked from commit 26c2811cc4)
2019-05-15 18:26:08 +02:00
Jean-Marc Lasgouttes
23505a8a91 Newly created inline math is not numbered
The bad initialisation created phantom entries in equation ToC

Fixes bug #11423.

(cherry picked from commit 175711046d)
2019-05-13 10:05:33 +02:00
Juergen Spitzmueller
f6c0c1ee35 Enable optional \cite* arguments in biblatex-natbib
(cherry picked from commit 6a4199ed23)
2019-05-13 09:25:31 +02:00
Richard Kimberly Heck
679f136eb6 Update Russian translation. 2019-05-11 16:30:37 -04:00
Richard Kimberly Heck
243767ac03 Add Ukranian translation, and update gmo files. 2019-05-10 20:07:10 -04:00
jpc
4f1ea733ce Typos in fr.po and two manuals pointed out by a user on lyx-docs 2019-05-08 11:22:25 +02:00
jpc
fcc5140b63 Last check of fr.po before 2.3.3 2019-05-06 23:31:38 +02:00
Pavel Sanda
2b380fff7e * cs.po - finalize 2019-05-06 15:07:25 +02:00
Richard Kimberly Heck
7a73affdf6 Remove inactive email 2019-05-05 14:11:47 -04:00
Richard Kimberly Heck
1bce20fca6 Add script to extract emails.
Also, remove email for Zoran Filipovic, since it is dead.
2019-05-05 14:10:49 -04:00
Juergen Spitzmueller
bf4390cf06 bg.po: another update 2019-04-26 10:29:19 +02:00
Enrico Forestieri
91153633d1 Update it.po 2019-04-26 09:49:57 +02:00
Richard Kimberly Heck
e79db2fe1f Remerge strings. 2019-04-25 23:31:04 -04:00
Juergen Spitzmueller
b50949b472 Only write btUnits if we have a bibliography
Fixes: #11562
(cherry picked from commit b77094a497)
2019-04-24 07:32:07 +02:00
Kornel Benko
264dfede0e Amend 43c31f4e: Revive Bulgarian localization 2019-04-23 14:30:26 +02:00
Juergen Spitzmueller
921096070b hu.po: fix backslash escaping 2019-04-23 13:39:54 +02:00
Juergen Spitzmueller
43c31f4e0e Revive Bulgarian localization 2019-04-23 13:33:04 +02:00
Juergen Spitzmueller
4104cd13a5 Fix renaming of citation refs after changing bibitem key
Fixes: #6494
(cherry picked from commit faefee3dc6)
2019-04-22 09:18:29 +02:00
Kornel Benko
c041412f08 Update + casing for sk.po 2019-04-21 13:26:52 +02:00
Juergen Spitzmueller
6f8673bcee Pass proper text to TeXOnePar in Paragrapgh::Private::validate
This fixes InPreamble layouts in insets (#11557)

(cherry picked from commit 4f884fc92d)
2019-04-21 08:03:22 +02:00