Juergen Spitzmueller
36399e88d3
tex2lyx: slight font handling simplification
...
We do not have to add the general packages to known sf and tt, just to
exclude them later by exception.
2019-07-19 07:50:52 +02:00
Juergen Spitzmueller
850c5a3d55
Support for CrimsonPro
2019-07-18 10:50:46 +02:00
Juergen Spitzmueller
86b1331507
tex2lyx: update and improve noto import
2019-07-18 09:48:09 +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
7515648774
AmendI2) e9c0d48d
. Remove unneded entries,
...
Thanks Jürgen
2019-07-17 18:27:06 +02:00
Kornel Benko
504664a261
Update tex2lyx tests
2019-07-17 18:13:32 +02:00
Kornel Benko
e9c0d48d58
Add sans serif font series "Chivo"
2019-07-17 18:02:22 +02:00
Juergen Spitzmueller
0c25dbf522
tex2lyx: minor post-cleanup
2019-07-16 10:58:27 +02:00
Juergen Spitzmueller
7e2a424621
tex2lyx: cleanup font handling
2019-07-16 10:32:24 +02:00
Juergen Spitzmueller
f1d946bf32
tex2lyx: support for Fira fonts
2019-07-15 14:03:08 +02:00
Juergen Spitzmueller
0d86faee2d
Update tex2lyx tests
2019-07-15 08:23:42 +02:00
Juergen Spitzmueller
b50336c0b0
tex2lyx: support cantarell font
2019-07-15 08:10:47 +02:00
Juergen Spitzmueller
2e72ed3e2c
tex2lyx: support all MoreOpts
2019-07-14 15:29:18 +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
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
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
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
Juergen Spitzmueller
5cef539e8b
update tex2lyx tests
2019-06-23 13:05:38 +02:00
Juergen Spitzmueller
94654b3586
Linguistics: add support for Discourse Representation Structures
...
File format change
2019-06-23 12:59:56 +02:00
Jean-Marc Lasgouttes
5173f22024
Fix some warnings found by the -Wall options of autoconf and automake.
...
There are still warnings to address. For now, they not enabled by default.
2019-06-12 18:00:18 +02:00
Juergen Spitzmueller
2f648cc17a
small correction
2019-06-04 11:10:54 +02: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
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
45c5b39692
Adapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].
2019-05-25 15:32:24 +02:00
Kornel Benko
ef6ddfc788
Amend 7f125f62d2
, Introduce doc preference for line numbering
...
Correct expected lyx files created by tex2lyx.
2019-05-24 18:17:50 +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
Jean-Marc Lasgouttes
7bb08f10b1
Move initial values of LyXRC members to the header
...
We use a C++11 construct that puts initial values of members along
with their definition. It is a good construct and now the out of line
constructor and the setDefaults() method can go.
This removes the need to define a dummy constructor in tex2lyx and
client.
The only needed change to the rest of code is a change of signature
for the user_(name|email) to return std::string. They are now called
explicitely from the constructor. We now have to include userinfo.h in
LyXRC.h, but this should not be too expensive.
2019-04-19 14:46:12 +02:00
Jean-Marc Lasgouttes
c6754ed548
Do not redefine a stripped-down LyXRC object.
...
I am not sure why it was done this way, but it is not really necessary.
Moreover gcc LTO does not like it.
2019-04-18 15:55:40 +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
3f9cdc7c63
Amend e55ed79d
: Extend handling of Noto fonts
...
Also renamed
known_roman_fonts -> known_roman_font_packages
known_sans_fonts -> known_sans_font_packages
known_typewriter_fonts -> known_typewriter_font_packages
known_math_fonts -> known_math_font_packages
2019-04-08 11:44:53 +02:00
Kornel Benko
6fc7739053
Adapt tex2lyx to the noto fonts extension
2019-04-07 13:47:45 +02:00
Kornel Benko
35ac73a425
Update tex2lyx tests due to format change
2019-04-07 13:30:31 +02:00
Juergen Spitzmueller
f51fa38123
Prevent multiplication of preamble code
...
Fixes rest of #8229
2019-04-04 16:39:20 +02:00
Juergen Spitzmueller
0b54650f0e
tex2lyx: improve module support
...
The current heuristics only considered modules with styles that defined
a searched command in their preamble, and only for commands/environments
that were defined in the document's preamble. This limited the module
support drastically.
The new heuristics also checks for commands coming from packages. If the
command is not (re-)defined in the document preamble, it checks modules
that provide a style with a matching LaTeXName, checks for their
requirements and matches those with the packages loaded by the document.
If no module provides a searched style, but we found modules that load
packages that are loaded in the imported tex file, and if those packages
are not auto-loaded by LyX anyway, we also load this module.
fixes : #11259 , part of #8229
2019-04-04 16:01:07 +02:00
Juergen Spitzmueller
a5e89c842f
update tex2lyx tests
...
\cmidrule(lr) now natively imported.
2019-04-04 09:33:53 +02:00
Juergen Spitzmueller
171e251189
tex2lyx: support for cmidrule trimming
2019-04-04 09:33:36 +02:00
Juergen Spitzmueller
7f24e3ad4f
Update tex2lyx tests
2019-04-04 08:24:51 +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
0c18f6a8c1
Remove TODO entry
...
This is covered in the "Consider layouts in modules that do not have a
preamble definition" general TODO item.
2019-04-01 13:04:05 +02:00
Juergen Spitzmueller
18ee587a1e
Add listpreamble tex2lyx test
2019-03-31 17:52:31 +02:00