Juergen Spitzmueller
ea55ca5e84
Handle bibtex location field syntax file1;file2
...
This is used, for instance, by zotero with the "betterbibtex" exporter
See #12896
2023-09-09 13:00:36 +02:00
Juergen Spitzmueller
ac59b04922
Only create a new view for lyxfiles-open if no view is open ( #12894 )
2023-09-08 17:47:47 +02:00
Juergen Spitzmueller
90e05de396
Revert "No need (any longer?) to create a new view for lyxfiles-open"
...
This reverts commit 9f238ca201ef640b47bd413f2d98671404aa173a.
2023-09-08 16:37:06 +02:00
Juergen Spitzmueller
9f238ca201
No need (any longer?) to create a new view for lyxfiles-open
2023-09-08 16:16:01 +02:00
Juergen Spitzmueller
117e259f0a
Handle multiple files in file and localfile BibTeX field ( #12896 )
2023-09-08 14:02:23 +02:00
Daniel Ramoeller
3318febd0c
Improve Open External Target dialog text
...
Fix for #12897
2023-09-08 10:39:45 +02:00
Daniel Ramoeller
fdcb160ed8
Fix bug #11497
2023-09-06 22:52:42 -04:00
Juergen Spitzmueller
5840806a4c
Update tex2lyx tests
2023-09-06 08:42:22 +02:00
Juergen Spitzmueller
87620d7349
Add forgotten file formatted change (from 2ad57dcb6b9b5)
...
This means that lyx2lyx reversion in beta5 is essentially broken
as it ends in a document containing an unknown header
2023-09-06 08:37:43 +02:00
Pavel Sanda
7980523448
Typo fix from Jose
2023-09-05 20:48:34 +02:00
Jean-Marc Lasgouttes
100e759f17
When splitting a bufferview, keep the scrollbar position
...
This is actually better thean making sure that the cursor is visible.
Fixes bug #12689 .
2023-09-05 14:33:18 +02:00
Juergen Spitzmueller
375bb32a3d
More style polishing
2023-09-05 12:07:05 +02:00
Juergen Spitzmueller
6bb72cc28c
With Qt6 on linux, we need to catch StyleChange here
2023-09-05 12:01:17 +02:00
Juergen Spitzmueller
7c8c3657fd
Also change pdf module highlighting on the fly on mode change
2023-09-05 11:48:53 +02:00
Juergen Spitzmueller
51fd28ed4d
Update highlighting colors in runtime (dark/light) mode change
...
Until now, this required a restart.
2023-09-05 11:14:59 +02:00
Juergen Spitzmueller
32f89cbbf5
Style only
2023-09-05 11:13:58 +02:00
Pavel Sanda
625c61f1d5
Output python version in About dialog.
...
Patch from Jose.
2023-09-04 21:50:51 +02:00
Jean-Marc Lasgouttes
0c6101b0cb
Put comment where it belongs
2023-09-04 11:07:34 +02:00
Juergen Spitzmueller
b11164524d
GuiLyXFiles: make sure language selector is disabled when dialog is reopened
2023-09-04 07:58:59 +02:00
Juergen Spitzmueller
4393382f02
GuiLyXFiles: fix button controller handling
2023-09-03 15:09:13 +02:00
Enrico Forestieri
1cbcb30353
Fix assertion when canceling file dialog
...
Without this patch, when a file has to be loaded (for example,
after "Document->Settings->Local Class" or "Insert->Graphics")
and the file dialog is canceled, both Qt5 and Qt6 assert:
ASSERT failure in QList::at: "index out of range"
2023-09-02 18:15:09 +02:00
Jean-Marc Lasgouttes
7eecab5902
Check whether MathRow exists when computing caret metrics
...
Fixes bug #12888 .
2023-09-02 17:21:03 +02:00
Jean-Marc Lasgouttes
e651e15a99
Improve caret position when splitting a view
...
The old code only worked for toplevel cursors and did not show current cursor.
Note that the two windows do not have exactly the same offset.
Fixes bug #12689 .
2023-09-02 17:21:03 +02:00
Juergen Spitzmueller
aaae3ad5cc
Remove redundant code and clarify strings
2023-09-02 14:28:33 +02:00
Jean-Marc Lasgouttes
2092663365
Add _v_() debug helper maco
...
This can be used with streams.
LYXERR0(_v_(var))
leads to the message
"var=<value of var>"
2023-09-01 16:45:15 +02:00
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
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
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
Richard Kimberly Heck
344dc1f822
Polish formatted reference patch, and add documentation.
2023-08-25 15:24:13 -04: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
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 101363352c111
...
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
Pavel Sanda
06198fbe18
Alow two digit number of remembered files in ui.
...
Reported by Dan.
2023-08-22 22:02:32 +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
Richard Kimberly Heck
784a7210ba
Use master buffer setting when exporting
2023-08-18 19:25:04 -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
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