Commit Graph

45793 Commits

Author SHA1 Message Date
Richard Kimberly Heck
2ad57dcb6b Preview formatted references in the work area.
Patch from Daniel Ramoeller <d.lyx@web.de>, fixed up by RKH.
2023-08-24 21:24:31 -04:00
Alexander Dunlap
ca3004fc67 Assign equation numbers in updateBuffer instead of
addToToc so that they can be used in updateToc to
assign label cross-refs
2023-08-24 21:14:53 -04:00
Richard Kimberly Heck
89a479f60d Fix bug #12797.
Use plaintext to give some display of equations in TOC.
2023-08-24 21:05:50 -04:00
Juergen Spitzmueller
effd65a586 Amend 101363352c
Instead of just disabling MOUSE_MOTION on inset buttons, we now register
the coordinates where the latest mouse press happens, and if that's on
the inset button we are on when releasing, we toggle the inset.

Thus, minimal unintentional mouse movements don't lead to the button not
to respond.
2023-08-24 09:56:09 +02:00
Stephan Witt
7157e42044 #11921 change default roman (serif) screen font
The hard coded LyX default font (Times) doesn't work well on macOS.
The text seems to be shifted slightly upwards.
2023-08-23 21:36:29 +02:00
Pavel Sanda
06198fbe18 Alow two digit number of remembered files in ui.
Reported by Dan.
2023-08-22 22:02:32 +02:00
Pavel Sanda
6eb58a5beb * ca/es Welcome.lyx updates by Dan.
I accepted all changes as there is no one else to check.
2023-08-22 21:55:48 +02:00
Pavel Sanda
3c5c9ed000 * Welcome.lyx - few small fixes by Dan.
I agree with the fixes, but let them in CT, so translators can track it.
Before 2.4 we should accept those changes.
2023-08-22 21:50:46 +02:00
Pavel Sanda
fe74c24da9 Revert part of unintended changes in layouttranslations. Still needs review. 2023-08-21 23:44:21 +02:00
Pavel Sanda
97996a84ef layouttranslations.review - update the current status 2023-08-21 23:41:25 +02:00
Pavel Sanda
2b82438ed1 Add Daniel to credits. 2023-08-21 22:54:39 +02:00
Pavel Sanda
10a75ffe2c Make Acknowledg(e)ment translations identical.
The Acknowledgement can be probably deleted from layouttranslations altogether now.
2023-08-21 22:49:21 +02:00
Pavel Sanda
4afb796c59 Regenerate layouttranslations with es/ca updates 2023-08-21 22:47:48 +02:00
Pavel Sanda
0de78b5ddd * ca.po & es.po updates for layouttranslations.
Reviewed by Daniel Fernandez.

https://www.mail-archive.com/lyx-docs@lists.lyx.org/msg10115.html
2023-08-21 22:40:25 +02:00
Pavel Sanda
480e46fab9 Remerge ca.po & es.po 2023-08-21 22:38:42 +02:00
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