Commit Graph

31 Commits

Author SHA1 Message Date
Thibaut Cuvelier
3d560f9043 lyx2lyx for format 631: the new tag was inserted one line too late in the header and thus detected as part of the body when LyX parses the document. 2024-11-04 01:14:04 +01:00
Thibaut Cuvelier
c8fe57580a Add a missing subscript in lyx2lyx. 2024-11-04 00:54:03 +01:00
Thibaut Cuvelier
7feffb89e9 MathML: let the user change the MathML version.
Discussed in https://www.lyx.org/trac/ticket/13058.
2024-10-29 01:58:56 +01:00
Juergen Spitzmueller
fc605cf138 Add proper support for BabelProvide 2
We need to instruct babel not to load an existing ldf in this case
2024-08-25 14:56:05 +02:00
Juergen Spitzmueller
b625138be6 Add support for the following languages
Polyglossia:
Chinese (Simplified), Chinese (Traditional), Japanese, Kurdish (Sorani),
Latin (Classic), Latin (Ecclesiastic), Latin (Medieval), N'ko, Odia,
Punjabi, and Uyghur

Babel:
Amharic, Armenian, Asturian, Bengali, Church Slavonic, Coptic, Divehi,
Kannada, Kazakh, Khmer, Kurdish (Sorani), Lao, Latin (Classic),
Latin (Ecclesiastic), Latin (Medieval), Malayalam, Marathi, N'ko,
Occitan, Odia, Punjabi, Russian (Petrine orthography), Sanskrit, Syriac,
Tamil, Telugu, Tibetan, Urdu, and Uyghur
2024-08-25 13:22:07 +02:00
Juergen Spitzmueller
7e49ae7b13 Add support for language options (#8034)
File format change.

Note that this cannot be properly reverted to LyX 2.4, so any options
will simply vanish on reversion or roundtrip
2024-08-23 15:52:34 +02:00
Juergen Spitzmueller
0ca600b93b \use_nomentbl -> \nomencl_opts
This allows for support of more options

As the param is only a few hours old, no lyx2lyx handling is needed
2024-08-22 05:35:47 +02:00
Juergen Spitzmueller
13ee0bc8cd Add support for the nomentbl nomenclature option
file format change
2024-08-21 17:39:36 +02:00
Juergen Spitzmueller
ccdf8ba701 another lyx2lyx fix for index 2024-08-17 16:55:23 +02:00
Juergen Spitzmueller
01f5efbe13 fix lyx2lyx functions 2024-08-17 16:19:10 +02:00
Juergen Spitzmueller
54eff37ac0 revert_nomencl: escape " and \ for command inset 2024-08-15 09:06:14 +02:00
Juergen Spitzmueller
a6fbb8677e fix convert_index_sc method 2024-08-15 08:05:31 +02:00
Juergen Spitzmueller
6fa0532ed4 Escape special chars in indexes
We now have the functionality via sub-insets, and unexperienced users
are surprised when they don't get a literal !.

The unescaped chars can still be used via ERT.
2024-08-12 17:10:57 +02:00
Juergen Spitzmueller
a5841b3312 Transform InsetNomenclature to a collapsible
Fixes: #10460, #12595, #6353
2024-08-12 12:33:16 +02:00
Juergen Spitzmueller
ae1e1cb069 Add possibility to manually specify longest label in nomenclature
File format change
2024-07-21 17:59:34 +02:00
Juergen Spitzmueller
369c871609 Support MLA's \autocite variants 2024-07-13 17:32:54 +02:00
Juergen Spitzmueller
2dac89aca0 Add support for biblatex-apa's \nptextcite 2024-07-11 10:28:38 +02:00
Juergen Spitzmueller
f96422fc9c Fix glitch in revert_biblatex_chicago 2024-07-10 09:51:55 +02:00
Juergen Spitzmueller
8941b05774 Add support for biblatex-chicago (#12240)
File format change
2024-07-09 15:18:06 +02:00
José Matos
95a7440b0e Sort and format comments
The last code change shuffled the comments out of place
2024-06-18 10:52:05 +01:00
José Matos
44e0940d75 Order imports
This is similar to what we have in C++ code where we order the standard
includes to be easier to read.

This is a readability change only.
2024-06-18 10:25:52 +01:00
José Matos
b4db3ea137 Reformat lyx2lyx code using ruff 2024-06-15 10:06:06 +01:00
Udi Fogiel
3854086e59 Remove hebrew letter document class
The only difference from regular letter is the alignment of
"Send To Address" layout, but it no longer reflect the output
corrctly, probably because LyX revert the alignment of layouts
in RTL context now.
2024-06-11 21:14:27 +03:00
José Matos
c92b481a44 Reformat imports for easier reading
This is in line with the current hints for better readability:

* one import per line;
* order the imports alphabetically to be easier to search;

Take the chance to remove unused imports.
2024-06-10 12:05:03 +01:00
José Matos
f9ec4186d7 Update lyx2lyx folder to Python 3+
Remove support for Python 2
Take advantage of new features (euphemism) not possible before due to
python 2 compatibility
2024-06-10 10:55:40 +01:00
Juergen Spitzmueller
d2db74f9ee Add support for glue length in parskip (#12867) 2024-06-01 13:47:39 +02:00
Juergen Spitzmueller
c23f731fae mumble 2024-05-15 18:36:47 +02:00
Juergen Spitzmueller
9d43fd2ae1 # and % need to be escaped in hyperref URL as well
Also fix some lyx2lyx glitches

This hopefully fixes the test issues.
2024-05-15 13:15:08 +02:00
Juergen Spitzmueller
1512216909 Fix comment 2024-05-13 10:26:45 +02:00
Juergen Spitzmueller
52d31155c1 Properly escape backslash in URLs with hyperref (#13012) 2024-05-13 09:17:30 +02:00
Juergen Spitzmueller
ed62816eb6 Handle URL escaping in beamer frames
File format change -- this introduces the first LyX 2.5 format and
hence sets up the lyx2lyx machinery
2024-05-13 07:26:41 +02:00