38227 Commits

Author SHA1 Message Date
Juergen Spitzmueller
9912e7ab8c Braces need to be escaped as well on LATEXIFY
part of #9563
2018-03-06 18:54:27 +01:00
Juergen Spitzmueller
4ec133e1ae Fix the implementation of new libertine package
Needs to go to 2.3.1-staging

(cherry picked from commit 905516fd706a90148a458f9936c565cbe5fcfcff)
2018-03-06 18:30:47 +01:00
Juergen Spitzmueller
fb6e4776a0 Do not force singlebyte encoding for listings with XeTeX/LuaTeX.
Fixes: #11056
(cherry picked from commit cbf2a329c94fcd531dbee41d64cf199a3ee6bb4b)
2018-03-06 08:00:16 +01:00
Uwe Stöhr
7a474a8e8b status.23x: mention the updated po files in 2.3.x branch
- also sync an entry with status.22x
2018-03-03 12:46:04 +01:00
Richard Heck
490506c45f Simplify code a bit. 2018-03-02 23:12:11 -05:00
Richard Heck
175ba16966 Use pythonic syntax, as suggested by José.
(cherry picked from commit cec9edd34b9a43beadefd55d1755209e1acff191)
2018-03-02 23:05:46 -05:00
Juergen Spitzmueller
46c48a5a3d 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 ed331bedd6f7c412cbcf552c58da5d7b62846339)
2018-02-24 08:34:11 +01:00
Juergen Spitzmueller
8dde86d2de Fix list of viewable formats in view/update menu.
Also fix list in (currently unused) Export toolbar button.

Fixes: #11044
(cherry picked from commit ab6bd5e3190e61fa46eb2fd057cdf7f71faf3f38)
2018-02-22 10:42:34 +01:00
Jean-Marc Lasgouttes
17bf8fd74c 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 9296344b9a26191a2092d175a51e357ecc35145d)
2018-02-21 11:21:41 +01:00
Juergen Spitzmueller
bea9086c85 escape label in included listings
Also use docstring rather than string.

Fixes part of #10544

(cherry picked from commit 0bf88651229bddc34b9856c7fa025245aa4246b8)
2018-02-20 10:30:21 +01:00
Juergen Spitzmueller
c8ea98fb2a 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 0d806799aaef65b12a9b75e8c49c2613c68d5ac2)
2018-02-18 09:22:32 +01:00
Juergen Spitzmueller
2c0d681b21 Do not use English, but the context language, when pasting from math
Fixes: #2596
(cherry picked from commit 92990adc236b19277a80c82ffa0580f5d1555bb0)
2018-02-16 18:22:01 +01:00
Juergen Spitzmueller
2483723d06 update status 2018-02-16 18:12:47 +01:00
Richard Heck
e009bbd115 Status file for 2.3.1 2018-02-16 12:02:57 -05:00
Juergen Spitzmueller
0e57e3e3f5 Do not use English, but the context language, when pasting from LaTeX
Fixes: #9199
(cherry picked from commit e85704020ba613594a38e6f016ca7905c8f84c94)
2018-02-16 17:06:46 +01:00
Juergen Spitzmueller
262bb7e2ce amend 71fea633266
(cherry picked from commit be4d49ebd107cb4b91844a555302a6052457c483)
2018-02-16 17:00:44 +01:00
Juergen Spitzmueller
482de36876 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 71fea6332667e1a9fe99c38624e4dcaf1129d6c5)
2018-02-16 17:00:11 +01:00
Juergen Spitzmueller
a655ef69a8 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 1437ae3f9cf78ffd5c639cb4e70a0b1fba9f600e)
2018-02-16 16:57:34 +01:00
Pavel Sanda
6193b98de8 Fix sideset hints, part of bug #11015. 2018-02-15 10:58:12 +01:00
Juergen Spitzmueller
388a284688 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 9e2928be68992161a54287d153e1e9431e30bb4c)
2018-02-14 17:24:37 +01:00
Uwe Stöhr
8be744b827 RELEASE-NOTES: correct sorting 2018-02-14 14:51:57 +01:00
Uwe Stöhr
14e80adffc UserGuide.lyx: document the removal of the pixmap cache for all languages 2018-02-14 14:50:08 +01:00
Uwe Stöhr
181b24e7dc RELEASE-NOTES: Greek is not dropped 2018-02-14 14:48:22 +01:00
Pavel Sanda
a6fc4a02ff * RELEASE-NOTES 2018-02-14 11:11:28 +01:00
Jean-Marc Lasgouttes
e11c8ba81b Disable and hide the pixmap cache feature 2018-02-14 10:12:11 +01:00
Juergen Spitzmueller
370ad4d704 Updated Basque localization by Iñaki Larrañaga Murgoitio 2018-02-13 18:34:41 +01:00
Richard Heck
50fc1bbc6d Also fix chapter layout in tufte-book.
(cherry picked from commit 5f1b32f8c5770c316f3fcb107b0ad88f910e3617)
2018-02-12 23:35:04 -05:00
Richard Heck
0dfca93139 Fix crash when citeengine is unknown.
(cherry picked from commit 5ee3396459602e0982234cab064c5c960af7e4fc)
2018-02-12 23:31:42 -05:00
Pavel Sanda
ceee86a824 Fixing painting regression - chapter top spacing.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203685.html
2018-02-13 00:10:57 +01:00
Pavel Sanda
2554a7dffb * layouttranslations - eu & sv changes. 2018-02-12 21:22:03 +01:00
Uwe Stöhr
d1ac023b50 Merge branch '2.3.x' of git.lyx.org:lyx into 2.3.x 2018-02-12 19:04:25 +01:00
Uwe Stöhr
90060459be ru.po: some corrections by Yuriy 2018-02-12 19:04:08 +01:00
Juergen Spitzmueller
db1c123f45 Fix autotools build after AGUTeX.lyx reocation 2018-02-12 18:57:45 +01:00
Uwe Stöhr
08fd1a8131 Customization.lyx: distribute all tracked changes 2018-02-12 18:51:48 +01:00
Juergen Spitzmueller
ab2bd29629 Updated Basque localization by Iñaki Larrañaga Murgoitio 2018-02-12 16:42:08 +01:00
jpc
92adecb6e0 Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and aguplus)
Edit LaTeXConfig.lyx accordingly
       Move teaplates/AGUTeX.lyx to teaplates/obsolete
