Jean-Marc Lasgouttes
dea245d540
Draw display math numbering outside of inset
...
This is the first (easiest) step in fixing bugs 10668 and 11333.
The numbering is now drawn outside of the insets, which solves the
alignment problems and make editing easier.
What does not work yet:
- long labels will overwrite equations. To fix this, we need to
implement the same algorithm as LaTeX and put labels on their own
row when required.
- previews may need to be adapted similarly to fit the whole screen width
2019-07-14 23:27:44 +02:00
Jean-Marc Lasgouttes
e6b54ea4d2
Fix assertion in caret display code
...
It is not a good idea to call caretPosAndHeight when the caret is in a
paragraph that is not in cached metrics. This can happen when not
using "cursor follows scrollbar".
This commit refactor things a bit so that testing is done in
BufferView.
This bug is not in 2.3.x.
2019-07-14 23:27:44 +02:00
Pavel Sanda
321923444a
nl reviewed by Niko.
2019-07-14 23:22:38 +02:00
Pavel Sanda
b8c5aabc0f
layouttranslation reviewed for nl by Niko
2019-07-14 23:21:02 +02:00
Kornel Benko
97a099b137
Add sans serif font "cantarell"
2019-07-14 21:44:58 +02:00
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
Juergen Spitzmueller
2ceeb9e0b3
Handle remaining TeX fonts wrt MoreOptions
...
Closes #11615
2019-07-14 15:08:01 +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
Kornel Benko
d1a678563e
Update sk.po
2019-07-14 13:58:46 +02:00
Juergen Spitzmueller
ef39cde0ad
latexfonts: add comment.
2019-07-14 12:08:53 +02:00
Juergen Spitzmueller
dc4a015fba
Remove debug code
2019-07-14 12:04:53 +02:00
Juergen Spitzmueller
56a281e531
de.po
2019-07-14 12:03:32 +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
996079de49
Remove cantarellMS font
...
This seems to have slipped in by accident at [6ca8238cb8a/lyxgit]
The necessary file format change etc. was not done.
2019-07-14 11:31:43 +02:00
Kornel Benko
0362ec022b
Cmake build: Correct display cmake options
...
The change allows to display options whose string-length
is less than 10 characters.
The previous setting truncated the string to 4 chars,
which is too few for a string like e.g. "NATIVE".
2019-07-14 11:12:55 +02:00
Kornel Benko
c6df155f6c
Correct description
...
The call to cmake creates new CMakeCache.txt in the build directory.
But this is bad, if we only want to see available options.
2019-07-14 10:46:51 +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
Kornel Benko
e69a6661a5
Cmake build: Remove overwritten option
2019-07-13 23:56:38 +02:00
Kornel Benko
23d3417fb1
Adapt INSTALL.cmake to qt5 and lyx2.4
2019-07-13 23:55:38 +02:00
Jean-Marc Lasgouttes
9234516731
Update some files
2019-07-13 21:11:46 +02:00
Jean-Marc Lasgouttes
8bbc660a25
Let automake create the tar.xz archive
...
We require automake 1.14 these days, and it can do it by itself.
2019-07-13 19:01:30 +02:00
Juergen Spitzmueller
655cb7073d
Bring back accidentally removed option
2019-07-13 18:24:07 +02:00
Juergen Spitzmueller
27e0279e24
tex2lyx: extend support for some osf fonts.
2019-07-13 17:46:43 +02:00
Juergen Spitzmueller
89f9bab0f0
Properly handle osf in noto and adobe source fonts
2019-07-13 17:34:55 +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
04c2594c82
Support MoreOptions for IBM Plex, Noto, and Adobe Source fonts
2019-07-13 14:55:59 +02:00
Juergen Spitzmueller
0738ff08ba
Consider CompleteFont with MoreOptions
2019-07-13 14:55:07 +02:00
Juergen Spitzmueller
e8d8716735
recode file in utf8
2019-07-13 12:08:41 +02:00
Juergen Spitzmueller
9e3e09d786
Russian doc updates by Yuriy
2019-07-13 09:50:48 +02:00
Juergen Spitzmueller
5a01eab81e
nl.po: update by Niko
2019-07-13 09:46:33 +02:00
Juergen Spitzmueller
2d26def78a
Remove broken information about loaded hyphenation patterns and add FIXME
2019-07-13 09:42:04 +02:00
Juergen Spitzmueller
88460b2398
Minor doc updates.
2019-07-13 08:51:14 +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
c09a693d24
Update release notes, correct comment.
2019-07-12 20:30:22 +02:00
Juergen Spitzmueller
e787a50ab7
de.po
2019-07-12 16:00:42 +02:00
Kornel Benko
177f69a75e
Update sk.po
2019-07-12 13:58:27 +02:00
Kornel Benko
eec7c4b654
Simplify regexes for combinations XeTeX + TeX fonts
2019-07-12 13:16:53 +02:00
Günter Milde
7bbf19c64a
Update unicodesymbols test to include Capital Schwa.
2019-07-12 12:56:20 +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
Pavel Sanda
2e6163f075
Update lib/layouttranslation after nl update
2019-07-12 11:48:17 +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