Commit Graph

46498 Commits

Author SHA1 Message Date
Juergen Spitzmueller
234dc0b6b2 Correct status entry 2024-06-15 19:33:26 +02:00
Richard Kimberly Heck
0c8988f4dd Add status 2024-06-15 13:32:17 -04:00
Juergen Spitzmueller
6b3782e07b Prevent division by zero
Fixes crash reported at
https://marc.info/?l=lyx-users&m=171842978728676

(cherry picked from commit 0fc8ee5ace)
2024-06-15 12:05:48 -04:00
Pavel Sanda
f10c94e28a Regenerate LFUNs.lyx 2024-06-15 10:32:26 +02:00
Richard Kimberly Heck
d54ed5569d Update doc info for quote-insert 2024-06-15 10:30:43 +02:00
Juergen Spitzmueller
a73125d07c de.po 2024-06-11 14:30:47 +02:00
Kornel Benko
407d1a2a80 Update sk.po 2024-06-11 13:29:19 +02:00
Alexander Dunlap
415932359a FindAdv: Omitting cursor advance at start of search if in mathed.
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)
2024-06-10 20:08:39 +02:00
Udi Fogiel
f04ffb2513 Fix change tracking colors with RTL languages (#12923)
(cherry picked from commit a5749b9c1f)
2024-06-10 15:20:16 +03:00
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