Commit Graph

46328 Commits

Author SHA1 Message Date
Juergen Spitzmueller
101363352c Tentative fix for the inset problems on Mac (#12418, maybe #12820, #12279)
This is committed now in order to get testing from Mac users in the next
prerelease. Subject to change or even reversion.
2023-08-21 19:20:06 +02:00
Scott Kostyshak
677dc3b7a6 Python fixes from José Matos
See here:

  https://www.mail-archive.com/search?l=mid&q=a7960223ee91696e916b281d1d9fc55df10a9480.camel%40gmail.com

Description from José pasted below:

  Functions `length_in_bp` and `revert_flex_inset` have an error in a
  (almost) never used path. The reason why this was never triggered is
  because this is part of the code where we try all the best efforts
  to recover from an ill-formed LyX file.

  The problem is that the functions call the `document` variable to
  issue an warning if the file does not follow the usual structure.
  The simple fix is to add that variable (as the first for the
  functions) and to add them at all the places where the functions are
  called.

  For reference this code was introduced by Georg (Baum) more than 8
  years ago and it was never reported. So the issue is not urgent in
  any meaningful way. :-)

  In `lyx2lyx/lyx_2_0.py`, in the function `revert_nameref`, there is
  a call to the document variable. The same as all the above.

  In `lyx2lyx/lyx_2_4.py`, in the `class fontmapping`. Similar to the
  above but now for error.
