Commit Graph

46975 Commits

Author SHA1 Message Date
José Matos
d06a034578 Python 3.13 removed the pipes module from the standard library
That module was a wrapper over the popen module and it was scheduled to
be removed in Python 3.11.

This code is also compatible with Python 2.
2024-08-25 10:14:18 +01:00
Kornel Benko
648f6a3d45 Update sk.po 2024-08-25 11:15:01 +02:00
Juergen Spitzmueller
a2629b8eab Assure OK/Apply button is initially disabled in InsetParamsDialogs (#8927) 2024-08-25 10:18:38 +02:00
Juergen Spitzmueller
d0fe7fcb7b Some more language TODOs
Obviously, we can support all languages that have so far only been
provided via polyglossia with babel(provide)
2024-08-25 10:10:00 +02:00
Juergen Spitzmueller
b322ecb483 Load Ancient Greek and Mexican Spanish via \babelprovide
In classic babel, these varieties are only available via modifiers
or attributes, which means that they could only be used instead rather
than in addition to the default variety
2024-08-25 09:48:04 +02:00
Juergen Spitzmueller
047dee5a3b Basic support for \babelprovide
This is the new(er) babel mechanism to load languages via babel *.ini
files.

Some languages (or varieties) are only supported this way, some work
better with unicode engines this way (for the latter case, we have
BabelProvide 2)
2024-08-25 09:46:29 +02:00
Juergen Spitzmueller
ac509f3b6e spell out all polyglossia variants (required if varieties are mixed) 2024-08-24 15:53:01 +02:00
Juergen Spitzmueller
3038a8bc04 Some more language TODOs 2024-08-24 15:43:58 +02:00
Juergen Spitzmueller
b249140cf1 Update some polyglossia names
and add TODOs for not yet supported polyglossia languages
2024-08-24 15:10:20 +02:00
Juergen Spitzmueller
7e09f574ba Add BabelOpts to languages
This way, some settings that were hardcoded in BabelPreamble are
customizable in document settings
2024-08-24 14:30:37 +02:00
Juergen Spitzmueller
8ff3e467a1 Avoid duplicate option passing with babel 2024-08-24 05:54:54 +02:00
Juergen Spitzmueller
401b783575 NomenclUI: fix spacer
This seems t be a bug in my Qt designer
2024-08-24 05:45:17 +02:00
Juergen Spitzmueller
285f467f24 Provide babel language options only for languages that have options 2024-08-24 04:51:45 +02:00
Pavel Sanda
ad0d5f9d40 Not needed anymore. 2024-08-23 21:35:53 +02:00
Juergen Spitzmueller
8a8d2d93d1 No need to decorate roots in one-level tree widgets 2024-08-23 18:00:58 +02:00
Juergen Spitzmueller
2b6f01cdad More languages that use babel modifiers 2024-08-23 17:15:04 +02:00
Juergen Spitzmueller
0980ad52c3 de.po 2024-08-23 16:50:30 +02:00
Juergen Spitzmueller
ca7e772882 babel-german uses modifiers 2024-08-23 16:46:37 +02:00
Juergen Spitzmueller
3c852439a6 Fix language options glitches 2024-08-23 16:46:30 +02:00
Juergen Spitzmueller
21252f924b update tex2lyx tests 2024-08-23 16:13:53 +02:00
Juergen Spitzmueller
671d6e4ea2 Document language options 2024-08-23 16:08:37 +02:00
Juergen Spitzmueller
2889e98d01 Amend 7e49ae7b13 2024-08-23 16:06:50 +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
Pavel Sanda
411387cccc Copy zh_CN.po from branch 2024-08-23 08:16:08 +02:00
Pavel Sanda
aaf6e47563 * postats.py description 2024-08-22 23:00:50 +02:00
Scott Kostyshak
cdbdd4c7c5 Update tex2lyx tests 2024-08-22 12:04:11 -04:00
Scott Kostyshak
72f4acf66c Fix Python SyntaxWarning
Use raw strings to avoid the following syntax warnings that show up
in LastTest.log after running tex2lyx ctests:

  src/tex2lyx/test/runtests.py:135: SyntaxWarning: invalid escape sequence '\o'
    if linex[:-1] == '\origin ' + inputdir + '/':
  src/tex2lyx/test/runtests.py:136: SyntaxWarning: invalid escape sequence '\o'
    lines1[i1] = '\origin ' + outputdir + '/' + "\n"
2024-08-22 10:54:02 -04:00
Kornel Benko
a423c1d7ef Update sk.po 2024-08-22 11:41:21 +02:00
Juergen Spitzmueller
ceaaacd8e3 typos 2024-08-22 09:42:40 +02:00
Juergen Spitzmueller
13c4d73680 de.po 2024-08-22 09:41:28 +02:00
Juergen Spitzmueller
739e9a2382 Oops ... 2024-08-22 09:30:48 +02:00
Juergen Spitzmueller
2d3c088651 clarify use of subgroups 2024-08-22 09:19:43 +02:00
Juergen Spitzmueller
b73000a495 The InsetPrintNomenclature settings make no sense with nomentbl 2024-08-22 08:17:33 +02:00
Juergen Spitzmueller
33869b62bf Add GUI support for nomencl options 2024-08-22 08:11:18 +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
2552f350ba disambiguate string 2024-08-21 18:07:47 +02:00
Juergen Spitzmueller
05509dd033 de.po 2024-08-21 18:07:13 +02:00
Juergen Spitzmueller
47176ce34c Amend 13ee0bc8cd
Improve tex2lyx handling
2024-08-21 17:54:06 +02:00
Juergen Spitzmueller
954be0907b update tex2lyx tests 2024-08-21 17:39:36 +02:00
Juergen Spitzmueller
13ee0bc8cd Add support for the nomentbl nomenclature option
file format change
2024-08-21 17:39:36 +02:00
Richard Kimberly Heck
db1d2c7769 Replace lyx2lyx code with native solution
(cherry picked from commit 46f2fd1a74)
2024-08-21 11:27:35 -04:00
Juergen Spitzmueller
807c9124dc Fix erroneous self-nesting 2024-08-21 06:19:45 +02:00
Juergen Spitzmueller
c0f785e366 fix A&A template 2024-08-20 17:38:28 +02:00
Koji Yokota
f88ee87d1c Fix wrong preedit cursor position in Qt5 2024-08-20 22:44:39 +09:00
Kornel Benko
e34b1818a8 Update sk.po 2024-08-20 12:48:33 +02:00
Pavel Sanda
e322ef153d Fix regression introduced via #12819.
We will mark buffer as modified only in case of removal,
not when just externally modified.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222715.html
2024-08-19 22:03:16 +02:00
Pavel Sanda
d5da93628a Header not needed anymore. 2024-08-19 21:47:16 +02:00
Juergen Spitzmueller
752980b683 de.po 2024-08-18 18:41:52 +02:00
Juergen Spitzmueller
1429552063 Improve output pane, as discussed in #12372
* The image scale param is shared by XHTML and DocBook
* It does not only apply to math
* Get rid of redundant group headers (#12902)
2024-08-18 18:18:07 +02:00
Juergen Spitzmueller
03c5842006 Add "needcopiesfrom" converter flag
This is needed to provide ePub and other DocBook-based exports with
the right (renamed) images (fixes #12372)
2024-08-18 17:53:51 +02:00