Commit Graph

46698 Commits

Author SHA1 Message Date
Juergen Spitzmueller
fd6f8c28c3 Protect \inputencoding in i18npreamble
as it might end up in a moving argument (\lstlistlistingname in book
classes).

See https://marc.info/?l=lyx-devel&m=172812937932740

(cherry picked from commit a16e4b206a)
2024-10-07 09:36:00 +02:00
Juergen Spitzmueller
2df67b02f2 Bit more understandable status entry 2024-10-06 08:09:47 +02:00
Juergen Spitzmueller
478d59f5dd Adhere to semantic background color with default branches
This fixes color mismatched when "use system colors" is checked

See https://marc.info/?l=lyx-users&m=172797086718347

(cherry picked from commit 1f7e8d3ffe)
2024-10-05 12:53:45 -04:00
Pavel Sanda
f73b86132c PDF options: reflect in UI mutually exclusive colorlinks and frames.
Backport 601abfe929.
2024-10-01 20:34:42 +02:00
Koji Yokota
2e4cc60eec Fix #13094 Wrong IM window after opening a new window 2024-09-30 08:25:00 +09:00
Pavel Sanda
e29cd17cea UG: backport note about frames/colorlinks in pdf properties. 2024-09-29 22:36:09 +02:00
Juergen Spitzmueller
2051bfed43 Amend 770362da97
preview needs proper --lily-output-dir

