Juergen Spitzmueller
0018e4ec96
Fix indentation
2019-07-11 11:32:59 +02:00
Juergen Spitzmueller
04bd57a86a
Factor out test for bidi package (= XeTeX + polyglossia)
2019-07-11 10:31:10 +02:00
Juergen Spitzmueller
1d0929b5d9
Proper number ordering with luabidi
...
As opposed to bidi (XeTeX), luabidi (LuaTeX) does no automatic reordering,
so we need to use \\LR{}
2019-07-11 09:54:28 +02:00
Juergen Spitzmueller
d3aa102260
Brackets reversion differs in luabidi (LuaTeX) from bidi (XeTeX)
...
This amends [195f62ac93/lyxgit]
2019-07-11 08:25:18 +02:00
Juergen Spitzmueller
6f8db58778
LuaTeX (luabidi) does not swap table columns
...
This amends [21b347a2f8485/lyxgit].
2019-07-10 22:57:34 +02:00
Juergen Spitzmueller
a95339c6e1
LuaTeX (luabidi) does not correct directions
...
This amends [9d20bc4e98/lyxgit].
2019-07-10 19:10:16 +02:00
Juergen Spitzmueller
b6f0c1de3d
Fix right and left layout alignment (in workarea) with RTL
...
Fixes : #11606
2019-07-10 14:50:08 +02:00
Jean-Marc Lasgouttes
7ad7698692
Fixup c349472d: Remove unused private field
...
Spotted by coverity.
2019-07-09 15:15:07 +02:00
Juergen Spitzmueller
623f7b4795
Truncate long citation label in the middle rather than the end.
...
Fixes : #10769
2019-07-09 14:48:11 +02:00
Juergen Spitzmueller
52fffee7f2
Preserve star on citation style change via menu
...
Fixes : #11439
2019-07-09 10:47:18 +02:00
Juergen Spitzmueller
13b6632228
Add TextClass option BibInToc
...
Fixes #1889
2019-07-08 15:40:17 +02:00
Richard Kimberly Heck
d96a9aa37f
Fix bug #10091 .
...
See the discussion. The decision was just to keep re-trying for a
bit, since the lock preventing us from removing the old file seems
to clear after a bit.
2019-07-07 13:13:52 -04:00
Juergen Spitzmueller
d876319e85
\detokenize paths containing ~
2019-07-07 10:32:06 +02:00
Richard Kimberly Heck
f17e868e65
Whitespace
2019-07-06 15:19:51 -04:00
Richard Kimberly Heck
45f0fae10c
Fix some nullptr warnings.
2019-07-06 15:16:02 -04:00
Juergen Spitzmueller
bf6a7dc38f
Fix nomencl generation with LuaTeX
...
Fixes : #11571
2019-07-06 15:15:06 +02:00
Jean-Marc Lasgouttes
5a22b2e391
Fixup 17571104: really avoid empty numbers in toc
...
For some reason, I missed this one when trying to fix the bug.
Fixes bug #11423 .
2019-07-01 12:05:31 +02:00
Jean-Marc Lasgouttes
455f10eae7
Revert "backing store"
...
This is not ready yet.
This reverts commit 1a2b1a3bfad7ce48e2a025d3a3dab7103fd0039c.
2019-07-01 10:38:16 +02:00
Juergen Spitzmueller
6c7c6e580f
tex2lyx: add general TODO item
2019-06-30 16:14:24 +02:00
Juergen Spitzmueller
bda3b6d07e
[2.3 cand.] Fix import of custom float definitions
...
Candidate for stable
2019-06-30 11:13:20 +02:00
Juergen Spitzmueller
63492d4efa
Cleanup TODO
2019-06-30 10:58:49 +02:00
Jean-Marc Lasgouttes
e485102ef2
For python 3 require at least 3.5
...
This handles configure.ac and os::python23. What remains to be done is cmake.
2019-06-28 00:06:28 +02:00
Juergen Spitzmueller
cd5c406d9a
More localization fixes
2019-06-26 12:25:53 +02:00
Juergen Spitzmueller
c703f76fe1
legacy > traditional
2019-06-26 11:14:59 +02:00
Juergen Spitzmueller
a62c4252ab
Flag GUI strings for translation
...
Still room for improvement
2019-06-26 11:04:56 +02:00
Juergen Spitzmueller
0a8294d426
Improve encoding GUI string
2019-06-26 08:57:05 +02:00
Jean-Marc Lasgouttes
1a2b1a3bfa
backing store
2019-06-25 12:39:32 +02:00
Isaac Oscar Gariano
4c587fb9da
Make autocorrect have priority.
...
Place autocorrect at the top of `InsetMathNest::interpretChar`,
ensuring that any autocorrections that trigger on special characters
(such as '^' or '~') work. In particular, you can now make an
autocorrection from "<~" to "\preceq"!
2019-06-25 12:27:28 +02:00
Juergen Spitzmueller
5cef539e8b
update tex2lyx tests
2019-06-23 13:05:38 +02:00
Juergen Spitzmueller
94654b3586
Linguistics: add support for Discourse Representation Structures
...
File format change
2019-06-23 12:59:56 +02:00
Juergen Spitzmueller
57788b8719
Fix tooltip
2019-06-22 08:35:14 +02:00
Günter Milde
71a57e0f4d
Preserve \inputencoding value when switching to non-TeX fonts.
...
With non-TeX fonts, the \inputencoding setting is overridden
by "utf8-plain" (pass-through). Keeping the old value allows
switching back to TeX fonts without the need to (re)set
the input encoding.
Also change back the GUI name of the "auto-legacy" setting
(cf. #11115 ).
2019-06-21 12:40:41 +02:00
Jean-Marc Lasgouttes
938463b5d6
Fixup 3dc54d4a: fix string encoding issues with Qt4
...
The culprit here is the constructor QString(QByteArray const &): in
Qt4, it would interpret the byte array as latin1, and in Qt5 as utf8.
Therefore it is safer to use explicitly QString::fromUtf8 instead of
this constructor.
Several places where additionally simplified, in order to avoid some
extra conversions.
2019-06-20 11:27:15 +02:00
Jean-Marc Lasgouttes
3a7142d9bf
Fix compilation with Qt4
2019-06-20 10:48:59 +02:00
Günter Milde
5fe6bc616c
Fix order of Unicode encodings in Settings combobox.
...
Ensure the default encoding "utf8" comes always first,
followed by other common variants.
The encodings were sorted based on the GUI name which leads to
the default setting moving from the top position in some localizations.
2019-06-19 21:09:16 +02:00
Günter Milde
53500242f9
Harmonize input encoding selection widgets.
...
See #11115 .
2019-06-18 15:43:34 +02:00
Jean-Marc Lasgouttes
5249eaaa60
Use <cstdint> instead of <boost/cstdint.hpp>
...
This is mandated by C++11.
2019-06-17 16:19:31 +02:00
Jean-Marc Lasgouttes
fbe0caa483
Do not use BOOST_CURRENT_FUNCTION
...
There is no need to use that, since __func__ is standard in C++11.
Anyway, this code is unused unless one defines USE__func__ to something.
2019-06-17 15:57:03 +02:00
Jean-Marc Lasgouttes
2b1515a936
Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE
...
This makes code more uniform. This is typically something that is done
at end of cycle to limit backport issues later.
2019-06-14 17:05:49 +02:00
Jean-Marc Lasgouttes
f12e796999
Revert "Rename LM_TC_* to FONT_STYLE_*"
...
Got it wrong, revert for now.
This reverts commit 67215833a174bfb1db8a259f61ed57ae67e10655.
2019-06-14 17:05:00 +02:00
Jean-Marc Lasgouttes
67215833a1
Rename LM_TC_* to FONT_STYLE_*
...
This makes code more uniform. This is typically something that is done
at end of cycle to limit backport issues later.
2019-06-14 16:42:02 +02:00
Jean-Marc Lasgouttes
134f3aedaf
Avoid warnings with gcc 9
...
The warning about unneeded std::move can be solved by conditioning on
C++14 mode.
The warnings about deprecated copy is harder, so we disable it for
now. We will be able to fix our part, but Qt triggers it a lot too.
2019-06-12 18:49:29 +02:00
Jean-Marc Lasgouttes
5173f22024
Fix some warnings found by the -Wall options of autoconf and automake.
...
There are still warnings to address. For now, they not enabled by default.
2019-06-12 18:00:18 +02:00
Jean-Marc Lasgouttes
22f599250e
Remove support for gcc 4.6
...
This was kept so long because of Ubuntu 12.04 LTS, but having a
not-really-c++11 compiler is not nice.
2019-06-12 15:03:18 +02:00
Günter Milde
c627507b3f
Revert 051de65db and implement alternative fix for remainder of #11115 .
2019-06-12 11:48:47 +02:00
Richard Kimberly Heck
acd0f2fc78
Do not show both 'hide' and 'close' options on tabs for child buffers.
...
We can only close it (as opposed to hide it) if it's not a child.
Part of #11331 .
2019-06-10 16:47:16 -04:00
Enrico Forestieri
1cb2a443b5
Fix bug #11595
...
Avoid an endless loop when in the definition of a macro the macro
itself is used in the LyX representation part.
2019-06-09 22:36:59 +02:00
José Matos
ad96fd835b
Divide the python detection in three functions, with a clear delegation of responsibilities
...
python23_call: determines if the binary given is appropriate and adds the necessary calling options
find_python_binary: get a list of candidates and choose the right one using python23_call
python: returns the name of the python interpreter that can be found on PATH, using find_python_binary
2019-06-08 12:49:30 +01:00
José Matos
02ee471d9d
Move python related functions together to make it easy to read the code.
2019-06-08 12:22:26 +01:00
José Matos
35c299f86d
Remove alternative operator representations (and,or) and improve comments for python binary detection.
2019-06-08 09:15:03 +01:00