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
Stephan Witt
d05a8c805e
correct typo in help message
2019-06-17 16:46:59 +02:00
José Matos
58734edff6
Make the lyx2lyx code compatible between python2 and python3.
...
FWIW this code is important for very old versions of lyx, older than 1.1.5 (released 19 years ago - 2000/06/06).
Funny fact of the day, byte strings do not behave as regular strings in python3 when taking and index.
To get a sub-string we need to pass a range, a integer index will not work as it happens in a regular string:
$ ipython3
...
In [30]: line
Out[30]: b'#This file was created by <mike> Tue Jan 25 10:36:51 2000'
In [31]: line[0]
Out[31]: 35
In [32]: line[0:1]
Out[32]: b'#'
The range notations works for both byte and regular strings in python 3, and it also works in python 2.
Thus the change is simple and effective. In any case I should confess that I was quite surprised by this. :-)
2019-06-05 14:06:09 +01:00
Juergen Spitzmueller
e2f81b3a84
Rework linguistic gloss support
...
This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.
File format change.
2019-06-04 11:01:19 +02:00
Günter Milde
f1e7f5267d
lyx2lyx refactoring and minor fixes.
2019-06-03 16:58:10 +02:00
Günter Milde
b2cee3dcc5
Support more languages (file format change).
...
Format incremented to 576:
Support for the document languages azerbaijani, bengali,
churchslavonic, and oldrussian.
2019-06-03 16:58:10 +02:00
Günter Milde
8e06c2ffa9
Fix some problems with lyx2lyx_tools.revert_languages().
...
Amends 7bb30286
.
Tested cases are now handled fine.
(There are still many cases where the language support emulation
is too complex for lyx2lyx and manual fixes are required after
lyx2lyx conversion.)
2019-06-03 16:58:10 +02:00
Juergen Spitzmueller
d2b6232ce7
Fix lineno options param
...
This has been written even if empty -- and thus caused reading errors.
2019-06-02 19:07:01 +02:00
Günter Milde
7bb3028607
fixes to lyx2lyx's revert_language tool.
2019-06-02 00:04:34 +02:00
Günter Milde
d8c913fe59
lyx2lyx refactoring
...
Reduce code duplication in revert_language, no change to output.
2019-06-02 00:04:34 +02:00
Günter Milde
45c5b39692
Adapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].
2019-05-25 15:32:24 +02:00
Günter Milde
09e69f96dd
Complete lyx2lyx for new "lineno" settings.
2019-05-24 13:51:46 +02:00
Pavel Sanda
7f125f62d2
Introduce doc preference for line numbering.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208781.html
2019-05-23 15:13:27 +02:00
Günter Milde
65ec404eb3
Format incremented to 574: Ruby inset, fixes for Japanese.
...
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Günter Milde
7d82308552
Fix conversion/reversion of parenthese order in Hebrew text.
...
The algorithm in [c9be8bff74b233/lyxgit] did not
account for layout nesting. As a result, some parentheses
were swapped in English text parts
(e.g. around "(for Linux)" in he/Intro.lyx).
2019-04-30 11:27:35 +02:00
Günter Milde
27ba6f282d
Rename legacy input encoding settings.
...
Format incremented to 573
2019-04-16 20:17:32 +02:00
Kornel Benko
e55ed79da9
Extend handling of Noto fonts
...
Added the possibility to use options Regular, Medium, Thin, Light, Extralight
2019-04-07 11:05:42 +02:00
Juergen Spitzmueller
8085fc21f8
booktabs: support for \cmidrule trimming
...
This has probably still some rough edges, so please test thoroughly.
Fixes : #3072
2019-04-03 07:59:52 +02:00
Juergen Spitzmueller
f75b081551
Add support for mixed-encoded biblatex files
...
Biblatex 3.12 allows to specifiy individual encodings per bib file
via \addbibresource[bibencoding=<encoding>].
This is now supported via GuiBibtex.
2019-03-29 15:45:55 +01:00
Juergen Spitzmueller
ecb2427f41
Add tablestyle buffer param
...
Fixes : #9901
2019-03-26 16:24:27 +01:00
Juergen Spitzmueller
aff2ee6058
Add soul module
2019-03-22 18:29:50 +01:00
Juergen Spitzmueller
abf38e1820
revert_language: fix document language assignment
2019-03-11 11:42:54 +01:00
Juergen Spitzmueller
8b2f89f8bd
thinko
2019-03-11 11:05:10 +01:00
Juergen Spitzmueller
01493e574a
Dix revert_language with multiple languages per paragraph
2019-03-11 10:56:50 +01:00
Juergen Spitzmueller
f320ccdfc6
Prevent multiple insertion of language switch at document body
2019-03-11 10:56:12 +01:00
Juergen Spitzmueller
ef9e73d7fe
Move function out of loop
2019-03-11 10:37:33 +01:00
Juergen Spitzmueller
3d08c83666
Remove misplaced comment
2019-03-10 13:40:29 +01:00
Juergen Spitzmueller
4bd065f871
use revert_language in more cases
2019-03-10 13:00:10 +01:00