Commit Graph

46751 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
fe43d03448 Assure widest nomencl label is encodable 2024-08-18 09:59:37 +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
5b5127891d remove useless warning 2024-08-17 16:15:11 +02:00
Juergen Spitzmueller
083e9b44a0 harmonize indendation 2024-08-17 13:32:07 +02:00
José Matos
34a616bd91 Add another option to get python by using the unversioned name 2024-08-16 17:33:14 +01:00
Juergen Spitzmueller
712600dd6c Consider known latex text macros (basically the logos) in convertaTeXCommands() 2024-08-16 11:23:57 +02:00
Juergen Spitzmueller
e1b6ad7980 further improve get_quoted_value
as per José's suggestion
2024-08-15 17:45:40 +02:00
Thibaut Cuvelier
8ae1b9554c Fix typo in comment. 2024-08-15 15:40:31 +02:00
Juergen Spitzmueller
bb3dd3c9f2 style 2024-08-15 13:11:20 +02:00
Juergen Spitzmueller
54eff37ac0 revert_nomencl: escape " and \ for command inset 2024-08-15 09:06:14 +02:00
Juergen Spitzmueller
9835022c59 forgotten subindex 2024-08-15 08:51:18 +02:00
Juergen Spitzmueller
a6fbb8677e fix convert_index_sc method 2024-08-15 08:05:31 +02:00
Juergen Spitzmueller
eb16ecf8b6 fix get_quoted_value
The previous version also stripped quotes that are part of the string
2024-08-15 08:04:48 +02:00
Juergen Spitzmueller
c993485782 Disable valign widget in tabularx tables
See https://marc.info/?l=lyx-users&m=172363857509065&w=2
2024-08-14 16:28:15 +02:00
Juergen Spitzmueller
6b0c243cda Unbreak GuiTabular::fucEnabled()
I wonder how long this has been broken (if it ever worked)
2024-08-14 16:27:20 +02:00
jpc
c08e07513d Update fr.po 2024-08-14 11:41:15 +02:00
Enrico Forestieri
d632753dea Improve detection of our math fonts
It turns out that Qt font selection via style name is broken on
Windows (QTBUG-101436). As we use our own style name for discriminating
our math fonts and applying proper kerning, we need a fallback method.
With this commit we check for the family name when the style name does
not match. In computing the kerning we also consider the right bearing
reported by the font instead of the width of the enclosing bounding box,
as this produces better results (see bug 13087).

Fixes #13087.
2024-08-13 22:51:40 +02:00
Kornel Benko
d813465690 Update sk.po 2024-08-13 09:05:40 +02:00
Juergen Spitzmueller
0659af15fb Add InsertCotext tag to InsetLayout
Avoids hardcoding of insets, and this behavior is possibly useful to
other insets than index and nomencl

We take this on yesterday's layout format change
2024-08-13 07:29:14 +02:00
Juergen Spitzmueller
dceed8d87d de.po 2024-08-12 18:26:13 +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
0d87a3aab2 Omit escape-chars in pass_thru context 2024-08-12 14:28:59 +02:00
Juergen Spitzmueller
99fcf9df0e remove unused param 2024-08-12 13:15:02 +02:00