Commit Graph

46639 Commits

Author SHA1 Message Date
Udi Fogiel
ecbe5d263d Fix greyedout with RTL languages (#8647)
(cherry picked from commit ee43584140)
2024-06-10 15:09:00 +03:00
Udi Fogiel
d527a07731 fix a typo 2024-06-10 02:20:25 +03:00
Udi Fogiel
0681b32093 document recent fixes 2024-06-10 02:18:02 +03:00
Udi Fogiel
55b54c852a ammend 64aad586f4
Remove an empty auxiliary file that snuck in (sorry...)

(cherry picked from commit 61bee11a62)
2024-06-09 21:18:22 +03:00
Udi-Fogiel
7dcf9611d2 missing background in xetex and fix RTL stuff in preview
* 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 64aad586f4)
2024-06-09 21:18:22 +03:00
Richard Kimberly Heck
03870c0370 Fix bug #13028.
Bindings for 'join lines.

(cherry picked from commit 8655c83a90)
2024-06-09 14:13:56 -04:00
Daniel Ramoeller
259c89f45e Extend tab context menu features
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 a114f12868)
2024-06-09 13:50:10 -04:00
Richard Kimberly Heck
3c909daeea Merge branch '2.4.x' into 2.4.1-devel 2024-06-09 13:13:12 -04:00
Enrico Forestieri
4acc6e36e3 Fix textstyle-update handling in mathed
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 afb70c905b)
2024-06-09 13:10:15 -04:00
Juergen Spitzmueller
5a69b8a184 Return false on invalid input in Font::fromString()
Fixes crash with invalid font-update lfun

(cherry picked from commit 2a9648fc4c)
2024-06-09 13:10:05 -04:00
Scott Kostyshak
9c16e25a84 Fix Python warning of invalid escape in lyx_pot.py
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 325f1429f8)
2024-06-08 13:49:41 -04:00
Richard Kimberly Heck
e01397f1db Status 2024-06-07 15:59:38 -04:00
Richard Kimberly Heck
4bd03197d1 Fix table crash reported on Windows.
(cherry picked from commit 3e796c680a)
2024-06-07 15:59:38 -04:00
Juergen Spitzmueller
d4bd0f9b1e Strip quotes from PackageOptions. Amends a77c84a0b4
(cherry picked from commit 1449fbf9ae)
2024-06-06 19:00:34 +02:00
Jean-Marc Lasgouttes
312dacb7f3 Fixup 39c7199a: the code did not do what it was supposed to
(cherry picked from commit 92ef555abd)
2024-06-06 18:22:26 +02:00
Jean-Marc Lasgouttes
13a6be1f9c Do not draw appendix lines below en of document
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 7acfbe0fcc)
(cherry picked from commit c96d3a0340)
2024-06-06 18:18:02 +02:00
Pavel Sanda
2491c3669e Update tex info in readme 2024-06-05 20:45:22 +02:00
Pavel Sanda
36861d8d20 Some comments into bind file 2024-06-05 20:45:11 +02:00
Richard Kimberly Heck
e0cd7c0129 Update README 2024-06-04 11:25:58 -04:00
Udi-Fogiel
41f080c5ef avoid adding redundant preamble to double column hebrew documents (#12919) 2024-06-03 21:05:20 +03:00
Udi-Fogiel
768dd64ea7 he.po 2024-06-03 20:16:34 +03:00
Juergen Spitzmueller
bf2647c89f de.po 2024-06-03 18:04:53 +02:00
Juergen Spitzmueller
c0df9e193c Show full inset context-menu when clicking on text part of collapsible (#10370)
Re-fix this since #12907 has been resolved

(cherry picked from commit 7a85b1b7ca)
2024-06-03 17:58:09 +02:00
Richard Kimberly Heck
90ab21e0e9 Fix table crash reported on Windows.
(cherry picked from commit 3e796c680a)
2024-06-03 11:39:42 -04:00
Kornel Benko
f46c63d180 Update sk.po 2024-06-03 09:17:19 +02:00
Kornel Benko
5fdbd2cf32 Adv. F&R: strange dialog text
Fixes #12997
Added 'Scope' to better indicate the searched area.
2024-06-03 08:23:35 +02:00
Richard Kimberly Heck
63b23ce288 Fix bug #13066
Patch from Lorenzo

(cherry picked from commit 0c70f340c0)
2024-06-02 23:08:05 -04:00
Richard Kimberly Heck
160084af3c Copy French manuals from 2.4.x branch 2024-06-02 22:23:38 -04:00
Kornel Benko
6186506033 Cmake build: Initialize variable 'CMAKE_INSTALL_PREFIX' before use
Spotted by Eugene Chornyi <yu_jin@lyx.org>

(cherry picked from commit ea74574d8f)
2024-06-02 22:17:58 -04:00
Kornel Benko
29282c1e13 Cmake build: Make QT5-compilation be default
(cherry picked from commit c971974f33)
2024-06-02 22:17:21 -04:00
Richard Kimberly Heck
701c763221 Merge branch '2.4.x' into 2.4.1-devel 2024-06-02 21:49:54 -04:00
Richard Kimberly Heck
1d7c8325f2 Put new citation after selected item rather than at end of list.
Fixes bug #12940.

Patch from Daniel.

(cherry picked from commit 40ae8644f9)
2024-06-02 20:54:46 -04:00
Thibaut Cuvelier
37a865762b XHTML: export paragraph IDs also for list items, but not for the opening tag of the list.
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.
2024-06-02 11:59:41 +02:00
Thibaut Cuvelier
c5b1ce5f37 Make comment clearer. 2024-06-02 11:59:18 +02:00
Thibaut Cuvelier
b3d911ef57 InsetInfo: no need to output + explicitly in a shortcut, it is already contained in the sequence. 2024-06-02 11:59:13 +02:00
Richard Kimberly Heck
bf412b1797 One more 2024-06-01 20:24:15 -04:00
Richard Kimberly Heck
bb8989ac77 Status for last few commits 2024-06-01 20:23:08 -04:00
Jean-Marc Lasgouttes
342a0f5438 Fix display of math hull inset in RTL context
The inversion of margin was done in the wrong way for RTL support.

(cherry picked from commit b469c142ad)
2024-06-01 21:47:53 +02:00
Richard Kimberly Heck
c97375e46d Fix bug #12934
(cherry picked from commit 6484dce51b)
2024-06-01 13:05:42 -04:00
Jean-Marc Lasgouttes
2699a58cd7 Set buffer when creating a MathData from parts of another one
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 ed2f3cb9cf)
2024-06-01 18:45:43 +02:00
Jean-Marc Lasgouttes
76188dcdf1 Try to make sure that math insets have a properly set buffer_ member
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 f3c5ff9cb7)
2024-06-01 18:45:43 +02:00
Richard Kimberly Heck
d780091990 Fix bug #11796.
Toolbars are now locked by default. Unlocked state should be saved
by Qt as a session variable.

