Commit Graph

47037 Commits

Author SHA1 Message Date
Udi Fogiel
61bee11a62 ammend 64aad586f4
Remove an empty auxiliary file that snuck in (sorry...)
2024-06-09 21:06:25 +03:00
Enrico Forestieri
afb70c905b 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.
2024-06-09 13:06:35 +02:00
Udi-Fogiel
64aad586f4 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)
2024-06-09 13:36:35 +03:00
Juergen Spitzmueller
2a9648fc4c Return false on invalid input in Font::fromString()
Fixes crash with invalid font-update lfun
2024-06-09 08:09:01 +02:00
Juergen Spitzmueller
747a4a7946 rename function 2024-06-09 07:29:37 +02:00
Scott Kostyshak
325f1429f8 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.
2024-06-08 11:57:58 -04:00
Juergen Spitzmueller
f1742ee269 Implement InsetLayout::requiresPackage() 2024-06-08 13:02:26 +02:00
Jean-Marc Lasgouttes
a185642746 Text::dispatch: ignore single par update when there is a full update
Reorder the tests so that, when the flag Update::SinglePar has been
specified, it does not take precedence over Update::Force flag.

This fixes the crash with inset-split.
2024-06-07 16:52:04 +02:00
Jean-Marc Lasgouttes
c96d3a0340 Fixup 7acfbe0fcc: forgot to change one location 2024-06-06 17:27:24 +02:00
Jean-Marc Lasgouttes
7acfbe0fcc 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.
2024-06-06 14:38:20 +02:00
Jean-Marc Lasgouttes
92ef555abd Fixup de5f63eeb: the code did not do what it was supposed to 2024-06-06 08:40:50 +02:00
Juergen Spitzmueller
1449fbf9ae Strip quotes from PackageOptions. Amends a77c84a0b4 2024-06-06 06:58:33 +02:00
Pavel Sanda
18890c42b9 Update tex info in readme 2024-06-05 20:43:51 +02:00
Pavel Sanda
de781a7cff Some comments into bind file 2024-06-05 20:42:10 +02:00
Richard Kimberly Heck
b8cdfd1e1d Use ranges 2024-06-03 22:05:15 -04:00
Udi-Fogiel
51453c61d6 avoid adding redundant preamble to double column hebrew documents (#12919) 2024-06-03 21:06:10 +03:00
Udi-Fogiel
d5b6cd3486 he.po 2024-06-03 20:25:40 +03:00
Juergen Spitzmueller
bcf4bee721 de.po 2024-06-03 18:11:41 +02:00
Scott Kostyshak
adefdf8eeb Revert "Update layouts"
This reverts commit 7c041af642.

We will hold this back until we fix the issue discussed here:

  https://marc.info/?l=lyx-devel&m=171733833610242&w=2
2024-06-03 10:37:02 -04:00
Juergen Spitzmueller
7a85b1b7ca Show full inset context-menu when clicking on text part of collapsible (#10370)
Re-fix this since #12907 has been resolved
2024-06-03 16:12:15 +02:00
Kornel Benko
036419119e Update sk.po 2024-06-03 09:00:44 +02:00
Kornel Benko
a8a408223a Adv. F&R: strange dialog text
Fixes #12997
Added 'Scope' to better indicate the searched area.
2024-06-03 08:13:28 +02:00
Richard Kimberly Heck
0c70f340c0 Fix bug #13066
Patch from Lorenzo
2024-06-02 23:07:34 -04:00
Richard Kimberly Heck
3e796c680a Fix table crash reported on Windows. 2024-06-02 23:07:34 -04:00
Scott Kostyshak
7c041af642 Update layouts 2024-06-02 22:52:37 -04:00
Scott Kostyshak
2e227cceaf Whitespace 2024-06-02 22:52:18 -04:00
Juergen Spitzmueller
2a7ec054be Support half und full line parskip class options (#12946)
Currently only employed by the KOMA classes.

Layout format change.
2024-06-02 11:41:54 +02:00
Richard Kimberly Heck
40ae8644f9 Put new citation after selected item rather than at end of list.
Fixes bug #12940.

Patch from Daniel.
2024-06-01 20:26:06 -04:00
Daniel Ramoeller
a114f12868 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
2024-06-01 19:25:14 +02:00
Richard Kimberly Heck
6484dce51b Fix bug #12934 2024-06-01 13:05:12 -04:00
Richard Kimberly Heck
42a8463aab Fix bug #11796.
Toolbars are now locked by default. Unlocked state should be saved
by Qt as a session variable.

Patch from Daniel.
2024-06-01 12:43:56 -04:00
Richard Kimberly Heck
2a1c3dce57 Fix bug #8856.
Show values of cross-references in tooltips.
2024-06-01 12:36:00 -04:00
Richard Kimberly Heck
66cfc6af3c Remove setBuffer call in Cursor::push.
This is potentially slow. It also should be unnecessary after
some of JMarc's recent commits. See bug #13050.
2024-06-01 12:06:39 -04:00
Richard Kimberly Heck
61181a3977 Fix bug #12981 2024-06-01 11:52:05 -04:00
Richard Kimberly Heck
20ea874c17 Fix bug #12981 2024-06-01 11:48:04 -04:00
Juergen Spitzmueller
2e1c800eb8 update tex2lyx tests 2024-06-01 13:50:41 +02:00
Juergen Spitzmueller
d2db74f9ee Add support for glue length in parskip (#12867) 2024-06-01 13:47:39 +02:00
Juergen Spitzmueller
e1cb15ee5d 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.
2024-06-01 09:06:44 +02:00
Kornel Benko
f248b003a9 Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
Restrict the removing to math insets
2024-05-31 09:15:59 +02:00
Kornel Benko
6c3447c8a6 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)
2024-05-29 14:21:03 +02:00
Eugene Chornyi
a6d0d7ea92 Wininstaller Qt6.7 changed file name 2024-05-26 09:35:10 +02:00
Kornel Benko
f01141a77d Cmake build: Initialize variable 'CMAKE_INSTALL_PREFIX' before use
Spotted by Eugene Chornyi <yu_jin@lyx.org>

(cherry picked from commit ea74574d8f)
2024-05-24 20:33:51 +02:00
Juergen Spitzmueller
ae1ddcbda0 InsetNote: pass on inset-modify lfuns addressed at other insets (#13068) 2024-05-24 14:19:18 +02:00
Thibaut Cuvelier
ce5f84ff02 XHTML: in InsetGraphics, use the bounding box that LyX computes for each image instead of using the scale. 2024-05-20 17:00:15 +02:00
Scott Kostyshak
4b9519aeea ctests: keep a DocBook test inverted for test file
DocBook is not currently expected to work with Beamer.
2024-05-20 10:21:10 -04:00
Scott Kostyshak
ceb7e3ef14 ctests: mark a fixed export test as fixed
The ed62816e test file was fixed at 6ef18c35.
2024-05-20 10:21:10 -04:00
Juergen Spitzmueller
d3d8b3d748 Update aastex63.layout according to https://journals.aas.org/aastexguide/#acknowledgments 2024-05-20 16:10:23 +02:00
Juergen Spitzmueller
44633c7f72 Address Qt 6.7 deprecation warning 2024-05-20 09:49:10 +02:00
Juergen Spitzmueller
10b5f03d95 Initialize is_long_tabular before updateIndexes() (which employs it) 2024-05-20 08:50:39 +02:00
Juergen Spitzmueller
6ef18c3583 Limit the nopassthurchars case in beamer to URL
and also generally extend to classes that provide hyperref
2024-05-20 08:26:03 +02:00