Commit Graph

46916 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
2ec65921be Document an advanced nomencl use (#6996) 2024-08-12 12:54:55 +02:00
Juergen Spitzmueller
221a5c45dc update tex2lyx tests 2024-08-12 12:35:07 +02:00
Juergen Spitzmueller
a5841b3312 Transform InsetNomenclature to a collapsible
Fixes: #10460, #12595, #6353
2024-08-12 12:33:16 +02:00
Juergen Spitzmueller
66afab4497 Update layout formats 2024-08-12 12:29:50 +02:00
Juergen Spitzmueller
8847651623 Add EscapeChars layout tag
This allows to define chars to be escape and an escape character

Needed in index and nomenclature
2024-08-12 12:25:31 +02:00
jpc
603e9a8164 Update fr.po 2024-08-10 18:03:59 +02:00
Pavel Sanda
28cb88d608 Header not needed. 2024-08-09 09:47:36 +02:00
Pavel Sanda
fb87ed74bd Header not needed. 2024-08-09 09:45:12 +02:00
Juergen Spitzmueller
01ab4c151e Some documentation for reference-to-paragraph 2024-08-09 08:44:03 +02:00
Juergen Spitzmueller
1c5fd2ea4e reference-to-paragraph for footnotes 2024-08-09 08:30:29 +02:00
Juergen Spitzmueller
26258dc5fc de/Additional: stick with 2.4 file format 2024-08-09 07:40:17 +02:00
Juergen Spitzmueller
a2f396d177 de/Additional: eLyXer removal 2024-08-09 07:01:13 +02:00
Richard Kimberly Heck
7d686799b7 Check changes from eLyXer removal 2024-08-08 11:03:56 -04:00
Pavel Sanda
e545678687 * RELEASE-NOTES 2024-08-07 22:55:49 +02:00
Pavel Sanda
017fad533e Drop eLyXer, part2.
Removed parts of xHTML-related notes explaining elyxer,
reworded little bit. Native speaker might want to review.
2024-08-07 22:53:12 +02:00
Pavel Sanda
86c06ea93c Drop eLyXer, part1.
Last release 2013, no more present as distro package, python2 requirement.
2024-08-07 22:51:24 +02:00
Juergen Spitzmueller
90a876a049 enhance debug message (see #13087) 2024-08-07 14:46:30 +02:00
Juergen Spitzmueller
473180ec10 de.po 2024-08-07 10:55:18 +02:00
Kornel Benko
765ad2760c Update sk.po 2024-08-07 10:46:04 +02:00
Juergen Spitzmueller
1efdc11296 lyx_pot.py: Fix regex for \Format
Each token could be delimited by quotation marks or not. The previous
regexes only considered this for two tokens and hence produced wrong
matches for cases such as

\Format gnuplot     "gp, gnuplot, plt"    "Gnuplot"     "" "" ""  "vector"	"text/plain"

where the extension list wasn't parsed as a single token.
2024-08-07 09:11:35 +02:00
Richard Kimberly Heck
337a94a425 Restore obvious shortcut 2024-08-06 14:50:29 -04:00
Richard Kimberly Heck
b494286a9c Fix bug with display of reference tooltips.
Previously, the tooltip was assigned during updateBuffer. But then
we could not determine the value for forward references.
2024-08-06 11:31:35 -04:00
Juergen Spitzmueller
f2e6a9b4ae Add plt as gnuplot extension (#11148)
This seems to be the common one on Windows
2024-08-06 16:29:55 +02:00
Juergen Spitzmueller
8aeee03e3a set toc_string_ before the label is being truncated
We do not want truncated items in the outliner.
2024-08-06 10:57:11 +02:00
Richard Kimberly Heck
1de4645286 Use the old-style sorts of label strings in the TOC.
There are several reasons to do it this way, among which is odd
behavior of the TOC filter if we put anything else there. This also
allows for filtering of the references themsevles in a natural way.

The change, I think, was really an unintended consequence of other
changes connected to showing formatted references in the work area.
2024-08-05 18:13:07 -04:00
Pavel Sanda
c4d5a01787 * README.localization - add description from Juergen's reply in #1308. 2024-08-05 23:08:39 +02:00
Juergen Spitzmueller
b630abb4b0 Update Polish translation (from Tomasz Kołodziejski) 2024-08-05 10:31:20 +02:00
Juergen Spitzmueller
43baae382c Add Tomasz Kołodziejski to the credits 2024-08-05 10:28:31 +02:00
Kornel Benko
19e02ed102 Update sk.po 2024-08-02 08:58:44 +02:00
Juergen Spitzmueller
7ac4e53e37 Disambiguate string
At least in German "label" in a form and "label" as in \label
translate differently
2024-08-01 12:16:10 +02:00
Juergen Spitzmueller
6c867b1367 de.po 2024-08-01 12:07:03 +02:00
Juergen Spitzmueller
9fc1194494 Amend 9464f0526e
Simplify function
2024-07-30 15:30:41 +02:00
Juergen Spitzmueller
9464f0526e Fixup LFUN_REFERENCE_TO_PARAGRAPH for captions in other buffers
The movement to the caption is now done in the LFUN function itself,
as we need the DocIterator in the caption

This greatly simplifies the code in the TocWidget and shifts all the
complexity to the LFUN itself
2024-07-30 12:36:20 +02:00
Juergen Spitzmueller
4ed822925f fixup REFERENCE_TO_PARAGRAPH:
* par id actually can be 0
* properly move on in the buffer list if paragraph is not found
  in the current buffer
* use dit to get label (as this might be in a different buffer)
2024-07-30 09:49:34 +02:00
Juergen Spitzmueller
2c4536c709 typo 2024-07-29 09:11:42 +02:00