Commit Graph

46725 Commits

Author SHA1 Message Date
Juergen Spitzmueller
58e36a27b6 Doc additions by Pavel 2023-08-30 15:40:16 +02:00
Juergen Spitzmueller
4dc9e0c4e6 Improve CITATION_OPEN
* The lyxpaperview script now only provides the paths and let us do the opening
* We use our own viewers for local files rather than QDesktopServices

Plus several minor improvements and code cleanup
2023-08-30 15:30:29 +02:00
Jean-Marc Lasgouttes
0912f7c356 Update caret if needed when changing depth
Fixes bug #12856.
2023-08-30 13:45:00 +02:00
Jean-Marc Lasgouttes
d27f309905 Use correct cursor when creating undo group
This affects where cursor will be after undo. In this case, we want
obviously the 'old' cursor.

Fixes bug #12874.
2023-08-29 17:25:51 +02:00
Juergen Spitzmueller
2195543188 Add message dialog to LFUN_CITATION_OPEN chain
This addresses security concerns.
2023-08-29 14:43:59 +02:00
Juergen Spitzmueller
cc5abc873a Remove absolute path 2023-08-29 10:45:23 +02:00
Juergen Spitzmueller
0345ce2335 de/Shortcuts: sync with the changes in en/ 2023-08-29 10:41:16 +02:00
Richard Kimberly Heck
9a35fe225d Back to development, hopefully with RC1 next 2023-08-28 20:57:46 -04:00
Richard Kimberly Heck
ab9b923f89 Beta 4 2023-08-28 20:56:51 -04:00
Pavel Sanda
f4615da33b * ca/Shortcuts.lyx - remove notes 2023-08-28 21:17:53 +02:00
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