]> git.lyx.org Git - lyx.git/log
lyx.git
4 weeks agoFix regression introduced via #12819.
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

4 weeks agoHeader not needed anymore.
Pavel Sanda [Mon, 19 Aug 2024 19:47:16 +0000 (21:47 +0200)]
Header not needed anymore.

4 weeks agode.po
Juergen Spitzmueller [Sun, 18 Aug 2024 16:41:52 +0000 (18:41 +0200)]
de.po

4 weeks agoImprove output pane, as discussed in #12372
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)

4 weeks agoAdd "needcopiesfrom" converter flag
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)

4 weeks agoAssure widest nomencl label is encodable
Juergen Spitzmueller [Sun, 18 Aug 2024 07:59:37 +0000 (09:59 +0200)]
Assure widest nomencl label is encodable

4 weeks agoanother lyx2lyx fix for index
Juergen Spitzmueller [Sat, 17 Aug 2024 14:55:23 +0000 (16:55 +0200)]
another lyx2lyx fix for index

4 weeks agofix lyx2lyx functions
Juergen Spitzmueller [Sat, 17 Aug 2024 14:19:10 +0000 (16:19 +0200)]
fix lyx2lyx functions

4 weeks agoremove useless warning
Juergen Spitzmueller [Sat, 17 Aug 2024 14:15:11 +0000 (16:15 +0200)]
remove useless warning

4 weeks agoharmonize indendation
Juergen Spitzmueller [Sat, 17 Aug 2024 11:22:42 +0000 (13:22 +0200)]
harmonize indendation

4 weeks agoAdd another option to get python by using the unversioned name
José Matos [Fri, 16 Aug 2024 16:33:14 +0000 (17:33 +0100)]
Add another option to get python by using the unversioned name

4 weeks agoConsider known latex text macros (basically the logos) in convertaTeXCommands()
Juergen Spitzmueller [Fri, 16 Aug 2024 09:23:57 +0000 (11:23 +0200)]
Consider known latex text macros (basically the logos) in convertaTeXCommands()

5 weeks agofurther improve get_quoted_value
Juergen Spitzmueller [Thu, 15 Aug 2024 15:44:01 +0000 (17:44 +0200)]
further improve get_quoted_value

as per José's suggestion

5 weeks agoFix typo in comment.
Thibaut Cuvelier [Thu, 15 Aug 2024 13:40:31 +0000 (15:40 +0200)]
Fix typo in comment.

5 weeks agostyle
Juergen Spitzmueller [Thu, 15 Aug 2024 11:11:20 +0000 (13:11 +0200)]
style

5 weeks agorevert_nomencl: escape " and \ for command inset
Juergen Spitzmueller [Thu, 15 Aug 2024 07:06:14 +0000 (09:06 +0200)]
revert_nomencl: escape " and \ for command inset

5 weeks agoforgotten subindex
Juergen Spitzmueller [Thu, 15 Aug 2024 06:51:18 +0000 (08:51 +0200)]
forgotten subindex

5 weeks agofix convert_index_sc method
Juergen Spitzmueller [Thu, 15 Aug 2024 06:05:31 +0000 (08:05 +0200)]
fix convert_index_sc method

5 weeks agofix get_quoted_value
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

5 weeks agoDisable valign widget in tabularx tables
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

5 weeks agoUnbreak GuiTabular::fucEnabled()
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)

5 weeks ago Update fr.po
jpc [Wed, 14 Aug 2024 09:41:15 +0000 (11:41 +0200)]
       Update fr.po

5 weeks agoImprove detection of our math fonts
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.

5 weeks agoUpdate sk.po
Kornel Benko [Tue, 13 Aug 2024 07:05:40 +0000 (09:05 +0200)]
Update sk.po

5 weeks agoAdd InsertCotext tag to InsetLayout
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

5 weeks agode.po
Juergen Spitzmueller [Mon, 12 Aug 2024 16:26:13 +0000 (18:26 +0200)]
de.po

5 weeks agoEscape special chars in indexes
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.

5 weeks agoOmit escape-chars in pass_thru context
Juergen Spitzmueller [Mon, 12 Aug 2024 12:28:59 +0000 (14:28 +0200)]
Omit escape-chars in pass_thru context

5 weeks agoremove unused param
Juergen Spitzmueller [Mon, 12 Aug 2024 11:15:02 +0000 (13:15 +0200)]
remove unused param

