Commit Graph

38311 Commits

Author SHA1 Message Date
Juergen Spitzmueller
057af45060 Use separate BibInfo for child
This is used when the file is compiled standalone

Fixes: #11083
(cherry picked from commit 1c623ffe8f)
2018-03-26 13:27:15 +02:00
Richard Kimberly Heck
0209f2faff Fix problem with conversion of stmary10.lyx. 2018-03-19 18:44:29 -04:00
Juergen Spitzmueller
27a871499f Change lookup order for enchant-2 vs. enchant (prefer the former)
(cherry picked from commit 1ae537c543)
2018-03-19 17:45:00 +01:00
Juergen Spitzmueller
2d647cb0e6 check for enchant-2
Fixes rest of #10986

(cherry picked from commit 71977769ec)
2018-03-19 17:34:06 +01:00
Jean-Marc Lasgouttes
b3cca8086d Add support for enchant 2.x
As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.

(cherry picked from commit 63a4e82874)
2018-03-19 17:33:17 +01:00
Jean-Marc Lasgouttes
0ddb1435c9 Fix default spellchecker when only Enchant is available
This has been annoying me for ages.

(cherry picked from commit ae473b012a)
2018-03-19 16:51:45 +01:00
Joel A. Kulesza
3abfd72b27 Update to accept automake 1.16
(cherry picked from commit 61db4af82d)
2018-03-19 16:44:24 +01:00
Richard Heck
25a176ee71 Update contributor. 2018-03-18 11:34:58 -04:00
Richard Heck
d9f7453671 Set branch tag, per Jürgen's suggestion. 2018-03-18 11:34:58 -04:00
Juergen Spitzmueller
0de3f4e2c5 fi.po: correct authorship 2018-03-18 10:17:24 +01:00
Juergen Spitzmueller
43e5594dfd Merge branch '2.3.x' of git.lyx.org:lyx into 2.3.x 2018-03-18 10:00:21 +01:00
Juergen Spitzmueller
935aba005f ru.po: update from Yuriy 2018-03-18 09:59:48 +01:00
jpc
b22c640919 Update fr.po 2018-03-18 09:55:53 +01:00
Juergen Spitzmueller
d706a2a291 de.po 2018-03-18 08:36:28 +01:00
Kornel Benko
cf3d3d7d33 Update sk.po 2018-03-17 21:24:38 +01:00
Richard Heck
1bf690a411 Remerge strings. 2018-03-17 15:55:19 -04:00
Juergen Spitzmueller
a0ae2ccd35 Reset buffer language only if we have something to reset.
Fixes: #11063
(cherry picked from commit 599b1222f7)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
be80912d1c syntax.default: add missing *
Fixes: #10501
(cherry picked from commit 23766fdd59)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
c52baa7d81 tex2lyx: handle whitespace in table column declaration.
Fixes: #10804
(cherry picked from commit 247e1a223d)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
d797986d3f Amend 4ec133e1ae
Didn't see this test is already there.
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
d71e3404fe Braces need to be escaped as well on LATEXIFY
part of #9563
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
db3768da89 Fix the implementation of new libertine package
Needs to go to 2.3.1-staging

(cherry picked from commit 905516fd70)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
5fb2566572 Do not force singlebyte encoding for listings with XeTeX/LuaTeX.
Fixes: #11056
(cherry picked from commit cbf2a329c9)
2018-03-17 15:44:05 -04:00
Uwe Stöhr
880fd9aa81 status.23x: mention the updated po files in 2.3.x branch
- also sync an entry with status.22x
2018-03-17 15:44:05 -04:00
Richard Heck
9deedd5c18 Simplify code a bit. 2018-03-17 15:44:05 -04:00
Richard Heck
96ec4d645b Use pythonic syntax, as suggested by José.
(cherry picked from commit cec9edd34b)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
11d20e132a tex2lyx: do not force default bibliography style if none is set
Some classes provide a \bibliographystyle, so we must not output any
\bibliographystyle if none is set in the TeX file.

Fixes: #10673
(cherry picked from commit ed331bedd6)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
b35fb98335 Fix list of viewable formats in view/update menu.
Also fix list in (currently unused) Export toolbar button.

