]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Thu, 22 Aug 2024 07:19:43 +0000 (09:19 +0200)]
clarify use of subgroups
Juergen Spitzmueller [Thu, 22 Aug 2024 06:17:33 +0000 (08:17 +0200)]
The InsetPrintNomenclature settings make no sense with nomentbl
Juergen Spitzmueller [Thu, 22 Aug 2024 06:11:18 +0000 (08:11 +0200)]
Add GUI support for nomencl options
Juergen Spitzmueller [Thu, 22 Aug 2024 03:35:47 +0000 (05:35 +0200)]
\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
Juergen Spitzmueller [Wed, 21 Aug 2024 16:07:47 +0000 (18:07 +0200)]
disambiguate string
Juergen Spitzmueller [Wed, 21 Aug 2024 16:07:13 +0000 (18:07 +0200)]
de.po
Juergen Spitzmueller [Wed, 21 Aug 2024 15:54:06 +0000 (17:54 +0200)]
Amend
13ee0bc8cd1025
Improve tex2lyx handling
Juergen Spitzmueller [Wed, 21 Aug 2024 15:38:49 +0000 (17:38 +0200)]
update tex2lyx tests
Juergen Spitzmueller [Wed, 21 Aug 2024 15:35:48 +0000 (17:35 +0200)]
Add support for the nomentbl nomenclature option
file format change
Richard Kimberly Heck [Wed, 21 Aug 2024 15:14:41 +0000 (11:14 -0400)]
Replace lyx2lyx code with native solution
(cherry picked from commit
46f2fd1a7457ae92b9382d23d15579c68761a997 )
Juergen Spitzmueller [Wed, 21 Aug 2024 04:19:45 +0000 (06:19 +0200)]
Fix erroneous self-nesting
Juergen Spitzmueller [Tue, 20 Aug 2024 15:38:28 +0000 (17:38 +0200)]
fix A&A template
Koji Yokota [Tue, 20 Aug 2024 13:44:39 +0000 (22:44 +0900)]
Fix wrong preedit cursor position in Qt5
Kornel Benko [Tue, 20 Aug 2024 10:48:33 +0000 (12:48 +0200)]
Update sk.po
Pavel Sanda [Mon, 19 Aug 2024 20:03:16 +0000 (22:03 +0200)]
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
Pavel Sanda [Mon, 19 Aug 2024 19:47:16 +0000 (21:47 +0200)]
Header not needed anymore.
Juergen Spitzmueller [Sun, 18 Aug 2024 16:41:52 +0000 (18:41 +0200)]
de.po
Juergen Spitzmueller [Sun, 18 Aug 2024 16:18:07 +0000 (18:18 +0200)]
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)
Juergen Spitzmueller [Sun, 18 Aug 2024 15:53:51 +0000 (17:53 +0200)]
Add "needcopiesfrom" converter flag
This is needed to provide ePub and other DocBook-based exports with
the right (renamed) images (fixes #12372)
Juergen Spitzmueller [Sun, 18 Aug 2024 07:59:37 +0000 (09:59 +0200)]
Assure widest nomencl label is encodable
Juergen Spitzmueller [Sat, 17 Aug 2024 14:55:23 +0000 (16:55 +0200)]
another lyx2lyx fix for index
Juergen Spitzmueller [Sat, 17 Aug 2024 14:19:10 +0000 (16:19 +0200)]
fix lyx2lyx functions
Juergen Spitzmueller [Sat, 17 Aug 2024 14:15:11 +0000 (16:15 +0200)]
remove useless warning
Juergen Spitzmueller [Sat, 17 Aug 2024 11:22:42 +0000 (13:22 +0200)]
harmonize indendation
José Matos [Fri, 16 Aug 2024 16:33:14 +0000 (17:33 +0100)]
Add another option to get python by using the unversioned name
Juergen Spitzmueller [Fri, 16 Aug 2024 09:23:57 +0000 (11:23 +0200)]
Consider known latex text macros (basically the logos) in convertaTeXCommands()
Juergen Spitzmueller [Thu, 15 Aug 2024 15:44:01 +0000 (17:44 +0200)]
further improve get_quoted_value
as per José's suggestion
Thibaut Cuvelier [Thu, 15 Aug 2024 13:40:31 +0000 (15:40 +0200)]
Fix typo in comment.
Juergen Spitzmueller [Thu, 15 Aug 2024 11:11:20 +0000 (13:11 +0200)]
style
Juergen Spitzmueller [Thu, 15 Aug 2024 07:06:14 +0000 (09:06 +0200)]
revert_nomencl: escape " and \ for command inset
Juergen Spitzmueller [Thu, 15 Aug 2024 06:51:18 +0000 (08:51 +0200)]
forgotten subindex
Juergen Spitzmueller [Thu, 15 Aug 2024 06:05:31 +0000 (08:05 +0200)]
fix convert_index_sc method
Juergen Spitzmueller [Thu, 15 Aug 2024 06:04:48 +0000 (08:04 +0200)]
fix get_quoted_value
The previous version also stripped quotes that are part of the string
Juergen Spitzmueller [Wed, 14 Aug 2024 14:28:15 +0000 (16:28 +0200)]
Disable valign widget in tabularx tables
See https://marc.info/?l=lyx-users&m=
172363857509065 &w=2
Juergen Spitzmueller [Wed, 14 Aug 2024 14:27:20 +0000 (16:27 +0200)]
Unbreak GuiTabular::fucEnabled()
I wonder how long this has been broken (if it ever worked)
jpc [Wed, 14 Aug 2024 09:41:15 +0000 (11:41 +0200)]
Update fr.po
Enrico Forestieri [Tue, 13 Aug 2024 20:51:40 +0000 (22:51 +0200)]
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.
Kornel Benko [Tue, 13 Aug 2024 07:05:40 +0000 (09:05 +0200)]
Update sk.po
Juergen Spitzmueller [Tue, 13 Aug 2024 05:26:08 +0000 (07:26 +0200)]
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
Juergen Spitzmueller [Mon, 12 Aug 2024 16:26:13 +0000 (18:26 +0200)]
de.po
Juergen Spitzmueller [Mon, 12 Aug 2024 15:10:57 +0000 (17:10 +0200)]
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.
Juergen Spitzmueller [Mon, 12 Aug 2024 12:28:59 +0000 (14:28 +0200)]
Omit escape-chars in pass_thru context
Juergen Spitzmueller [Mon, 12 Aug 2024 11:15:02 +0000 (13:15 +0200)]
remove unused param
Juergen Spitzmueller [Mon, 12 Aug 2024 10:54:55 +0000 (12:54 +0200)]
Document an advanced nomencl use (#6996)
Juergen Spitzmueller [Mon, 12 Aug 2024 10:35:07 +0000 (12:35 +0200)]
update tex2lyx tests
Juergen Spitzmueller [Mon, 12 Aug 2024 10:33:16 +0000 (12:33 +0200)]
Transform InsetNomenclature to a collapsible
Fixes: #10460, #12595, #6353
Juergen Spitzmueller [Mon, 12 Aug 2024 10:29:14 +0000 (12:29 +0200)]
Update layout formats
Juergen Spitzmueller [Mon, 12 Aug 2024 10:25:31 +0000 (12:25 +0200)]
Add EscapeChars layout tag
This allows to define chars to be escape and an escape character
Needed in index and nomenclature
jpc [Sat, 10 Aug 2024 16:03:59 +0000 (18:03 +0200)]
Update fr.po
Pavel Sanda [Fri, 9 Aug 2024 07:47:36 +0000 (09:47 +0200)]
Header not needed.
Pavel Sanda [Fri, 9 Aug 2024 07:45:12 +0000 (09:45 +0200)]
Header not needed.
Juergen Spitzmueller [Fri, 9 Aug 2024 06:44:03 +0000 (08:44 +0200)]
Some documentation for reference-to-paragraph
Juergen Spitzmueller [Fri, 9 Aug 2024 06:30:29 +0000 (08:30 +0200)]
reference-to-paragraph for footnotes
Juergen Spitzmueller [Fri, 9 Aug 2024 05:40:17 +0000 (07:40 +0200)]
de/Additional: stick with 2.4 file format
Juergen Spitzmueller [Fri, 9 Aug 2024 05:01:13 +0000 (07:01 +0200)]
de/Additional: eLyXer removal
Richard Kimberly Heck [Thu, 8 Aug 2024 15:03:56 +0000 (11:03 -0400)]
Check changes from eLyXer removal
Pavel Sanda [Wed, 7 Aug 2024 20:55:49 +0000 (22:55 +0200)]
* RELEASE-NOTES
Pavel Sanda [Wed, 7 Aug 2024 20:53:12 +0000 (22:53 +0200)]
Drop eLyXer, part2.
Removed parts of xHTML-related notes explaining elyxer,
reworded little bit. Native speaker might want to review.
Pavel Sanda [Wed, 7 Aug 2024 20:51:24 +0000 (22:51 +0200)]
Drop eLyXer, part1.
Last release 2013, no more present as distro package, python2 requirement.
Juergen Spitzmueller [Wed, 7 Aug 2024 12:45:26 +0000 (14:45 +0200)]
enhance debug message (see #13087)
Juergen Spitzmueller [Wed, 7 Aug 2024 08:55:18 +0000 (10:55 +0200)]
de.po
Kornel Benko [Wed, 7 Aug 2024 08:46:04 +0000 (10:46 +0200)]
Update sk.po
Juergen Spitzmueller [Wed, 7 Aug 2024 07:11:35 +0000 (09:11 +0200)]
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.
Richard Kimberly Heck [Tue, 6 Aug 2024 18:50:29 +0000 (14:50 -0400)]
Restore obvious shortcut
Richard Kimberly Heck [Tue, 6 Aug 2024 15:31:35 +0000 (11:31 -0400)]
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.
Juergen Spitzmueller [Tue, 6 Aug 2024 14:29:55 +0000 (16:29 +0200)]
Add plt as gnuplot extension (#11148)
This seems to be the common one on Windows
Juergen Spitzmueller [Tue, 6 Aug 2024 08:57:11 +0000 (10:57 +0200)]
set toc_string_ before the label is being truncated
We do not want truncated items in the outliner.
Richard Kimberly Heck [Mon, 5 Aug 2024 22:11:24 +0000 (18:11 -0400)]
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.
Pavel Sanda [Mon, 5 Aug 2024 21:08:39 +0000 (23:08 +0200)]
* README.localization - add description from Juergen's reply in #1308.
Juergen Spitzmueller [Mon, 5 Aug 2024 08:31:20 +0000 (10:31 +0200)]
Update Polish translation (from Tomasz Kołodziejski)
Juergen Spitzmueller [Mon, 5 Aug 2024 08:28:31 +0000 (10:28 +0200)]
Add Tomasz Kołodziejski to the credits
Kornel Benko [Fri, 2 Aug 2024 06:58:44 +0000 (08:58 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 1 Aug 2024 10:16:10 +0000 (12:16 +0200)]
Disambiguate string
At least in German "label" in a form and "label" as in \label
translate differently
Juergen Spitzmueller [Thu, 1 Aug 2024 10:07:03 +0000 (12:07 +0200)]
de.po
Juergen Spitzmueller [Tue, 30 Jul 2024 13:30:41 +0000 (15:30 +0200)]
Amend
9464f0526ef
Simplify function
Juergen Spitzmueller [Tue, 30 Jul 2024 10:36:20 +0000 (12:36 +0200)]
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
Juergen Spitzmueller [Tue, 30 Jul 2024 07:24:19 +0000 (09:24 +0200)]
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)
Juergen Spitzmueller [Mon, 29 Jul 2024 07:11:42 +0000 (09:11 +0200)]
typo
Juergen Spitzmueller [Mon, 29 Jul 2024 07:08:13 +0000 (09:08 +0200)]
rename Paragraph::getLabel()
getLabel() usually refers to a paragraph label (e.g. \item) in this
context, not \label as in the case here.
Juergen Spitzmueller [Mon, 29 Jul 2024 06:46:43 +0000 (08:46 +0200)]
fixup definition of LFUN_REFERENCE_TO_PARAGRAPH
Juergen Spitzmueller [Sun, 28 Jul 2024 13:59:06 +0000 (15:59 +0200)]
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.
Juergen Spitzmueller [Sun, 28 Jul 2024 13:54:55 +0000 (15:54 +0200)]
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)
Juergen Spitzmueller [Sun, 28 Jul 2024 13:53:05 +0000 (15:53 +0200)]
Allow DocIterator::paragraphGotoArgument() to return id() without pos()
We need this for the forthcoming reference-to-paragraph function
Juergen Spitzmueller [Sun, 28 Jul 2024 13:52:19 +0000 (15:52 +0200)]
Implement Paragraph::getLabel()
This function returns the first label (as string) if there is any
José Matos [Sun, 28 Jul 2024 08:56:29 +0000 (09:56 +0100)]
Clean python code (lyx2lyx)
Please linter where it makes sense:
* Avoid bare exceptions;
* Use formatted strings instead of string interpolation
Juergen Spitzmueller [Sun, 28 Jul 2024 08:37:30 +0000 (10:37 +0200)]
re-implement LFUN_REFERENCE_INSERT
this is in preparation of another feature
Juergen Spitzmueller [Sat, 27 Jul 2024 11:34:38 +0000 (13:34 +0200)]
amend
d4f58c96b5d
avoid having to validate the whole buffer just for this information
Juergen Spitzmueller [Sat, 27 Jul 2024 10:46:12 +0000 (12:46 +0200)]
Load geometry after graphics
Newer graphics driver overwrite some (output) page settings otherwise
See https://tex.stackexchange.com/a/384952/19291
Re-fixes #10970
Juergen Spitzmueller [Fri, 26 Jul 2024 16:48:31 +0000 (18:48 +0200)]
GuiLog: show also log files of additional indices
Juergen Spitzmueller [Fri, 26 Jul 2024 10:48:12 +0000 (12:48 +0200)]
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!
Jean-Marc Lasgouttes [Thu, 25 Jul 2024 16:30:38 +0000 (18:30 +0200)]
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.
Juergen Spitzmueller [Thu, 25 Jul 2024 07:18:01 +0000 (09:18 +0200)]
Avoid loop in math parsing function
Jean-Marc Lasgouttes [Wed, 24 Jul 2024 20:19:32 +0000 (22:19 +0200)]
Do not update statisitics if buffer has not changed
Rely on the newly-introduced Buffer::id() to skip statistics
computation if the id is the same as last time. This will reduce the
annoyance of updates triggering at random times.
Take this occasion to clean code up:
- add 'skip' parameter (true by default) to Statistics::update to indicate
that the insets that do not produce output should be skipped.
- use a trailing underscrore for private members
Juergen Spitzmueller [Wed, 24 Jul 2024 19:42:56 +0000 (21:42 +0200)]
amend
9291fc465b0d
XHTML wants LaTeX math, nothing converted to unicode
Jean-Marc Lasgouttes [Wed, 24 Jul 2024 19:08:53 +0000 (21:08 +0200)]
fix warning
Pavel Sanda [Wed, 24 Jul 2024 17:55:05 +0000 (19:55 +0200)]
Squash gcc warning.
Jean-Marc Lasgouttes [Wed, 24 Jul 2024 16:51:35 +0000 (18:51 +0200)]
Fixup
6e81f317 : cut and paste error
Jean-Marc Lasgouttes [Sat, 20 Jul 2024 20:31:34 +0000 (22:31 +0200)]
Do not run updateMacros if the buffer has not changed
Each buffer now has an id which is increased when it is marked dirty
(or when one of its relatives is marked dirty).
This can be a big win since updateMacros is very expensive.
Jean-Marc Lasgouttes [Sun, 21 Jul 2024 20:09:28 +0000 (22:09 +0200)]
Rewrite statistics code
The statistics code is known to be very slow, because it relies on
DocIterator to go through the buffer.
This commit introduces a new Statistics class that encapsulates the
main code, along a virtual method Inset::updateStatistics() that
allows to fine-tune how counting is done inset by inset.
This is a faithful bug-for-bug reimplementation.
The new code appears to be 3x faster than the old one.
See bug #12929 for a discussion about statistics update woes.
Scott Kostyshak [Wed, 24 Jul 2024 15:00:51 +0000 (11:00 -0400)]
Amend previous commit (
4b33e603 )
Jürgen confirmed that the layout change to the last file is indeed
expected [1].
[1] https://www.mail-archive.com/search?l=mid&q=
e00fb2e29dfd77b992761aaa1f822fc979059728 .camel%40lyx.org