Commit Graph

46015 Commits

Author SHA1 Message Date
Enrico Forestieri
76670a6ab9 Fix detection of private Qt6 headers
The gui-private is a separate module. Private Qt6 GUI headers
are currently used only with the Windows backend. However they
are needed to port to Qt6 all functionality that was depending
on the -extras modules. For example, all code guarded by the
macro HAVE_QT5_X11_EXTRAS has to be audited and properly replaced
by Qt6 code. See for example 771f30e9 and 17b24cf4.
2023-08-28 11:03:23 +02:00
Enrico Forestieri
c088cc4413 Fix detection of xcb during configure
The QT_FEATURE_xcb macro is not in the private headers anymore.
They keep changing APIs...
2023-08-28 10:52:08 +02:00
Pavel Sanda
188c526b41 * ec/ca Shortcuts.lyx (en CT on, ca CT accepted) 2023-08-27 21:51:33 +02:00
Pavel Sanda
33a9598a48 * Shortcuts.lyx - small changes from Daniel, now in CT 2023-08-27 21:44:01 +02:00
jpc
2f6ab9a509 Update French Intro.Lyx 2023-08-27 11:21:56 +02:00
Kornel Benko
a2d1c99173 Update sk.po 2023-08-26 15:23:13 +02:00
Juergen Spitzmueller
945aa6fca3 library > system, pt. II. 2023-08-26 12:45:41 +02:00
Juergen Spitzmueller
849a650a24 de.po 2023-08-26 12:07:33 +02:00
Juergen Spitzmueller
53f4f8c103 Change "library directory" to "system directory" (#12709) 2023-08-26 12:03:20 +02:00
Juergen Spitzmueller
7057a45587 Add accelerator 2023-08-26 11:44:00 +02:00
Juergen Spitzmueller
bbbd182095 de.po 2023-08-26 11:43:29 +02:00
Juergen Spitzmueller
aaff8a4988 Fix formatting
We use sans serif for widget labels in the docs
2023-08-26 11:29:03 +02:00
Juergen Spitzmueller
b2afc8d1af de/UserGuide: update 2023-08-26 11:28:37 +02:00
Pavel Sanda
44e85604d4 * cs.po 2023-08-25 22:04:39 +02:00
Pavel Sanda
28d20a6473 Remerge cs.po 2023-08-25 22:02:44 +02:00
Richard Kimberly Heck
344dc1f822 Polish formatted reference patch, and add documentation. 2023-08-25 15:24:13 -04:00
Pavel Sanda
877582721d * Intro.lyx from Dan. 2023-08-25 20:55:21 +02:00
Pavel Sanda
0171f132a7 Fix layouttranslation ES notes
https://www.mail-archive.com/lyx-docs@lists.lyx.org/msg10124.html
2023-08-25 18:53:53 +02:00
Pavel Sanda
2e32e2c123 Revert UI fix for two digit numbers. It actually does not work.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220179.html
2023-08-25 18:52:27 +02:00
Jean-Marc Lasgouttes
7c62a6b3c5 Do not use superscript display for now.
There are font issues on some platforms.
2023-08-25 11:50:14 -04:00
Richard Kimberly Heck
e8f8239f68 Polish 2023-08-24 21:24:35 -04:00
Alexander Dunlap
1a800bf3e5 Put use_formatted_reference code in addToToc instead of updateBuffer
to handle forward references.
2023-08-24 21:24:35 -04:00
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