Patch from Daniel.

(cherry picked from commit 42a8463aab)
2024-06-01 12:45:19 -04:00
Richard Kimberly Heck
26ab818033 Fix bug #8856.
Show values of cross-references in tooltips.

(cherry picked from commit 2a1c3dce57)
2024-06-01 12:37:05 -04:00
Richard Kimberly Heck
b78bcc2eb2 Fix bug #12981
(cherry picked from commit 61181a3977)
2024-06-01 11:59:39 -04:00
Juergen Spitzmueller
91e90a7c1c Reset require_fresh_start_ after buffer has been viewed/exported
The LFUN buffer-reset-export states to start afresh the export for the
next run, but in fact, the boolean was never reset, so that this was
done for all subsequent runs unless the buffer had been closed and
reopened.

Now the lfun does what it states and only acts on the next pass.

(cherry picked from commit e1cb15ee5d)
2024-06-01 11:39:04 -04:00
Kornel Benko
1f6f3b4f0a Update sk.po 2024-06-01 14:06:26 +02:00
Kornel Benko
3235e41e1f Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
Restrict the removing to math insets

(cherry picked from commit f248b003a9)
2024-06-01 13:40:56 +02:00
Kornel Benko
fca59304da FindAdv: sometimes a space is added on some math symbols
For example '\int '.
Should fix regression #13070
Spotted  by Alexander Dunlap

(cherry picked from commit 4730ec78f5)
(cherry picked from commit 6c3447c8a6)
2024-06-01 13:40:08 +02:00
Richard Kimberly Heck
d752ba3376 Begin 2.4.1 development 2024-05-31 19:43:36 -04:00
Richard Kimberly Heck
002ca26620 Minor update 2024-05-31 19:42:35 -04:00