Commit Graph

46852 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
7d46ddaa95 rename Paragraph::getLabel()
getLabel() usually refers to a paragraph label (e.g. \item) in this
context, not \label as in the case here.
2024-07-29 09:08:13 +02:00
Juergen Spitzmueller
2fdeee4bf7 fixup definition of LFUN_REFERENCE_TO_PARAGRAPH 2024-07-29 08:46:43 +02:00
Juergen Spitzmueller
143e534d1e Implement reference-to-paragraph in outliner (#1624)
This allows to insert a cross-reference to headings, figures or tables
by right-clicking on the outliner item.

If the item in question does not have a label yet, it is inserted.
2024-07-28 15:59:06 +02:00
Juergen Spitzmueller
3fe99bf6f5 Implement LFUN_REFERENCE_TO_PARAGRAPH
This function checks whether a paragraph (specified by ID) has a label.
If so, it simply inserts a reference to this at cursor position, if
not it inserts a label to that paragraph (pos 0) and then inserts
a reference at cursor position.

Needed to implement #1624 (insert cross references to items that do not
have yet a label)
2024-07-28 15:54:55 +02:00
Juergen Spitzmueller
e3b36208ed Allow DocIterator::paragraphGotoArgument() to return id() without pos()
We need this for the forthcoming reference-to-paragraph function
2024-07-28 15:53:05 +02:00
Juergen Spitzmueller
a303600b54 Implement Paragraph::getLabel()
This function returns the first label (as string) if there is any
2024-07-28 15:52:19 +02:00
José Matos
52295693d6 Clean python code (lyx2lyx)
Please linter where it makes sense:

* Avoid bare exceptions;
* Use formatted strings instead of string interpolation
2024-07-28 09:56:29 +01:00
Juergen Spitzmueller
181c8ce7c1 re-implement LFUN_REFERENCE_INSERT
this is in preparation of another feature
2024-07-28 10:37:30 +02:00
Juergen Spitzmueller
5c3b788999 amend d4f58c96b5
avoid having to validate the whole buffer just for this information
2024-07-27 13:34:38 +02:00
Juergen Spitzmueller
ca4fc01847 Load geometry after graphics
Newer graphics driver overwrite some (output) page settings otherwise
See https://tex.stackexchange.com/a/384952/19291

Re-fixes #10970
2024-07-27 12:46:12 +02:00
Juergen Spitzmueller
b6d3066ad2 GuiLog: show also log files of additional indices 2024-07-26 18:48:31 +02:00
Juergen Spitzmueller
d4f58c96b5 Add support for multiple indexes in Memoir
As with almost everything, this class bakes its own cake also with
multiple indexes. So we need to account for this to produce
compilable output.

Not very nice, but there you go!
2024-07-26 12:48:12 +02:00
Jean-Marc Lasgouttes
fe1a3b57df Fixup 999fb37e: always run updateMacros when in batch mode
The optimization is useful in GUI mode only, and it turns out that it
creates weird crashes otherwise.

Thanks to Juergen Spitzmuller for the idea.
2024-07-25 18:37:50 +02:00
Juergen Spitzmueller
003bbd3483 Avoid loop in math parsing function 2024-07-25 09:18:01 +02:00