2023-08-19 22:08:08 -04:00
Richard Kimberly Heck
784a7210ba Use master buffer setting when exporting 2023-08-18 19:25:04 -04:00
Scott Kostyshak
ccd88246a9 supported-languages: update info on font subs
Consistent with 008e1cc9.
2023-08-18 11:24:34 -04:00
Scott Kostyshak
946b750090 supported-languages.lyx: update format 2023-08-18 11:22:07 -04:00
Stephan Witt
d409555bda Amend change 5c8e3a5f0d - correct include directives 2023-08-18 12:52:25 +02:00
Juergen Spitzmueller
15f9129a26 Improve readability of code and comments 2023-08-18 10:02:48 +02:00
Juergen Spitzmueller
fe57b19294 Mirror all delimiters in RTL context with luabidi, regardless of the language or script (#12881)
Patch by Udi Fogiel
2023-08-18 09:20:26 +02:00
Juergen Spitzmueller
5c8e3a5f0d Remove Qt < 5.2 conditionals and special code
We require Qt 5.2 at least for LyX 2.4
2023-08-18 09:04:12 +02:00
Scott Kostyshak
008e1cc963 Fix font substitutions of Thai documents
The substitutefont package is obsoleted now on TL because the
required functionality is in the kernel. See here:

  https://ctan.org/pkg/substitutefont
2023-08-17 22:17:02 -04:00
Pavel Sanda
1e4f913847 * lyxpaperview.py - non-waiting process call for all cases. 2023-08-17 23:36:18 +02:00
Juergen Spitzmueller
5d084c86c9 Add direction switch with Babel/bidi (#12864)
Patch by Udi Fogiel
2023-08-17 14:29:23 +02:00
Juergen Spitzmueller
315c2f132a Account for babel's bidi option (#12866)
bidi=bidi-{r,l} load the bidi package
2023-08-17 14:25:33 +02:00
Richard Kimberly Heck
a6b83b7444 Make code a bit easier to read 2023-08-16 18:52:04 -04:00
Richard Kimberly Heck
b828da02f8 Slight rearrangement 2023-08-16 18:38:19 -04:00
Richard Kimberly Heck
62483d102d Whitespace and range 2023-08-16 18:22:11 -04:00
Richard Kimberly Heck
d312b32ec8 Fix bug #12852. 2023-08-16 17:51:55 -04:00
Juergen Spitzmueller
124eda3a0d Properly resolve files and dois in InsetCitation (#12878) 2023-08-16 12:47:42 +02:00
jpc
8458952e9a Update French Additional.lyx, step 2 2023-08-16 09:10:16 +02:00
Pavel Sanda
05088f6a35 UG: include Zotero per #12878 2023-08-15 22:01:13 +02:00
Juergen Spitzmueller
71693280c3 Improve usability of quotation mark selection (#12872) 2023-08-15 20:21:32 +02:00
Juergen Spitzmueller
5ebf9e3ac6 Leaner solution for the babel prettyref woes 2023-08-15 17:05:58 +02:00
Pavel Sanda
5936076181 Fix crash when calling dialog-show with bogus names (#12873). 2023-08-14 23:54:47 +02:00
Pavel Sanda
f59209d31e * cs.po 2023-08-14 22:29:24 +02:00
Pavel Sanda
2686efbf7b Copy-paste error in spell.m4.
Reported by Nusret Balci.
2023-08-14 22:26:20 +02:00
Juergen Spitzmueller
f050fd9626 Fix cursor navigation in error dialog (#12876) 2023-08-14 18:44:10 +02:00
jpc
b354404382 Update fr.po 2023-08-13 16:27:26 +02:00
jpc
fb696f326c Update fr.po 2023-08-13 16:23:42 +02:00
Juergen Spitzmueller
fc3b4cc8d1 Fixup 858b076ab7
Patch by Udi
2023-08-12 12:47:32 +02:00
Juergen Spitzmueller
858b076ab7 Work around French babel's incompatibility with prettyref
In classic (pdf)latex, where the colon is activated, detokenize
the argument of \prettyref.

Fix proposed by egreg at
https://tex.stackexchange.com/a/527912/19291
2023-08-11 17:35:18 +02:00
Udi Fogiel
6671f9bee1 Graphics inset is not forceLTR without pdftex (#12865) 2023-08-11 12:25:03 +02:00
Udi Fogiel
a2ad210926 fix-arabic-preamble-for-luatex 2023-08-11 12:14:33 +02:00
Juergen Spitzmueller
a03c442a62 GuiCitation: consider filter on dialog creation (#12869) 2023-08-11 12:04:26 +02:00
Juergen Spitzmueller
4676a50944 Amend dcde026446
Add missing options update at dialog contruction
2023-08-11 11:44:35 +02:00
Udi Fogiel
dcde026446 disable-default-font-options LyX does not output any LaTeX code when adding optinos to the font, so we should disable adding options to fonts in that situation. 2023-08-11 11:21:22 +02:00
Udi Fogiel
9f29fb33d1 prioretize-user-font-options 2023-08-11 11:13:24 +02:00
Juergen Spitzmueller
02ba1a1327 Fix selection restoration in quick search (#12779) 2023-08-11 11:07:53 +02:00
Enrico Forestieri
4fffa458ae Load esint when using \dotsint in math.
Fixes bug #12863.
2023-08-10 18:43:47 +02:00
Enrico Forestieri
4fa0fbe5bf Use utf8 strings for previewed labels when possible
Fixes bug #12842.
2023-08-10 18:34:17 +02:00
Juergen Spitzmueller
e2e74ffb0a Grammar 2023-08-10 18:11:25 +02:00
Juergen Spitzmueller
442bd5dd28 de.po 2023-08-10 18:10:12 +02:00
Juergen Spitzmueller
f75f73a402 Fix InsertTableWidget interference with tooltip geometry on Qt6 (#12776)
The current method played badly with Qt6 on wayland
2023-08-10 16:43:06 +02:00
Juergen Spitzmueller
cdc96159f1 Update German Customization manual 2023-08-10 14:56:53 +02:00
Juergen Spitzmueller
69ffa3a0e6 Typo and markup 2023-08-10 14:56:28 +02:00
Scott Kostyshak
cc951cd411 Comments 2023-08-10 06:17:29 -04:00
Daniel Ramoeller
a2310d04f4 Keep cursor position when splitting
Fix for #12689
2023-08-10 06:10:08 -04:00
Pavel Sanda
a3849e8bbe * layouttranslations ja review from Koji 2023-08-08 21:24:05 +02:00
Pavel Sanda
e2e3b20f4a * ja.po update from Koji 2023-08-08 21:17:59 +02:00
Kornel Benko
022257061a Update sk.po 2023-08-07 12:43:43 +02:00
Pavel Sanda
1b63be89ad * sk fixed 2023-08-07 10:35:41 +02:00