Commit Graph

114 Commits

Author SHA1 Message Date
Juergen Spitzmueller
1138b3875b Implement support for classico font package (#13124)
This is only an alternative to the classico font we already support
(uop), hence no file format change.

(cherry picked from commit 360bb1fa7c
amendment from 51f4fc7f67 is included)
2024-11-13 17:14:54 +01:00
Jean-Marc Lasgouttes
4659e4c716 typo (I think) 2024-11-09 20:11:40 +01:00
Juergen Spitzmueller
a8d90cde6f Fix spacing problems in previews with math macros (#13120)
This occurs on the legacy path when no cropping tools are available.

(cherry picked from commit 9ffacb341d)
2024-11-07 18:34:26 +01:00
Juergen Spitzmueller
4137bf116e Fix AboutLyX layout
* remove wrong (sub)namespaces. This are inserted by newer versions of
  designer, although they are wrong
* add vertical spacer
* make horizontal spacer expand

(cherry picked from commit 11cbc3c4a7)
2024-11-02 12:27:23 -04:00
Juergen Spitzmueller
008c7cfa47 Fix loading order of fancyhdr (#13118)
This must be loaded after geometry (amends ca4fc01847)

(cherry picked from commit 561aa8bb32)
2024-11-01 16:15:12 +01:00
Juergen Spitzmueller
b185ffeddc Check for NULL pointer earlier
Reported by Coverity

(cherry picked from commit 5ec247a957)
2024-10-20 17:49:21 -04:00
Richard Kimberly Heck
4e2b1e1bbb Update gmo files 2024-10-19 13:48:34 -04:00
Juergen Spitzmueller
097e24f8b5 de/Customization: include new sections on DocBook 2024-10-18 17:06:09 +02:00
Juergen Spitzmueller
d0b559a31d Improve version test in chkconfig
This now only loads the package until it has the version information
and then ends the package input.

This way, we do not need to care about package peculiarities (having
to be loaded after \documentclass or internal dependencies which, if
not given, might break the whole configuration, see #13112)
2024-10-18 10:10:41 +02:00
Juergen Spitzmueller
19fedea29a Fix hyphenation patterns check with recent babel
This was broken since 2016.

See discussion in https://www.lyx.org/trac/ticket/13112
2024-10-18 10:09:35 +02:00
Richard Kimberly Heck
3f636a61b9 Status 2024-10-17 17:51:03 -04:00
Jean-Marc Lasgouttes
e78b2b4e87 Give a layout name to math HullInset
This makes it accessible to inset-forall.

(cherry picked from commit f4a3f4f29b)
2024-10-17 10:21:33 +02:00
Jean-Marc Lasgouttes
3cab29486d QFontMetrics::xHeight() is not always the ascent of 'x'
Use the real ascent of glyph 'x' as LyX 2.3.x did.
It can make a difference at least on Windows with many fonts.

Fixes bug #13100.

(cherry picked from commit 194b53ef9d)
2024-10-16 13:02:16 +02:00
Juergen Spitzmueller
eff2c34d41 Remove status entries of bugs that have been fixed with 2.4.2.1
There might be more to consider...
2024-10-14 16:16:47 +02:00
Juergen Spitzmueller
41d6d8b974 Document Kornel's link fixes
Also move the Swedish update to Updates (rather than bugfixes)
2024-10-12 09:57:57 +02:00
Juergen Spitzmueller
6a9677db4f Fix (biblatex) file encoding handling in GuiBibtex (#13109)
(cherry picked from commit 83006fc080)
2024-10-11 12:40:44 +02:00
Pavel Sanda
fde053dc57 * status.24x 2024-10-10 09:33:14 +02:00
Juergen Spitzmueller
fd6f8c28c3 Protect \inputencoding in i18npreamble
as it might end up in a moving argument (\lstlistlistingname in book
classes).

See https://marc.info/?l=lyx-devel&m=172812937932740

(cherry picked from commit a16e4b206a)
2024-10-07 09:36:00 +02:00
Juergen Spitzmueller
2df67b02f2 Bit more understandable status entry 2024-10-06 08:09:47 +02:00
Juergen Spitzmueller
478d59f5dd Adhere to semantic background color with default branches
This fixes color mismatched when "use system colors" is checked

See https://marc.info/?l=lyx-users&m=172797086718347

(cherry picked from commit 1f7e8d3ffe)
2024-10-05 12:53:45 -04:00
Pavel Sanda
f73b86132c PDF options: reflect in UI mutually exclusive colorlinks and frames.
Backport 601abfe929.
2024-10-01 20:34:42 +02:00
Juergen Spitzmueller
2051bfed43 Amend 770362da97
preview needs proper --lily-output-dir

(cherry picked from commit 135889c634)
2024-09-29 18:23:50 +02:00
Juergen Spitzmueller
f56fcd01a2 Allow negative offset in GuiLine (#13102)
(cherry picked from commit 2244ac3dee)
2024-09-26 08:14:59 +02:00
Juergen Spitzmueller
01c184b987 Work around bug in aa.cls 2024-09-25 14:34:34 +02:00
Juergen Spitzmueller
570ca77527 Work around bug in aa.cls 2024-09-25 11:53:03 +02:00
Jean-Marc Lasgouttes
cc1fca8868 Do not use big characters for some unicode points
This modifies LOGICAL AND, LOGICAL OR, INTERSECTION and UNION.

Fixes bug #13099.

(cherry picked from commit edf56d644d)
2024-09-23 19:57:48 +02:00
Juergen Spitzmueller
32bc034ef7 document changes for #1624 2024-09-22 11:59:39 +02:00
Juergen Spitzmueller
897fa08919 Only \protect labels in \thanks notes
See https://marc.info/?l=lyx-users&m=136394387505489
2024-09-21 13:36:55 -04:00
Richard Kimberly Heck
55f6f6365a Begin 2.4.3 development 2024-09-21 13:26:34 -04:00
Richard Kimberly Heck
89ed9ab0c2 Prepare for 2.4.2 2024-09-19 11:05:58 -04:00
Juergen Spitzmueller
5cb9b55162 Fix outliner tree depth (#13098) 2024-09-19 11:00:01 -04:00
Jean-Marc Lasgouttes
2c5f284f89 Initialize client's name in main()
Initializing clientName at declaration time is not a good idea.

Spotted by Coverity scan.

(cherry picked from commit 3d323412ad)
2024-09-10 12:02:32 +02:00
Jean-Marc Lasgouttes
615f035854 Do not forget to reset stream after std::hex
Spotted by Coverity scan.

(cherry picked from commit f4c02d670b)
2024-09-10 11:59:22 +02:00
Juergen Spitzmueller
a7e8397a84 adapt tex2lyx to 0beb790a6a
(cherry picked from commit f725abea05)
2024-09-09 18:11:08 -04:00
Richard Kimberly Heck
639563febc Update to simplified Chinese translation. 2024-09-04 21:36:18 -04:00
Jean-Marc Lasgouttes
4d46f766ea Avoid missing updates after some operations on selection
The logic at the end of Text::dispatch failed when needsUpdate and
singleParUpdate were true at the same time.
2024-08-31 16:12:59 +02:00
Jean-Marc Lasgouttes
5ca48a7a39 Fix update of cursor in tab-delete when there is a selection
The position of the cursor should not be decreased if it is already at
the start of the paragraph. This can lead to a crash when trying to
display the caret.

(cherry picked from commit 16be88ca18)
2024-08-31 16:12:59 +02:00
Jean-Marc Lasgouttes
d7e2ca377f Get rid of QPA_XCB define
Since the platform is selected at run time (e.g. xcb vs. Wayland), it
is not a good idea to decide at compile time what code is run. Another
example is on macOS, where having xcb libraries available will lead to
lauching the Xquartz whenever LyX is running.

With this patch, things are separated:
- the code is run when run-time platform is "xcb".
- the support code is compiled in when xcb header and libraries are
  available.

The cmake code is courtesy of Kornel Benko.

Fixes ticket #13086.

(cherry picked from commit 18c310a8cf)
(cherry picked from commit f1fddd86ef)
(cherry picked from commit 3bc4554e57)
(cherry picked from commit 8c14748e78)
2024-08-31 15:07:29 +02:00
Jean-Marc Lasgouttes
390f458122 Streamline -geometry command-line option support
Instead of baking our own support for -geometry command line option on
Windows (Qt only does that for Xcb), use the fact that Qt 5 provides
the equivalent -qwindowgeometry flag.

All we need to do is to replace the -geometry option with -qwindowgeometry.

This is part of the effort in ticket #13086 to get rid of the
compile-time QPA_XCB define.

(cherry picked from commit ce9de28f06)
2024-08-31 15:05:34 +02:00
Jean-Marc Lasgouttes
e2cf6731c0 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.

(cherry picked from commit 999fb37ebb)
(cherry picked from commit fe1a3b57df)
2024-08-30 11:11:10 +02:00
Richard Kimberly Heck
a8bc9c84eb Portuguese Brazilian update from Georger 2024-08-27 11:45:26 -04:00
Jean-Marc Lasgouttes
f06de64047 Force a metrics update of buffer after reload
It makes reload more robust and is in any case good enough to avoid
crash in #139091.

Fixes bug #13091.

(cherry picked from commit 52ec69a1af)
2024-08-27 14:07:51 +02:00
José Matos
f95e238ccd Python 3.13 removed the pipes module from the standard library
That module was a wrapper over the popen module and it was scheduled to
be removed in Python 3.11.

This code is also compatible with Python 2.

(cherry picked from commit d06a034578)
2024-08-27 08:50:11 +01:00
Richard Kimberly Heck
a02c2f2f80 Begin preps for 2.4.2 2024-08-21 11:28:20 -04:00
Pavel Sanda
3a68177562 Fix regression introduced via #12819.
Cherry-pick e322ef153.
2024-08-20 09:32:03 +02:00
Enrico Forestieri
e4ed568921 Update status.24x 2024-08-18 23:00:02 +02:00
Juergen Spitzmueller
7955854269 Document recent commits 2024-08-18 18:34:29 +02:00
Richard Kimberly Heck
3f7569edcd Add temporary directory to About LyX dialog
(cherry picked from commit e7af6afb01)
2024-08-17 19:37:37 -04:00
Juergen Spitzmueller
092911880a Disable valign widget in tabularx tables
See https://marc.info/?l=lyx-users&m=172363857509065&w=2

(cherry picked from commit c993485782)
2024-08-15 07:32:04 +02:00
Juergen Spitzmueller
b6cd31e99a Properly escape special characters (!, @, |) in nomenclature output 2024-08-12 18:22:57 +02:00