Commit Graph

1380 Commits

Author SHA1 Message Date
Richard Kimberly Heck
5588c22e77 Python cleanup from Thibaut. 2020-05-08 13:31:05 -04:00
Richard Kimberly Heck
c37500050d More polishing of counter dialog. Thanks to Jürgen for help.
Also, remove the 'display value' option. We will move this to InsetInfo
at some point.
2020-05-02 20:33:03 -04:00
Richard Kimberly Heck
9a1b26a156 Format and reversion code for new counter inset. 2020-04-30 23:11:59 -04:00
Juergen Spitzmueller
07e8e4352f lyx_2_0.pyx_ add convert_includeall method
It's better to have that param explicitly in the document.
2020-03-15 09:32:02 +01:00
Juergen Spitzmueller
f4af191403 Introduce maintain unincluded children "mostly"
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.

File format change.
2020-03-13 15:46:35 +01:00
Günter Milde
91bdcbbb82 Refactor lyx2lyx code.
Use helper functions for shorter, self-documenting code.

Drop optional arguments that equal the default value.

Remove hard TABs and trailing whitespace.
2020-03-05 00:24:08 +01:00
Juergen Spitzmueller
bbc6ea4a5f Implement change tracking of column/row addition/deletion
Fixes #8469

File format change
2020-01-11 16:17:04 +01:00
Juergen Spitzmueller
c77999a5f3 Add buffer param to opt-out fragile content movement
Fixes #11714

File format change
2020-01-10 10:21:09 +01:00
Juergen Spitzmueller
dc4823e759 Add native changebars
Fixes #10750
2019-12-24 18:12:22 +01:00
José Matos
668aa17ad7 Fix typo (thanks to Salvatore Falco for the fix). 2019-11-04 12:12:23 +00:00
Juergen Spitzmueller
8bfe3d7198 lyx2lyx: Fix revert_new_languages 2019-08-31 11:20:10 +02:00
Juergen Spitzmueller
087b4e39bb Hooked in one year too early 2019-08-30 08:27:34 +02:00
Juergen Spitzmueller
54fd0a70f4 Fix encoding in aa class, which is preset via class options
Hook into nearby file format change.
2019-08-30 08:09:57 +02:00
Juergen Spitzmueller
44bfdbd5b2 Fix totalheight reversion routine if there was no totalheight set 2019-08-28 07:27:28 +02:00
Juergen Spitzmueller
02a31b4c5c Correct index 2019-08-23 22:36:35 +02:00
Juergen Spitzmueller
69ed8cb89a lyx2lyx: correct placement of (new) local layout
This ended up inside modules sometimes.
2019-08-23 18:38:55 +02:00
Juergen Spitzmueller
52e21bfcc9 lyx2lyx: fixup gloss reversion 2019-08-22 17:16:26 +02:00
Juergen Spitzmueller
4b0069860c InsetGraphics: use totalheight for height output
Graphics "height" is only the height above the baseline and thus not
what most people will expect. Also, using height can result in a
division by zero with rotation.

Use totalheight now since this means "height of the figure" (independent
of the baseline).

The custom options field can be used if height is really desired.
We handle this in conversion/reversion, respectively, so document
output will not change.

Hence, file format change.

Fixes: #9676
2019-08-14 16:55:43 +02:00
Juergen Spitzmueller
0dd5824b43 Support memoir's builtin endnotes 2019-08-13 10:38:26 +02:00
Juergen Spitzmueller
8abe7b25e8 Add support for the enotez package
This is a modern implementation of endnotes building on LaTeX3 tools which
gets away with deficiencies of the endnotes package, has some extra features,
is localized, supports hyperref and is better customizable.

