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
Juergen Spitzmueller
b1c36045ee
fix typo in comment
2019-03-31 14:30:55 +02:00
Juergen Spitzmueller
57157d2e4d
tex2lyx: support for list preambles
2019-03-31 14:27:56 +02:00
Kornel Benko
e5b98a86fa
Amend 99eeb29e: tex2lyx test: make box-color-*.tex sample compilable
2019-03-31 00:52:04 +01:00
Juergen Spitzmueller
d8bdfa8462
Update paths in tex2lyx tests
2019-03-29 16:08:17 +01:00
Juergen Spitzmueller
f8aee7068e
Adapt tex2lyx tests to version numbers.
2019-03-29 15:51:50 +01:00
Juergen Spitzmueller
035d539964
tex2lyx: support for bibencoding argument of \addbibresource
2019-03-29 15:50:18 +01:00
Juergen Spitzmueller
e2761dd2f2
Update version numbers of tex2lyx tests
2019-03-26 17:49:38 +01:00
Juergen Spitzmueller
aff2ee6058
Add soul module
2019-03-22 18:29:50 +01:00
Juergen Spitzmueller
de449daa71
update tex2lyx tests after file format change
2019-03-10 13:04:15 +01:00
Kornel Benko
99e216b78d
Amend 62f8b8be
...
The file test-insets.tex is changed, therefore the file
which is expected by tex2lyx (test-insets.lyx.lyx) has to be changed too.
2019-03-09 21:24:21 +01:00
Juergen Spitzmueller
62f8b8beb9
Update tex2lyx tests
2019-01-03 12:00:23 +01:00
José Matos
3f03f0a447
Move all python shebangs from /usr/bin/env to python3.
...
The change is only relevant to development as all the call to python scripts is done
calling C++ os::python that invoques the appropriate python version.
The change is two fold, on one hand remove all the uses of /usr/bin/env for python.
On the other hand rename all the calls to python from python to python3 making it explicit
and being compliant with PEP 394 -- The "python" Command on Unix-Like Systems:
https://www.python.org/dev/peps/pep-0394/
Remove the sheebang from src/graphics/GraphicsConverter.cpp because it is not necessary.
Some small whitespace changes.
2018-12-29 19:14:41 +00:00
Stephan Witt
d9c0807227
Add -headerpad_max_install_names option to linker calls and make run path configuration consistent.
...
This avoids failures when running install_name_tool on Mac when creating relocatable binaries using the bundled private frameworks.
2018-09-21 21:46:47 +02:00
Juergen Spitzmueller
9c33723632
Improve comment
2018-08-28 12:39:23 +02:00
Juergen Spitzmueller
fe2e3841eb
grammar
2018-08-28 10:36:47 +02:00
Juergen Spitzmueller
da62299f37
tex2lyx: fix import of unknown commands'/environments' options
...
If we detect options via hasOpt(), output the brackets as ERT.
Fixes : #8685
2018-08-28 10:31:29 +02:00
Juergen Spitzmueller
9f99f3073a
Correct indentation
2018-08-27 12:13:55 +02:00
Juergen Spitzmueller
a3ed99b211
fix glitch with last border in table for custom arguments
2018-08-27 12:13:24 +02:00
Juergen Spitzmueller
64ad077c9c
tex2lyx: support V table column type
2018-08-27 12:12:56 +02:00
Juergen Spitzmueller
8ef2558dc2
tex2lyx: support decimal alignment in tables
2018-08-26 16:17:54 +02:00
Juergen Spitzmueller
af42dfedf6
This has been done in f38816bf16fa
2018-08-26 11:13:00 +02:00
Juergen Spitzmueller
fc9b4fb6a8
tex2lx/TODO: minor clarifications
2018-08-26 10:54:04 +02:00
Juergen Spitzmueller
faf40fb408
tex2lyx: support for plural and capitalized refstyle
...
Also fix a glitch in non-refstyle import (getOpt() returns the option
with delimiter, so do not add them in ERT once more)
Candidate for stable
2018-08-26 09:48:23 +02:00
Juergen Spitzmueller
920e26916e
tex2lyx: Fix import of Arabic polyglossia environment
...
Part of #10111
2018-08-24 14:20:43 +02:00