2018-02-12 11:30:18 +01:00
Juergen Spitzmueller
6c455707fe biblatex-natbib.citeengine: Remove erroneous blank
(cherry picked from commit b0ecfebad438358b09d239bd634b2ebac7985221)
2018-02-11 16:45:11 +01:00
Uwe Stöhr
037be1556d ru.po: is now 100% translated
big respect to Yuriy!
2018-02-10 19:34:29 +01:00
Juergen Spitzmueller
fe414fcdd8 Fix race condition in processFuncRequestQueue
The issue here was that the element was only removed from the queue
after the func request was processed, but within that process, other
function could access the queue, so the queue could even be empty
when this function finally wanted to remove the item.

Fixes: #10406.
(cherry picked from commit dadec50a18d92d24d42e1ccf7474f07a2a66b5b4)
2018-02-10 18:32:03 +01:00
Enrico Forestieri
e43bf58223 Avoid an infinite loop
When pasting "\big" without any following delimiter, avoid
processing the same token again and again. For unknown reasons,
the delim docstring turns out to always be not empty: even when
it simply contains a '0' (no delimiter follows), its length is 1.

Fixes bug #11027.

(cherry picked from commit 8e8b3f610495493f4f1bff3f4a0ff48f4eab4539)
2018-02-10 10:36:48 +01:00
Juergen Spitzmueller
2d923e4243 Fix child document regex in scanLogFile
Several problems:
* The regex failed at names such as 1_text_2_text.tex
  (returned "2_text.tex)
* The regex failed at names such as 12_text.tex
  (returned "2_text.tex)
* Masters with digits in the name (2018_text.tex) were
  tracked as their own children

(cherry picked from commit 398e026250f6d7d1687bdf04a8a27a61946d088f)
2018-02-10 07:59:30 +01:00
Juergen Spitzmueller
04e995e807 tex2lyx: normalize bib and bst paths
Fixes: #7637
(cherry picked from commit 3cc98a9bf6ed506d04b502863d6424d36cb778b5)
2018-02-09 18:57:53 +01:00
Juergen Spitzmueller
af91405786 Consider class-provided citation engines
Do not attempt to load, nor allow to set, a different engine in this
case.

Fixes: #11022
(cherry picked from commit 2f6ada6644614df5f402efc7cbc1d27911b45376)
2018-02-09 09:50:43 +01:00
Juergen Spitzmueller
5549d3033f Reset cur.pit() when pasting into tables.
The number of paragraphs can change here, so pit() can become invalid.

Fixes: #9983
(cherry picked from commit 6e4e0869006aa4c225162164aaa14a70d041facf)
2018-02-09 09:37:51 +01:00
Juergen Spitzmueller
78911c7379 Revert "Mark follow-up paragraphs in a paragraph group as nested."
This reverts commit 70d580fea7c0d3e914a56b9a52b401b9f948e78d.
2018-02-08 17:09:15 +01:00
Juergen Spitzmueller
0d82fd392f Do not show "Abstract" label in KOMA classes
This is not output by those classes (per default).

(cherry picked from commit 9b23b49d41a17054050e9b98d8cc9bf642026448)
2018-02-06 18:41:13 +01:00
Juergen Spitzmueller
4285438558 Add missing connection.
This activates the OK/Apply when a biblatex style file is changed
manually

(cherry picked from commit 6236bcb653f36336b62d4c48769b2d60ec13a0dc)
2018-02-06 17:58:13 +01:00
Uwe Stöhr
56f25c6f36 ru.po: translations from Yuriy 2018-02-04 23:40:37 +01:00
Uwe Stöhr
7d333c17a5 po files: remerge again some files
I have seen that line numbers changed in the meantime, therefore help the translators whose files are not yet 100% translated a bit
2018-02-04 15:33:50 +01:00
Uwe Stöhr
a812955d82 ar.po: updates from Hatim 2018-02-04 15:23:36 +01:00