Commit Graph

46739 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
a7e8397a84 adapt tex2lyx to 0beb790a6a
(cherry picked from commit f725abea05)
2024-09-09 18:11:08 -04:00
Juergen Spitzmueller
fb5782b62a Handle space issue with refstyle more downstream
It is not necessarily, and infers with some usages, to generally escape
spaces in labels and references

(cherry picked from commit 0beb790a6a)
2024-09-09 18:05:10 -04:00
Juergen Spitzmueller
16281b4cf1 Fix indentation
(cherry picked from commit bfd855747a)
2024-09-09 18:04:59 -04:00
Pavel Sanda
806a67c75b * postats.py 2024-09-06 23:07:39 +02:00
Pavel Sanda
f0b7066f9b * cs.po 2024-09-06 22:51:48 +02:00
jpc
4792d6c75d Solve shortcut conflict in fr.po 2024-09-06 17:57:39 +02:00
jpc
2380c2c911 Update fr.po after pocheck 2024-09-06 15:59:50 +02:00
Richard Kimberly Heck
639563febc Update to simplified Chinese translation. 2024-09-04 21:36:18 -04:00
Jean-Marc Lasgouttes
4d46f766ea Avoid missing updates after some operations on selection
The logic at the end of Text::dispatch failed when needsUpdate and
singleParUpdate were true at the same time.
2024-08-31 16:12:59 +02:00