Fixes: #11044
(cherry picked from commit ab6bd5e319)
2018-03-17 15:44:05 -04:00
Jean-Marc Lasgouttes
f599e90d92 Kill macro mode when using LFUN_ESCAPE
Add a `cancel' boolean to macroModeClose() that just removes all trace
of what has been entered instead of finalizing it.

When entering a macro in mathed, let LFUN_ESCAPE invoke
macroModeClose(true). The new semantics of LFUN_ESCAPE in mathed is
thus to abort the input of a macro name.

Fixes bug #9251.

(cherry picked from commit 9296344b9a)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
148a053fbc escape label in included listings
Also use docstring rather than string.

Fixes part of #10544

(cherry picked from commit 0bf8865122)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
0e08b4e4f5 Adapt to new ChkTeX return values.
As of v. 1.7.7, chktex has four exit values. Only consider the program
failed with EXIT_FAILURE (1). This is backwards compatible to chktex
up to v. 1.7.5 and later patched versions included in TeXLive, where
there was the distinction EXIT_FAILURE (program failed) and EXIT_SUCCESS
(program successfully run, with or without something to report).

Note that ChkTeX v. 1.7.5 and 1.7.6 vanilla (as included in MikTeX) also
returned EXITE_FAILURE if ChkTeX found something to report.

We do not, and never did, support this case.

Fixes: #9989 (after ChkTeX 1.7.7. is released).
(cherry picked from commit 0d806799aa)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
8bf7e691bc Do not use English, but the context language, when pasting from math
Fixes: #2596
(cherry picked from commit 92990adc23)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
6da7b92c36 update status 2018-03-17 15:44:05 -04:00
Richard Heck
2508e7aacc Status file for 2.3.1 2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
6c64844d3b Do not use English, but the context language, when pasting from LaTeX
Fixes: #9199
(cherry picked from commit e85704020b)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
c285b4f8c3 amend 71fea63326
(cherry picked from commit be4d49ebd1)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
c0a1893008 Disable CheckTeX while buffer is processed
Since CheckTeX itself processes the tex file, a synchronous run with
a TeX process can lead to all sorts of conflicts, including crashes.

Fixes: #7434.
(cherry picked from commit 71fea63326)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
b408222f76 Disable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed
I am rather irritated we didn't do this already, since synchronous runs
with BUFFER_VIEW or BUFFER_UPDATE leads to all sorts of problems,
including crashes.

Fixes the crash in #8338 (but not the bug itself).

(cherry picked from commit 1437ae3f9c)
2018-03-17 15:44:05 -04:00
Pavel Sanda
9f3da3e616 Fix sideset hints, part of bug #11015. 2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
cd51b9cca1 Re-add method to get a temporary file name without persistent QTemporaryFile object
This is needed for cases where the temp file has to be manually removed
at some point (e.g., if temp files are used as conversion target, and
the initial file only serves as a placeholder), since QTemporaryFile
objects cannot be manually removed at least on Windows (they are always
kept open internally even after close()). See
​http://lists.qt-project.org/pipermail/interest/2013-August/008352.html

In order to avoid race conditions due to duplicate names (the issue why
the old method was removed), we record all used temp file names.

Fixes: #9139
(cherry picked from commit 9e2928be68)
2018-03-17 15:44:05 -04:00
Richard Heck
7d98aebfd9 Remerge strings. 2018-03-17 15:40:17 -04:00
Uwe Stöhr
df3065124d ar.po: some updates from Hatim 2018-03-09 05:48:31 +01:00
Uwe Stöhr
ee51a86758 Arabic doc files: corrections by Hatim 2018-03-05 22:33:56 +01:00
Uwe Stöhr
276f1c90a0 ru.po: updates by Yuriy 2018-03-05 20:42:18 +01:00
Uwe Stöhr
5e03834223 ar.po: update from Hatim 2018-03-04 21:26:01 +01:00
Uwe Stöhr
0dee0920e0 Revert "configure.py: fix bug #11053"
This reverts commit 151ee98e3b.
2018-03-02 20:13:22 +01:00
Uwe Stöhr
151ee98e3b configure.py: fix bug #11053
- add quotes around the path to the python executable
2018-03-02 20:12:41 +01:00
Uwe Stöhr
1137a6a7fe po files: remerge the po files that are currently not actively maintained
- for the case that a new translator will show up he can start with this.
2018-03-01 19:34:36 +01:00
Uwe Stöhr
a54ab3ff33 ru.po: updates from Yuriy 2018-03-01 19:32:55 +01:00
Uwe Stöhr
68421b02d5 ar.po: update from Hatim 2018-03-01 19:19:42 +01:00