Fixes#13070 Advanced S&R does not find math symbols at start of document
(Should be cherry-pick of 8c501308, but due to merge conflicts its done
manually)
* previwes with xetex did not produce any background (\pagecolor does not work for some reason), adding the direct command for that, \special{background <color>} inside the preview box solved it.
* similar to #12923 we should push the color node in horizontal mode
* there is a bug in preview with LuaTeX with main RTL language, this commit fix this bug, but it should be removed when it is fixed upstream (the code related to \pr@set@pagerightoffset)
(cherry picked from commit 64aad586f49b9047082356e5f217fc6147ac9500)
Add
- Close Other Tabs
- Close Tabs to Left/Right
- Move Tab to Start/End
- Show Enclosing Folder
to the tabs context menus.
Fix for bug #11963
(cherry picked from commit a114f12868f8b48b9507aa22bf4156af0062ac97)
The code was expecting that all properties were specified
in the argument and not only some. Simply do not process
those properties not specified in the argument.
(cherry picked from commit afb70c905b526ec6fdc5ed66afe800fcd705b425)
Newer Python versions (e.g., Python 3.12.3) gave the following
warning:
po/lyx_pot.py:607: SyntaxWarning: invalid escape sequence '\w'
An alternative fix would be to double the backslash, but that might
be less readable than this fix.
(cherry picked from commit 325f1429f83d7ce1d35404c3f99a31d19c0dbe45)
This bug is pretty old, but it was not visible because the grey area
below the document would overwrite it.
It would be better to close the frame at the end of the document, but
this is for later.
(cherry picked from commit 7acfbe0fccc729dcf5d910a4049b25e9943329fc)
(cherry picked from commit c96d3a03400893f440dca7e68ed87bd70bea0b39)
The IDs are used to link to specific elements (for instance, the User's guide nomenclature).
The beginning of the list (<ul> or <ol>) has the same magic ID as the first item of the list.
This is triggered by selecting part of an equation under Xcb platform
(x11). Indeed, the current selection has to be sent to the X11 server
and BufferView::requestSelection() is called. Eventually
cap::grabSelection() is the function that creates this partial
MathData object.
Fixes ticket #12947.
(cherry picked from commit ed2f3cb9cfa1e871d48a92d41791a77bd218ab67)
Set the buffer of contents that is added to a MathData object through
MathData::insert() (both versions)
MathData::push_back()
asArray()
Also in math macros, initialize look_ with the relevant buffer.
This reduces the number of insets hat do not have a proper buffer.
See #13050 for discussion of this issue.
(cherry picked from commit f3c5ff9cb72c5231f1e1e81452e67d6f12dadecb)