]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Mon, 15 Jul 2019 11:29:09 +0000 (13:29 +0200)]
Add support for the Fira family of fonts
This is a beautiful and feature rich sans and monospaced font family
designed by Erik Spiekermann and reminiscent to his famous (and
commercial) FF Meta.
Kornel Benko [Mon, 15 Jul 2019 11:21:24 +0000 (13:21 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Mon, 15 Jul 2019 11:02:05 +0000 (13:02 +0200)]
Fixup
ee0bd36a86 : only clear margins when needed
The old code would erase text around inline math.
Related to #11333.
Juergen Spitzmueller [Mon, 15 Jul 2019 10:51:09 +0000 (12:51 +0200)]
Remove another unneeded AltFont
Juergen Spitzmueller [Mon, 15 Jul 2019 10:49:29 +0000 (12:49 +0200)]
Put font series in parentheses
This is how we've done it until these new fonts have been added
Kornel Benko [Mon, 15 Jul 2019 10:43:32 +0000 (12:43 +0200)]
Add support for cantarell font
Juergen Spitzmueller [Mon, 15 Jul 2019 08:34:19 +0000 (10:34 +0200)]
lyx2lyx: Support conversion of fonts from preamble with extra opts
Juergen Spitzmueller [Mon, 15 Jul 2019 06:25:06 +0000 (08:25 +0200)]
Add missing FORMAT entry
Juergen Spitzmueller [Mon, 15 Jul 2019 06:23:42 +0000 (08:23 +0200)]
Update tex2lyx tests
Juergen Spitzmueller [Mon, 15 Jul 2019 06:10:47 +0000 (08:10 +0200)]
tex2lyx: support cantarell font
Juergen Spitzmueller [Mon, 15 Jul 2019 06:02:11 +0000 (08:02 +0200)]
Remove unneeded AltFont
Also Remove "Sans Serif" specifier from font name, as this s obvious
from the GUI (and there is no other Cantarell type anyway).
Juergen Spitzmueller [Mon, 15 Jul 2019 05:11:43 +0000 (07:11 +0200)]
Fix cantarell conversion
Juergen Spitzmueller [Mon, 15 Jul 2019 05:11:27 +0000 (07:11 +0200)]
Fix copy/paste error
Juergen Spitzmueller [Mon, 15 Jul 2019 04:34:28 +0000 (06:34 +0200)]
Fix cantarell reversion
conversion still needs work
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 23:17:28 +0000 (01:17 +0200)]
When pasting several cells in mathed, take cursor position in account
Related to bug #11390
Pavel Sanda [Sun, 14 Jul 2019 22:35:26 +0000 (00:35 +0200)]
layouttranslation: this part slipped in without intention
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 19:04:45 +0000 (21:04 +0200)]
Add empty rows to grid insets when numbers are too wide
This is done to ensure that numbering never overlaps equations. The
result can be different according to the bufferview, which is why
RowInfo::offset is now a std:map.
Remaing issues (how bad are theese ?):
- the numbering is considered too large when it overlaps the inset
rect, whereas one could consider the width if the current row
instead.
- previews may need to be adapted similarly to fit the whole screen width
Jean-Marc Lasgouttes [Tue, 2 Apr 2019 09:05:19 +0000 (11:05 +0200)]
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
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 21:20:29 +0000 (23:20 +0200)]
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.
Pavel Sanda [Sun, 14 Jul 2019 21:22:38 +0000 (23:22 +0200)]
nl reviewed by Niko.
Pavel Sanda [Sun, 14 Jul 2019 21:21:02 +0000 (23:21 +0200)]
layouttranslation reviewed for nl by Niko
Kornel Benko [Sun, 14 Jul 2019 19:44:58 +0000 (21:44 +0200)]
Add sans serif font "cantarell"
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 15:18:56 +0000 (17:18 +0200)]
Make some InsetMathGrid members private
Also remove the trailing underscore of XXXInfo members, since they are
not private in essence.
No intended behavior change.
Juergen Spitzmueller [Sun, 14 Jul 2019 13:29:18 +0000 (15:29 +0200)]
tex2lyx: support all MoreOpts
Juergen Spitzmueller [Sun, 14 Jul 2019 13:08:01 +0000 (15:08 +0200)]
Handle remaining TeX fonts wrt MoreOptions
Closes #11615
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 12:42:37 +0000 (14:42 +0200)]
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.
Kornel Benko [Sun, 14 Jul 2019 11:58:46 +0000 (13:58 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 14 Jul 2019 10:08:53 +0000 (12:08 +0200)]
latexfonts: add comment.
Juergen Spitzmueller [Sun, 14 Jul 2019 10:04:53 +0000 (12:04 +0200)]
Remove debug code
Juergen Spitzmueller [Sun, 14 Jul 2019 10:03:32 +0000 (12:03 +0200)]
de.po
Juergen Spitzmueller [Sun, 14 Jul 2019 09:45:11 +0000 (11:45 +0200)]
update tex2lyx tests
Juergen Spitzmueller [Sun, 14 Jul 2019 09:41:36 +0000 (11:41 +0200)]
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.
Juergen Spitzmueller [Sun, 14 Jul 2019 09:31:43 +0000 (11:31 +0200)]
Remove cantarellMS font
This seems to have slipped in by accident at [
6ca8238cb8a /lyxgit]
The necessary file format change etc. was not done.
Kornel Benko [Sun, 14 Jul 2019 09:12:55 +0000 (11:12 +0200)]
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".
Kornel Benko [Sun, 14 Jul 2019 08:46:51 +0000 (10:46 +0200)]
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.
Juergen Spitzmueller [Sun, 14 Jul 2019 07:41:17 +0000 (09:41 +0200)]
tex2lyx: lineno support
Juergen Spitzmueller [Sun, 14 Jul 2019 07:09:46 +0000 (09:09 +0200)]
More osf (texfont) fixes
Kornel Benko [Sat, 13 Jul 2019 21:56:38 +0000 (23:56 +0200)]
Cmake build: Remove overwritten option
Kornel Benko [Sat, 13 Jul 2019 21:55:38 +0000 (23:55 +0200)]
Adapt INSTALL.cmake to qt5 and lyx2.4
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 19:11:46 +0000 (21:11 +0200)]
Update some files
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 16:58:36 +0000 (18:58 +0200)]
Let automake create the tar.xz archive
We require automake 1.14 these days, and it can do it by itself.
Juergen Spitzmueller [Sat, 13 Jul 2019 16:24:07 +0000 (18:24 +0200)]
Bring back accidentally removed option
Juergen Spitzmueller [Sat, 13 Jul 2019 15:46:43 +0000 (17:46 +0200)]
tex2lyx: extend support for some osf fonts.
Juergen Spitzmueller [Sat, 13 Jul 2019 15:03:25 +0000 (17:03 +0200)]
Properly handle osf in noto and adobe source fonts
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 14:21:37 +0000 (16:21 +0200)]
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.
Juergen Spitzmueller [Sat, 13 Jul 2019 13:44:52 +0000 (15:44 +0200)]
tex2lyx support for MoreOptions in IBM Plex and Noto, support Adobe Source fonts at all
Juergen Spitzmueller [Sat, 13 Jul 2019 13:33:20 +0000 (15:33 +0200)]
More MoreOpts fixes
Juergen Spitzmueller [Sat, 13 Jul 2019 12:55:59 +0000 (14:55 +0200)]
Support MoreOptions for IBM Plex, Noto, and Adobe Source fonts
Juergen Spitzmueller [Sat, 13 Jul 2019 12:55:07 +0000 (14:55 +0200)]
Consider CompleteFont with MoreOptions
Juergen Spitzmueller [Sat, 13 Jul 2019 10:08:41 +0000 (12:08 +0200)]
recode file in utf8
Juergen Spitzmueller [Sat, 13 Jul 2019 07:50:48 +0000 (09:50 +0200)]
Russian doc updates by Yuriy
Juergen Spitzmueller [Sat, 13 Jul 2019 07:46:33 +0000 (09:46 +0200)]
nl.po: update by Niko
Juergen Spitzmueller [Sat, 13 Jul 2019 07:42:04 +0000 (09:42 +0200)]
Remove broken information about loaded hyphenation patterns and add FIXME
Juergen Spitzmueller [Sat, 13 Jul 2019 06:51:14 +0000 (08:51 +0200)]
Minor doc updates.
Juergen Spitzmueller [Sat, 13 Jul 2019 06:42:42 +0000 (08:42 +0200)]
Use \babelfonts only if babel >= 3.15 is available.
Jean-Marc Lasgouttes [Fri, 12 Jul 2019 22:24:21 +0000 (00:24 +0200)]
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...
Jean-Marc Lasgouttes [Fri, 12 Jul 2019 22:10:32 +0000 (00:10 +0200)]
Check regex_match result when parsing cvslog
Spotted by coverity.
Günter Milde [Fri, 12 Jul 2019 18:30:22 +0000 (20:30 +0200)]
Update release notes, correct comment.
Juergen Spitzmueller [Fri, 12 Jul 2019 14:00:42 +0000 (16:00 +0200)]
de.po
Kornel Benko [Fri, 12 Jul 2019 11:58:27 +0000 (13:58 +0200)]
Update sk.po
Kornel Benko [Fri, 12 Jul 2019 11:16:53 +0000 (13:16 +0200)]
Simplify regexes for combinations XeTeX + TeX fonts
Günter Milde [Fri, 12 Jul 2019 10:55:08 +0000 (12:55 +0200)]
Update unicodesymbols test to include Capital Schwa.
Günter Milde [Fri, 12 Jul 2019 10:46:50 +0000 (12:46 +0200)]
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.
Pavel Sanda [Fri, 12 Jul 2019 09:48:17 +0000 (11:48 +0200)]
Update lib/layouttranslation after nl update
Richard Kimberly Heck [Thu, 11 Jul 2019 20:20:10 +0000 (16:20 -0400)]
Fix bug #11612.
Register verbatim includes with the outliner.
Richard Kimberly Heck [Thu, 11 Jul 2019 20:20:03 +0000 (16:20 -0400)]
Shorten labels.
Juergen Spitzmueller [Thu, 11 Jul 2019 18:34:47 +0000 (20:34 +0200)]
update tex2lyx tests
Juergen Spitzmueller [Thu, 11 Jul 2019 18:28:34 +0000 (20:28 +0200)]
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
Juergen Spitzmueller [Thu, 11 Jul 2019 11:24:56 +0000 (13:24 +0200)]
Update tex2lyx tests
Juergen Spitzmueller [Thu, 11 Jul 2019 11:21:32 +0000 (13:21 +0200)]
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
Juergen Spitzmueller [Thu, 11 Jul 2019 09:32:59 +0000 (11:32 +0200)]
Fix indentation
Juergen Spitzmueller [Thu, 11 Jul 2019 08:31:10 +0000 (10:31 +0200)]
Factor out test for bidi package (= XeTeX + polyglossia)
Juergen Spitzmueller [Thu, 11 Jul 2019 07:54:28 +0000 (09:54 +0200)]
Proper number ordering with luabidi
As opposed to bidi (XeTeX), luabidi (LuaTeX) does no automatic reordering,
so we need to use \\LR{}
Juergen Spitzmueller [Thu, 11 Jul 2019 06:25:18 +0000 (08:25 +0200)]
Brackets reversion differs in luabidi (LuaTeX) from bidi (XeTeX)
This amends [
195f62ac93 /lyxgit]
Juergen Spitzmueller [Wed, 10 Jul 2019 20:57:34 +0000 (22:57 +0200)]
LuaTeX (luabidi) does not swap table columns
This amends [
21b347a2f8485 /lyxgit].
Juergen Spitzmueller [Wed, 10 Jul 2019 17:10:16 +0000 (19:10 +0200)]
LuaTeX (luabidi) does not correct directions
This amends [
9d20bc4e98 /lyxgit].
Juergen Spitzmueller [Wed, 10 Jul 2019 12:50:08 +0000 (14:50 +0200)]
Fix right and left layout alignment (in workarea) with RTL
Fixes: #11606
Juergen Spitzmueller [Tue, 9 Jul 2019 14:16:29 +0000 (16:16 +0200)]
Update Russian Tutorial
by Yuriy
Jean-Marc Lasgouttes [Tue, 9 Jul 2019 13:06:41 +0000 (15:06 +0200)]
Fixup
c349472d : Remove unused private field
Spotted by coverity.
Juergen Spitzmueller [Tue, 9 Jul 2019 12:48:11 +0000 (14:48 +0200)]
Truncate long citation label in the middle rather than the end.
Fixes: #10769
Juergen Spitzmueller [Tue, 9 Jul 2019 08:47:18 +0000 (10:47 +0200)]
Preserve star on citation style change via menu
Fixes: #11439
Juergen Spitzmueller [Mon, 8 Jul 2019 14:21:31 +0000 (16:21 +0200)]
Bump layout formats
Juergen Spitzmueller [Mon, 8 Jul 2019 13:40:17 +0000 (15:40 +0200)]
Add TextClass option BibInToc
Fixes #1889
Günter Milde [Sun, 7 Jul 2019 21:31:12 +0000 (23:31 +0200)]
lyx2lyx refactoring
Günter Milde [Sun, 7 Jul 2019 18:51:53 +0000 (20:51 +0200)]
Fix lyx2lyx.
Wrong number in the "revert" list,
Missing integer in "Provides" tag of local layout.
Günter Milde [Sun, 7 Jul 2019 18:37:12 +0000 (20:37 +0200)]
fix layout2layout with stdin/out for Py3.
sys.stdin and sys.stdout expect a Unicode string,
with bytes we must use sys.std(in|out).buffer.
Günter Milde [Thu, 4 Jul 2019 18:49:06 +0000 (20:49 +0200)]
Refactor lyx2lyx for speed and simplicity.
Günter Milde [Thu, 4 Jul 2019 18:38:02 +0000 (20:38 +0200)]
Add missing backslash escapes.
Günter Milde [Thu, 4 Jul 2019 18:37:31 +0000 (20:37 +0200)]
Minor ctest sample update.
Richard Kimberly Heck [Sun, 7 Jul 2019 17:13:52 +0000 (13:13 -0400)]
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.
Juergen Spitzmueller [Sun, 7 Jul 2019 08:32:06 +0000 (10:32 +0200)]
\detokenize paths containing ~
Richard Kimberly Heck [Sat, 6 Jul 2019 19:18:41 +0000 (15:18 -0400)]
Whitespace
Richard Kimberly Heck [Sat, 6 Jul 2019 19:05:16 +0000 (15:05 -0400)]
Fix some nullptr warnings.
Juergen Spitzmueller [Sat, 6 Jul 2019 13:46:02 +0000 (15:46 +0200)]
Dutch doc updates by Niko
Juergen Spitzmueller [Sat, 6 Jul 2019 13:15:06 +0000 (15:15 +0200)]
Fix nomencl generation with LuaTeX
Fixes: #11571
Kornel Benko [Fri, 5 Jul 2019 11:55:01 +0000 (13:55 +0200)]
Enable old style figures for noto fonts
Jean-Marc Lasgouttes [Mon, 1 Jul 2019 10:05:31 +0000 (12:05 +0200)]
Fixup
17571104 : really avoid empty numbers in toc
For some reason, I missed this one when trying to fix the bug.
Fixes bug #11423.
Jean-Marc Lasgouttes [Tue, 25 Jun 2019 14:03:35 +0000 (16:03 +0200)]
Revert "backing store"
This is not ready yet.
This reverts commit
1a2b1a3bfad7ce48e2a025d3a3dab7103fd0039c .
Juergen Spitzmueller [Sun, 30 Jun 2019 14:14:24 +0000 (16:14 +0200)]
tex2lyx: add general TODO item
Juergen Spitzmueller [Sun, 30 Jun 2019 09:13:20 +0000 (11:13 +0200)]
[2.3 cand.] Fix import of custom float definitions
Candidate for stable