As this is a fairly new package requiring l3, we keep the old endnotes
module and provide this as an alternative.
2019-08-13 07:30:20 +02:00
Juergen Spitzmueller
28796bcb63 lyx2lyx: remove landscape module in reversion 2019-08-13 07:29:07 +02:00
Juergen Spitzmueller
2a07efa6f7 lyx2lyx: fix del_module method 2019-08-13 07:28:12 +02:00
Juergen Spitzmueller
229052b29a Extend endnotes support
Support native solution for Endnotes list rather than having to use
\\theendnotes via ERT

File format change
2019-08-12 13:00:54 +02:00
Juergen Spitzmueller
0b7305024a Use generic paper size names rather than LaTeXisms such as "letterpaper"
This allows to support classes that don't use the Xpaper wording.

Add support for KOMA font (keyval) syntax on top of that.

Also support class-specific font and paper sizes in tex2lyx.

File and layout format change.
2019-08-07 16:44:11 +02:00
Juergen Spitzmueller
1386a3d8fd Allow for multiple use of same key in qualified citation lists
File format change

Fixes: #11618, #11632
2019-08-07 13:00:29 +02:00
Juergen Spitzmueller
9f61c8d4af Add more fontsizes to KOMA classes.
Theoretically, KOMA supports any font size. We add a sensible range.
2019-08-06 19:29:18 +02:00
Juergen Spitzmueller
b01075469d Add more page sizes to KOMA and memoir 2019-08-06 18:18:37 +02:00
Pavel Sanda
a6634f5bb3 git VCS: add support for short hashes in inset info ("Abbreviated revision").
Fixes bug #11620.

Patch from Joel Kulesza.
2019-07-28 22:01:17 +02:00
Juergen Spitzmueller
850c5a3d55 Support for CrimsonPro 2019-07-18 10:50:46 +02:00
Juergen Spitzmueller
212314ada7 Merge the two noto regular fonts
These are actually the same font and shape, so no need for two entries
2019-07-18 08:41:00 +02:00
Juergen Spitzmueller
777a2a9baa Remove Plex Semibolds
These are not font shapes proper. The semibold is to be combined with
font shapes and thus needs to go to extra options.
2019-07-18 08:14:09 +02:00
Kornel Benko
a45759cdb4 Amend e9c0d48d
Forgotten to commit lyx_2_4.py
2019-07-17 18:03:31 +02:00
Juergen Spitzmueller
3c716cc300 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.
2019-07-15 13:32:31 +02:00
Juergen Spitzmueller
989b5b9c9b lyx2lyx: Support conversion of fonts from preamble with extra opts 2019-07-15 10:34:19 +02:00
Juergen Spitzmueller
6e88579c56 Fix cantarell conversion 2019-07-15 07:11:43 +02:00
Juergen Spitzmueller
fada053c72 Fix copy/paste error 2019-07-15 07:11:27 +02:00
Juergen Spitzmueller
70167007e4 Fix cantarell reversion
conversion still needs work
2019-07-15 06:34:28 +02:00
Kornel Benko
97a099b137 Add sans serif font "cantarell" 2019-07-14 21:44:58 +02:00
Juergen Spitzmueller
2ceeb9e0b3 Handle remaining TeX fonts wrt MoreOptions
Closes #11615
2019-07-14 15:08:01 +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
509551cae0 More osf (texfont) fixes 2019-07-14 09:09:46 +02:00
Juergen Spitzmueller
89f9bab0f0 Properly handle osf in noto and adobe source fonts 2019-07-13 17:34:55 +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
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
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
Günter Milde
110247f0b7 lyx2lyx refactoring 2019-07-07 23:33:27 +02:00
Günter Milde
e829c97f91 Fix lyx2lyx.
Wrong number in the "revert" list,
Missing integer in "Provides" tag of local layout.
2019-07-07 21:24:34 +02:00
Günter Milde
0d49918c0c Refactor lyx2lyx for speed and simplicity. 2019-07-07 19:32:41 +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
c6c70649af Linguistics: Support for subexamples optional arg 2019-06-22 13:56:12 +02:00