Commit Graph

38285 Commits

Author SHA1 Message Date
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
Kornel Benko
39a12a5cc9 Update sk.po 2018-02-27 09:25:30 +01:00
Scott Kostyshak
944dbdb56c configure.ac: development version is 2.3.1dev 2018-02-26 11:53:16 -05:00
Scott Kostyshak
f6b788f706 Back to development 2018-02-24 19:16:37 -05:00
Scott Kostyshak
4d5e926f0a This is LyX 2.3.0 2018-02-24 19:14:56 -05:00
Scott Kostyshak
8050fccca8 Remerge strings for 2.3.0 2018-02-24 19:14:55 -05:00
Pavel Sanda
411860ed26 sv.po reviewed by Jim 2018-02-24 14:13:44 +01:00
Pavel Sanda
7f783a68ce * cs.po - fix shortcut conflict 2018-02-24 01:19:41 +01:00
Pavel Sanda
4955d6abc8 * cs.po typo 2018-02-24 01:15:29 +01:00
Pavel Sanda
b9700d3b02 * cs.po 2018-02-24 01:14:39 +01:00
Uwe Stöhr
b5dc4856f7 ar.po: correct year 2018-02-23 22:37:02 +01:00
Scott Kostyshak
0601533c3c RELEASE-NOTES: document some new and changed LFUNs 2018-02-23 13:55:26 -05:00
Scott Kostyshak
b12156255d Copy caveats from RELEASE-NOTES to UPGRADING 2018-02-22 23:24:50 -05:00
Scott Kostyshak
88f4cb4999 Update ANNOUNCE for 2.3.0 2018-02-22 21:46:58 -05:00
Scott Kostyshak
8fa5b001d8 README.localization: layouttranslations1 on Linux
The target layouttranslations1 also works when using CMake on Linux.

(cherry picked from commit ee5f05bd1c)
2018-02-22 15:17:51 -05:00
Pavel Sanda
06563275d7 * cs.po 2018-02-22 21:02:05 +01:00
Scott Kostyshak
78e666b478 ANNOUNCE: put that the primary FTP is in France
See discussion here:

https://www.mail-archive.com/search?l=mid&q=CAAGOGw8xabSxFadY31vT2ZLo%3DmN3o2XD2%3DkcdxKQgY8rgN_nZA%40mail.gmail.com
2018-02-22 13:35:42 -05:00
Uwe Stöhr
1aa4f965c5 Arabic Shortcuts.lyx: fixes by Hatim 2018-02-22 15:35:22 +01:00
Juergen Spitzmueller
d11d44026e Fix convert_separator routine with ancient LyX files. 2018-02-22 10:25:18 +01:00
Uwe Stöhr
11cd38d24a ru.po: corrections by Yuriy 2018-02-21 19:19:01 +01:00
Uwe Stöhr
7ddb5fb3e5 Arabic Shortcuts.lyx: translation update from Hatim 2018-02-21 19:18:40 +01:00
jpc
e6aaecd3f5 More French translations of the UserGuide 2018-02-21 16:47:06 +01:00
Pavel Sanda
9aa280993f small doc glitches 2018-02-21 14:44:56 +01:00
Pavel Sanda
1e863d35e1 whitespace 2018-02-21 14:34:46 +01:00
jpc
dbf33acb22 Better French translation for strike/cross out 2018-02-21 14:08:14 +01:00
jpc
bbc0609a5c More translations for fr/UserGuire.lyx 2018-02-21 11:50:56 +01:00
Juergen Spitzmueller
90ca393c7f Localize items in view/update popup icons
Fixes: #11040
(cherry picked from commit 578cf77f6f)
2018-02-21 09:40:01 +01:00