5 weeks agoDocument an advanced nomencl use (#6996)
Juergen Spitzmueller [Mon, 12 Aug 2024 10:54:55 +0000 (12:54 +0200)]
Document an advanced nomencl use (#6996)

5 weeks agoupdate tex2lyx tests
Juergen Spitzmueller [Mon, 12 Aug 2024 10:35:07 +0000 (12:35 +0200)]
update tex2lyx tests

5 weeks agoTransform InsetNomenclature to a collapsible
Juergen Spitzmueller [Mon, 12 Aug 2024 10:33:16 +0000 (12:33 +0200)]
Transform InsetNomenclature to a collapsible

Fixes: #10460, #12595, #6353
5 weeks agoUpdate layout formats
Juergen Spitzmueller [Mon, 12 Aug 2024 10:29:14 +0000 (12:29 +0200)]
Update layout formats

5 weeks agoAdd EscapeChars layout tag
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

5 weeks ago Update fr.po
jpc [Sat, 10 Aug 2024 16:03:59 +0000 (18:03 +0200)]
    Update fr.po

5 weeks agoHeader not needed.
Pavel Sanda [Fri, 9 Aug 2024 07:47:36 +0000 (09:47 +0200)]
Header not needed.

5 weeks agoHeader not needed.
Pavel Sanda [Fri, 9 Aug 2024 07:45:12 +0000 (09:45 +0200)]
Header not needed.

5 weeks agoSome documentation for reference-to-paragraph
Juergen Spitzmueller [Fri, 9 Aug 2024 06:44:03 +0000 (08:44 +0200)]
Some documentation for reference-to-paragraph

5 weeks agoreference-to-paragraph for footnotes
Juergen Spitzmueller [Fri, 9 Aug 2024 06:30:29 +0000 (08:30 +0200)]
reference-to-paragraph for footnotes

5 weeks agode/Additional: stick with 2.4 file format
Juergen Spitzmueller [Fri, 9 Aug 2024 05:40:17 +0000 (07:40 +0200)]
de/Additional: stick with 2.4 file format

5 weeks agode/Additional: eLyXer removal
Juergen Spitzmueller [Fri, 9 Aug 2024 05:01:13 +0000 (07:01 +0200)]
de/Additional: eLyXer removal

6 weeks agoCheck changes from eLyXer removal
Richard Kimberly Heck [Thu, 8 Aug 2024 15:03:56 +0000 (11:03 -0400)]
Check changes from eLyXer removal

6 weeks ago* RELEASE-NOTES
Pavel Sanda [Wed, 7 Aug 2024 20:55:49 +0000 (22:55 +0200)]
* RELEASE-NOTES

6 weeks agoDrop eLyXer, part2.
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.

6 weeks agoDrop eLyXer, part1.
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.

6 weeks agoenhance debug message (see #13087)
Juergen Spitzmueller [Wed, 7 Aug 2024 12:45:26 +0000 (14:45 +0200)]
enhance debug message (see #13087)

6 weeks agode.po
Juergen Spitzmueller [Wed, 7 Aug 2024 08:55:18 +0000 (10:55 +0200)]
de.po

6 weeks agoUpdate sk.po
Kornel Benko [Wed, 7 Aug 2024 08:46:04 +0000 (10:46 +0200)]
Update sk.po

6 weeks agolyx_pot.py: Fix regex for \Format
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.

6 weeks agoRestore obvious shortcut
Richard Kimberly Heck [Tue, 6 Aug 2024 18:50:29 +0000 (14:50 -0400)]
Restore obvious shortcut

6 weeks agoFix bug with display of reference tooltips.
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.

6 weeks agoAdd plt as gnuplot extension (#11148)
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

6 weeks agoset toc_string_ before the label is being truncated
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.

6 weeks agoUse the old-style sorts of label strings in the TOC.
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.

6 weeks ago* README.localization - add description from Juergen's reply in #1308.
Pavel Sanda [Mon, 5 Aug 2024 21:08:39 +0000 (23:08 +0200)]
* README.localization - add description from Juergen's reply in #1308.

6 weeks agoUpdate Polish translation (from Tomasz Kołodziejski)
Juergen Spitzmueller [Mon, 5 Aug 2024 08:31:20 +0000 (10:31 +0200)]
Update Polish translation (from Tomasz Kołodziejski)

6 weeks agoAdd Tomasz Kołodziejski to the credits
Juergen Spitzmueller [Mon, 5 Aug 2024 08:28:31 +0000 (10:28 +0200)]
Add Tomasz Kołodziejski to the credits

6 weeks agoUpdate sk.po
Kornel Benko [Fri, 2 Aug 2024 06:58:44 +0000 (08:58 +0200)]
Update sk.po

7 weeks agoDisambiguate string
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

7 weeks agode.po
Juergen Spitzmueller [Thu, 1 Aug 2024 10:07:03 +0000 (12:07 +0200)]
de.po

7 weeks agoAmend 9464f0526ef
Juergen Spitzmueller [Tue, 30 Jul 2024 13:30:41 +0000 (15:30 +0200)]
Amend 9464f0526ef

Simplify function

7 weeks agoFixup LFUN_REFERENCE_TO_PARAGRAPH for captions in other buffers
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

7 weeks agofixup REFERENCE_TO_PARAGRAPH:
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)

7 weeks agotypo
Juergen Spitzmueller [Mon, 29 Jul 2024 07:11:42 +0000 (09:11 +0200)]
typo

7 weeks agorename Paragraph::getLabel()
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.

7 weeks agofixup definition of LFUN_REFERENCE_TO_PARAGRAPH
Juergen Spitzmueller [Mon, 29 Jul 2024 06:46:43 +0000 (08:46 +0200)]
fixup definition of LFUN_REFERENCE_TO_PARAGRAPH

7 weeks agoImplement reference-to-paragraph in outliner (#1624)
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.

7 weeks agoImplement LFUN_REFERENCE_TO_PARAGRAPH
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)

7 weeks agoAllow DocIterator::paragraphGotoArgument() to return id() without pos()
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

7 weeks agoImplement Paragraph::getLabel()
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

7 weeks agoClean python code (lyx2lyx)
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

7 weeks agore-implement LFUN_REFERENCE_INSERT
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

7 weeks agoamend d4f58c96b5d
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

7 weeks agoLoad geometry after graphics
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

7 weeks agoGuiLog: show also log files of additional indices
Juergen Spitzmueller [Fri, 26 Jul 2024 16:48:31 +0000 (18:48 +0200)]
GuiLog: show also log files of additional indices

7 weeks agoAdd support for multiple indexes in Memoir
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!

8 weeks agoFixup 999fb37e: always run updateMacros when in batch mode
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.

8 weeks agoAvoid loop in math parsing function
Juergen Spitzmueller [Thu, 25 Jul 2024 07:18:01 +0000 (09:18 +0200)]
Avoid loop in math parsing function

8 weeks agoDo not update statisitics if buffer has not changed
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

8 weeks agoamend 9291fc465b0d
Juergen Spitzmueller [Wed, 24 Jul 2024 19:42:56 +0000 (21:42 +0200)]
amend 9291fc465b0d

XHTML wants LaTeX math, nothing converted to unicode

8 weeks agofix warning
Jean-Marc Lasgouttes [Wed, 24 Jul 2024 19:08:53 +0000 (21:08 +0200)]
fix warning

8 weeks agoSquash gcc warning.
Pavel Sanda [Wed, 24 Jul 2024 17:55:05 +0000 (19:55 +0200)]
Squash gcc warning.

8 weeks agoFixup 6e81f317: cut and paste error
Jean-Marc Lasgouttes [Wed, 24 Jul 2024 16:51:35 +0000 (18:51 +0200)]
Fixup 6e81f317: cut and paste error

8 weeks agoDo not run updateMacros if the buffer has not changed
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.

8 weeks agoRewrite statistics code
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.

8 weeks agoAmend previous commit (4b33e603)
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

8 weeks agoUpdate layouts
Scott Kostyshak [Wed, 24 Jul 2024 14:14:34 +0000 (10:14 -0400)]
Update layouts

I do not commit the update to the following file since it has a
non-trivial change:

  lib/layouts/jlreq-common.inc

I'll ask for confirmation on the list before updating that file.

8 weeks agoDo not export the content of InsetMathBoxed as text in MathML
Jean-Marc Lasgouttes [Tue, 23 Jul 2024 21:44:58 +0000 (23:44 +0200)]
Do not export the content of InsetMathBoxed as text in MathML

\boxed{} is the only box in LaTeX that contains math. It is amusing
that the example file that we had for ticket #13609 should not have
been a problem since there is no reason to force <mtext> there.

8 weeks agoFixup 216a6fb348: close <mtext> when quitting text mode
Jean-Marc Lasgouttes [Tue, 23 Jul 2024 20:02:50 +0000 (22:02 +0200)]
Fixup 216a6fb348: close <mtext> when quitting text mode

This fixes malformed documents on UserGuide export.

Related to bug #13069.

8 weeks agoFixup 216a6fb3: fix broken xml syntax
Jean-Marc Lasgouttes [Tue, 23 Jul 2024 13:04:49 +0000 (15:04 +0200)]
Fixup 216a6fb3: fix broken xml syntax

This commit addresses two issues:

1/ the embarassing one: the member SetMode::old_text_level_ was
   declared as bool instead of int. This means that is was definitely
   not a proper backup variable!

2/ a robustness issue: replace two consecutive test for isTest() by a
   boolean veriable that is used twice. This makes sure that <mrow>
   cannot be output without the corresponding </mrow>.

Part of bug #13069.

8 weeks agoTypo
Richard Kimberly Heck [Mon, 22 Jul 2024 20:21:31 +0000 (16:21 -0400)]
Typo

8 weeks agoMake scrolling-by-selection smoother
Jean-Marc Lasgouttes [Sat, 20 Jul 2024 17:47:32 +0000 (19:47 +0200)]
Make scrolling-by-selection smoother

This trivial patch makes scrolling-by-selection smoother by dividing
the step size and the time between steps by 8 when generating
synthetic events in work area.

The scrolling speed is unchanged, but the result is visually better.

8 weeks agoFix crash when generating MathML with InsetMathBox
Jean-Marc Lasgouttes [Sat, 20 Jul 2024 10:15:32 +0000 (12:15 +0200)]
Fix crash when generating MathML with InsetMathBox

Instead of generating code and parsing it to add <mtext>...</mtext> at
the right spots, this commit honors the text mode setting that was
already present in the codebase to generate it automatically.

This is the work of two helper methods in MathMLStream:

* beforeText() notices when the stream is in text mode and that a
  <mtext> has not yet been generated. In this case it inserts it, so
  that raw text can be emitted afterwards.

* beforeTag() checks whether a <mtext> needs to be closed at this
  point, and does it if needed.

To make this work, the code now tracks the nesting level in the
stream, and compares it the what the level was when text mode has been
enabled using the SetMode helper function.

In order to avoid later bugs, member os() that allows to access the
underlying stream of MathMLStream is removed. This required many <<
operators to become friends of MathMLStream.

In InsetMathBox, rename splitAndWrapInMText() to mathmlizeHelper(),
which is not just a method that sets text mode inside a <mrow>
element.

In InsetMathFont and InsetMathHull, the explicit generation of nesting
in <mtext>...</mtext> can be removed now.

Fixes bug #13069.

8 weeks agoCleanup MathMLStream
Jean-Marc Lasgouttes [Fri, 19 Jul 2024 12:57:58 +0000 (14:57 +0200)]
Cleanup MathMLStream

This is preparatory work for fixing ticket #13069.

Remove direct accesses to the underlying stream of MathMLStream in
InsetMathChar, InsetMathSpecialChar, and in all << operators other
than MathMLStream << docstring. This will allow to add a hook later in
this operator.

Move default values of MathMLStream private members to their definition.

Get rid of line_ member, which is not used.

8 weeks agoRevert "Fix bug #13069."
Jean-Marc Lasgouttes [Fri, 19 Jul 2024 12:22:10 +0000 (14:22 +0200)]
Revert "Fix bug #13069."

This reverts commit fafe3ea5d7be1c06fb734e3bc621c551d617a6f7.

8 weeks agoRevert "Cmake build: Add Qt?Xml modules to build."
Jean-Marc Lasgouttes [Fri, 19 Jul 2024 12:20:53 +0000 (14:20 +0200)]
Revert "Cmake build: Add Qt?Xml modules to build."

This reverts commit 01160486974a69e62e0b21490454e8dc2e0a4c8e.

8 weeks agoRemove alpha component of system colors
Jean-Marc Lasgouttes [Mon, 22 Jul 2024 18:36:20 +0000 (20:36 +0200)]
Remove alpha component of system colors

When using system colors it may happen (on windows 11 in particular)
that the background color is actually translucid. This is not
something we are prepared to handle and it creates ghosts on screen.

The fix is easy: the alpha channel of the colors is set to 255.

Fixes bug #13084.

8 weeks ago Update fr.po
jpc [Mon, 22 Jul 2024 15:40:30 +0000 (17:40 +0200)]
       Update fr.po

8 weeks agoUpdate sk.po
Kornel Benko [Mon, 22 Jul 2024 11:59:27 +0000 (13:59 +0200)]
Update sk.po

8 weeks agoUserGuide: fix two nomencl entries
Juergen Spitzmueller [Mon, 22 Jul 2024 08:42:54 +0000 (10:42 +0200)]
UserGuide: fix two nomencl entries