(cherry picked from commit 135889c634)
2024-09-29 18:23:50 +02:00
Juergen Spitzmueller
86ba8bb7ed Fix preview of lilypond (book) snippets (#13103)
1. The --safe option has been removed with lilypond 2.24 and causes
   the program to error out
2. We default to PDF output (and pdflatex) if no program is explicitly
   given, since latex generates *.eps snippets which fail to convert
   on many recent systems due to security measures

(cherry picked from commit 770362da97)
2024-09-29 18:21:37 +02:00
Juergen Spitzmueller
f56fcd01a2 Allow negative offset in GuiLine (#13102)
(cherry picked from commit 2244ac3dee)
2024-09-26 08:14:59 +02:00
Pavel Sanda
5237ccd4eb Update eu.po from Inaki. 2024-09-25 22:58:48 +02:00
Juergen Spitzmueller
01c184b987 Work around bug in aa.cls 2024-09-25 14:34:34 +02:00
Juergen Spitzmueller
570ca77527 Work around bug in aa.cls 2024-09-25 11:53:03 +02:00
Pavel Sanda
561a35821a Disable change tracking in manuals 2024-09-24 23:10:48 +02:00
Pavel Sanda
16a81febc3 Customization manual: accept all changes 2024-09-24 23:09:41 +02:00
Pavel Sanda
71b99a0508 UG: accept all changes 2024-09-24 23:08:06 +02:00
Pavel Sanda
c441a2a1c2 Fix UG: bring back tracked author info from master
(easily missed in cherry-picking)
2024-09-24 23:05:54 +02:00
Pavel Sanda
be2ea691aa * cs.po 2024-09-24 20:25:10 +02:00
Juergen Spitzmueller
624fd5f442 Re-focus workarea after some outline context-menu actions (see #1624)
Thanks Pavel for the main idea

(cherry picked from commit 126cbec5e7)
2024-09-24 17:01:47 +02:00
Jean-Marc Lasgouttes
cc1fca8868 Do not use big characters for some unicode points
This modifies LOGICAL AND, LOGICAL OR, INTERSECTION and UNION.

Fixes bug #13099.

(cherry picked from commit edf56d644d)
2024-09-23 19:57:48 +02:00
Juergen Spitzmueller
2ac0db401e Better fix for Spanish Tufte problem
The option "nohyper" causes the issue
2024-09-22 17:20:59 +02:00
Pavel Sanda
07df92108e * LFUNs.lyx 2024-09-22 16:48:29 +02:00
Kornel Benko
c0f969ea35 Update sk.po 2024-09-22 13:33:46 +02:00
Juergen Spitzmueller
2273ab1c20 de.po 2024-09-22 12:34:38 +02:00
Juergen Spitzmueller
32bc034ef7 document changes for #1624 2024-09-22 11:59:39 +02:00
Juergen Spitzmueller
d9d81b3f7a Some documentation for reference-to-paragraph
(cherry picked from commit 01ab4c151e)
2024-09-22 11:57:10 +02:00
Juergen Spitzmueller
a1cf383a50 reference-to-paragraph for footnotes
(cherry picked from commit 1c5fd2ea4e)
2024-09-22 11:57:10 +02:00
Juergen Spitzmueller
608e678217 Amend 9464f0526e
Simplify function

(cherry picked from commit 9fc1194494)
2024-09-22 11:57:10 +02:00
Juergen Spitzmueller
173464b8a3 Fixup LFUN_REFERENCE_TO_PARAGRAPH for captions in other buffers
The movement to the caption is now done in the LFUN function itself,
as we need the DocIterator in the caption

This greatly simplifies the code in the TocWidget and shifts all the
complexity to the LFUN itself

(cherry picked from commit 9464f0526e)
2024-09-22 11:57:09 +02:00
Juergen Spitzmueller
0c77174406 fixup REFERENCE_TO_PARAGRAPH:
* par id actually can be 0
* properly move on in the buffer list if paragraph is not found
  in the current buffer
* use dit to get label (as this might be in a different buffer)

(cherry picked from commit 4ed822925f)
2024-09-22 11:57:09 +02:00
Juergen Spitzmueller
8fc5266996 typo
(cherry picked from commit 2c4536c709)
2024-09-22 11:57:09 +02:00
Juergen Spitzmueller
454800a096 rename Paragraph::getLabel()
getLabel() usually refers to a paragraph label (e.g. \item) in this
context, not \label as in the case here.

(cherry picked from commit 7d46ddaa95)
2024-09-22 11:57:09 +02:00
Juergen Spitzmueller
2f6838cab3 fixup definition of LFUN_REFERENCE_TO_PARAGRAPH
(cherry picked from commit 2fdeee4bf7)
2024-09-22 11:57:09 +02:00
Juergen Spitzmueller
179983a7fb Implement reference-to-paragraph in outliner (#1624)
This allows to insert a cross-reference to headings, figures or tables
by right-clicking on the outliner item.

If the item in question does not have a label yet, it is inserted.

(cherry picked from commit 143e534d1e)
2024-09-22 11:57:09 +02:00
Juergen Spitzmueller
69614db1ec Implement LFUN_REFERENCE_TO_PARAGRAPH
This function checks whether a paragraph (specified by ID) has a label.
If so, it simply inserts a reference to this at cursor position, if
not it inserts a label to that paragraph (pos 0) and then inserts
a reference at cursor position.

Needed to implement #1624 (insert cross references to items that do not
have yet a label)

(cherry picked from commit 3fe99bf6f5)
2024-09-22 11:57:08 +02:00
Juergen Spitzmueller
ce64021ce9 Allow DocIterator::paragraphGotoArgument() to return id() without pos()
We need this for the forthcoming reference-to-paragraph function

(cherry picked from commit e3b36208ed)
2024-09-22 11:57:08 +02:00
Juergen Spitzmueller
dcc91b4a85 Implement Paragraph::getLabel()
This function returns the first label (as string) if there is any

(cherry picked from commit a303600b54)
2024-09-22 11:57:07 +02:00
Juergen Spitzmueller
18d9d7ee9d re-implement LFUN_REFERENCE_INSERT
this is in preparation of another feature

(cherry picked from commit 181c8ce7c1)
2024-09-22 11:57:07 +02:00
Juergen Spitzmueller
a6a2cdcf92 Work around fragility problem in Spanish Tufte Handout
It is unclear what the actual problem is; it only shows up in this
document (not the other l7ns)
2024-09-22 11:51:39 +02:00
Kornel Benko
6a07b642d5 Update sk.po 2024-09-21 22:00:24 +02:00
Kornel Benko
3ca5425f94 Cmake build: Omit "PRE_BUILD" in add_custom_command()
According to cmake warning output while configuring:
CMake Error (dev) at po/CMakeLists.txt:72 (ADD_CUSTOM_COMMAND):
  The following keywords are not supported when using
  add_custom_command(OUTPUT): PRE_BUILD.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  po/CMakeLists.txt:106 (add_gettext_python)
This error is for project developers. Use -Wno-error=dev to suppress it.

(cherry picked from commit 13f275d0aa)
2024-09-21 21:59:56 +02:00
Juergen Spitzmueller
897fa08919 Only \protect labels in \thanks notes
See https://marc.info/?l=lyx-users&m=136394387505489
2024-09-21 13:36:55 -04:00
Juergen Spitzmueller
59d61892e4 GuiBibTeX: introduce way to toggle between absolute and relative local paths (#13097) 2024-09-21 13:27:37 -04:00
Richard Kimberly Heck
55f6f6365a Begin 2.4.3 development 2024-09-21 13:26:34 -04:00
Kornel Benko
0ffcfd9c7b Update sk.po 2024-09-19 18:39:37 +02:00
Richard Kimberly Heck
e349194c38 Remerge strings. 2024-09-19 11:06:22 -04:00
Richard Kimberly Heck
89ed9ab0c2 Prepare for 2.4.2 2024-09-19 11:05:58 -04:00
Juergen Spitzmueller
5cb9b55162 Fix outliner tree depth (#13098) 2024-09-19 11:00:01 -04:00
Juergen Spitzmueller
0a2e65c0e1 Do not output empty statement in lyx2lyx reversion 2024-09-17 18:26:55 +02:00
Jean-Marc Lasgouttes
2c5f284f89 Initialize client's name in main()
Initializing clientName at declaration time is not a good idea.

Spotted by Coverity scan.

(cherry picked from commit 3d323412ad)
2024-09-10 12:02:32 +02:00
Jean-Marc Lasgouttes
615f035854 Do not forget to reset stream after std::hex
Spotted by Coverity scan.

(cherry picked from commit f4c02d670b)
2024-09-10 11:59:22 +02:00