Jean-Marc Lasgouttes
ed856c9f4d
Make some InsetMathGrid members private
...
Also remove the trailing underscore of XXXInfo members, since they are
not private in essence.
No intended behavior change.
2019-07-14 17:45:03 +02:00
Juergen Spitzmueller
2e72ed3e2c
tex2lyx: support all MoreOpts
2019-07-14 15:29:18 +02:00
Jean-Marc Lasgouttes
4cc4663262
Replace MathData::kerning_ member by a function
...
This allows to make kerning depend on the BufferView? This is not
useful right now, but may become useful for multimonotor setting with
different dpi.
2019-07-14 14:45:36 +02:00
Juergen Spitzmueller
dc4a015fba
Remove debug code
2019-07-14 12:04:53 +02:00
Juergen Spitzmueller
3c7ede3e9b
update tex2lyx tests
2019-07-14 11:45:11 +02:00
Juergen Spitzmueller
dcf06fdb22
Split osf options to families
...
Nowadays we support sf and tt fonts with osf options, so this needs to
be selectable separately.
File format change.
2019-07-14 11:41:36 +02:00
Juergen Spitzmueller
c4e90cec86
tex2lyx: lineno support
2019-07-14 09:41:17 +02:00
Juergen Spitzmueller
509551cae0
More osf (texfont) fixes
2019-07-14 09:09:46 +02:00
Juergen Spitzmueller
27e0279e24
tex2lyx: extend support for some osf fonts.
2019-07-13 17:46:43 +02:00
Jean-Marc Lasgouttes
575761c665
Use backing store also with wayland platform
...
Like with macOS, the Wayland compositor seems to require a
backingstore when doing partial updates like we do.
This extends the mechanism that has been introduced for macOS. This
has to be done at run time, not compile time.
2019-07-13 16:23:57 +02:00
Juergen Spitzmueller
db638018d9
tex2lyx support for MoreOptions in IBM Plex and Noto, support Adobe Source fonts at all
2019-07-13 15:44:52 +02:00
Juergen Spitzmueller
e0578e4d61
More MoreOpts fixes
2019-07-13 15:33:20 +02:00
Juergen Spitzmueller
0738ff08ba
Consider CompleteFont with MoreOptions
2019-07-13 14:55:07 +02:00
Juergen Spitzmueller
003d675c2f
Use \babelfonts only if babel >= 3.15 is available.
2019-07-13 08:42:42 +02:00
Jean-Marc Lasgouttes
5e33e4fc2c
Catch improbable exception
...
We know that the exception is correct, but coverity does not.
It would be much better to check that at compile time...
2019-07-13 00:24:21 +02:00
Jean-Marc Lasgouttes
ca217fbfaa
Check regex_match result when parsing cvslog
...
Spotted by coverity.
2019-07-13 00:10:32 +02:00
Günter Milde
130c744069
Drop support for XeTeX + TeX fonts + inputenc utf8.
...
LyX follows LaTeX in dropping support for this combination
(it only worked by tricking "inputenc.sty").
There is no known case where this combination is required or helpfull.
For power users with special needs, XeTeX + TeX fonts is still
available after setting the input encoding to "ascii" or "utf8-plain".
See also #10600 .
2019-07-12 12:56:20 +02:00
Richard Kimberly Heck
6960bab65c
Fix bug #11612 .
...
Register verbatim includes with the outliner.
2019-07-11 16:21:38 -04:00
Richard Kimberly Heck
83afe8aa19
Shorten labels.
2019-07-11 16:21:38 -04:00
Juergen Spitzmueller
41a705b055
update tex2lyx tests
2019-07-11 20:34:47 +02:00
Juergen Spitzmueller
c3c2815092
Implement support for font options
...
This revives a patch by Uwe and extends it. Additional options to font
packages/fontspec can now be entered in Document Settings.
This is principally also true for TeX fonts, if the new TeXFont tag
MoreOptions is set. For the time being, I have only done this for
MinionPro, as a model and prove of concept.
Note that adding more TeXFonts requires a file format change,
respectively, and changes to tex2lyx (in the same way as I've done for
MinionPro).
This addresses #8226
2019-07-11 20:28:34 +02:00
Juergen Spitzmueller
9ca2f90bf5
Update tex2lyx tests
2019-07-11 13:24:56 +02:00
Juergen Spitzmueller
cb5bd87e9c
Add support for \babelfont
...
This is a higher-level (non-TeX) font interface of babel that draws on,
but is supposed to be used rather than, fontspec with babel and XeTeX/
LuaTeX.
File format change.
Addresses: #11614
2019-07-11 13:21:32 +02:00
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