Commit Graph

46730 Commits

Author SHA1 Message Date
Juergen Spitzmueller
d2db3d4578 escape spaces in labels
refstyle doesn't work with these. See
https://marc.info/?l=lyx-users&m=169926958114185&w=2
2023-11-06 14:18:03 +01:00
Jean-Marc Lasgouttes
04a24211a6 Fix word selection expansion when going to the left
The proper way to do word-wise selection is to compute the words
around both the cursor and the anchor.

Note that code is uglier than it should because CursorData::normalAnchor()
returns a CursorSlice instead of a DocIterator.

Fixes bug #12533.
2023-11-06 11:53:03 +01:00
Richard Kimberly Heck
1677bc5fcd Remerge strings. 2023-11-05 11:07:40 -05:00
Kornel Benko
4bdfa86a2f Update sk.po 2023-11-05 15:46:49 +01:00
Juergen Spitzmueller
9bd5d36906 de.po 2023-11-05 13:21:23 +01:00
Juergen Spitzmueller
27033f41aa Fix comment 2023-11-05 12:38:09 +01:00
Juergen Spitzmueller
098b4f3348 Amend ec2da3a509 2023-11-05 12:28:27 +01:00
Juergen Spitzmueller
ec2da3a509 Prevent data loss when closing LyX while document dialog has unapplied changes (#12955)
Entails new strings, but I think the severity allows for that.
2023-11-05 12:09:33 +01:00
Enrico Forestieri
75a08df529 Inherit outer font in text-in-math environments
Some text-in-math environments such as \text, \mbox, \fbox, and
\makebox, inherit the outer text font. This commit reflects this
in the on-screen representation.

Fixes #12950.
2023-11-02 17:54:02 +01:00
Juergen Spitzmueller
5d193c7b62 Revert "Show full inset context-menu when clicking on text part of collapsible (#10370)"
This reverts commit 6c4afc1ccb.

This needs more thinking to get the menus sane.
2023-11-02 10:17:06 +01:00
Enrico Forestieri
e0e1350b7e Revert "Inherit outer font in text-in-math environments"
This reverts commit d72b9b0238.

Unfortunately, the font taken into account is the font at the
current cursor position rather than the font of the corresponding
math inset.
2023-11-02 01:59:54 +01:00
Enrico Forestieri
d72b9b0238 Inherit outer font in text-in-math environments
The text-in-math environments such as \text, \mbox, \fbox, \makebox
and so on, inherit the outer text font. This commit reflects this
in the on-screen representation.

Fixes #12950.
2023-11-01 22:21:49 +01:00
Pavel Sanda
e83c2e9f05 * RELEASE-NOTES rephrase 2023-11-01 21:34:46 +01:00
Pavel Sanda
1a3eadda04 * RELEASE-NOTES - add wayland & mutter comment.
See https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219735.html
2023-11-01 21:28:31 +01:00
Juergen Spitzmueller
07c99393be Consider PackageOptions with parskip 2023-10-30 12:54:29 +01:00
Juergen Spitzmueller
6c5dc39cd5 Amend 9de9ec1e88
When setting halfline parskip with parskip provided, we still need
to set this explicitly, as we don't know the current \parskip value.

Also improve code readability.
2023-10-30 12:17:14 +01:00
Juergen Spitzmueller
9de9ec1e88 Do not add empty \parskip definition (reported in #12946) 2023-10-30 09:22:14 +01:00
Pavel Sanda
28f81d1be5 Revert "MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space."
This reverts commit be44cb8516, see #12891.
2023-10-27 21:18:45 +02:00
Pavel Sanda
7e39570231 * RELEASE-NOTES 2023-10-26 21:30:20 +02:00
Jean-Marc Lasgouttes
7e19722b0d Document icon.aliases in Release notes 2023-10-24 14:52:33 +02:00
Jean-Marc Lasgouttes
c80f58396b Use same icon for outline-in/out regardeless of "local" argument
Final touch to #12417.
2023-10-24 14:34:14 +02:00
Jean-Marc Lasgouttes
b3bf838248 fix comment 2023-10-24 13:48:57 +02:00
Juergen Spitzmueller
6dc9173f68 de.po: remerge 2023-10-23 06:54:03 +02:00
Juergen Spitzmueller
e9998fb1cc Enter table after insertion (#12101)
posForward() jumped over the inset, which is not what is wanted here,
I think (cf. other inset insertion methods)
2023-10-22 10:19:50 +02:00
Pavel Sanda
0b5a9060c2 Move textstyle-apply icon back to the group of text-style related icons (+ its appearance).
(part of ongoing discussion in #11427)
2023-10-21 23:09:37 +02:00
Kornel Benko
a32e4ca01e Update sk.po 2023-10-21 17:46:08 +02:00
Juergen Spitzmueller
8e619462e1 Disable OUTLINE functions when min or max toclevel is reached 2023-10-21 13:49:50 +02:00
Juergen Spitzmueller
2b33da5944 Let OUTLINE functions jump from section to part if there is no chapter
Fixes #12938
2023-10-21 13:48:50 +02:00
Juergen Spitzmueller
946d87c261 de.po 2023-10-21 12:53:31 +02:00
Juergen Spitzmueller
bf0152185b Make string translatable 2023-10-21 12:52:49 +02:00
Juergen Spitzmueller
4658cf95f7 Disambiguate "Language"
Some translations need a different term for programming languages.
2023-10-21 12:34:47 +02:00
Juergen Spitzmueller
906f2b8507 Fix tautology spotted by coverity
The if and else paths have been identical since the removal of dvipost
(a450797b2a)
2023-10-20 09:53:38 +02:00
Juergen Spitzmueller
33da28e5a5 Fix coverity-detected issue CID 403672
Error handling issues  (CHECKED_RETURN)
Calling "translateString" without checking return value
(as is done elsewhere 15 out of 18 times).

AFAICS we do not need the boolean return value in these two cases.
2023-10-20 09:35:55 +02:00
Jean-Marc Lasgouttes
99ecdd6ceb Fixup 65cb9fa4: avoid extra spacing when selecting math
This was happening whenever a selection started/ended after a fraction
inset.
2023-10-18 12:30:55 +02:00
Scott Kostyshak
606e9443fa ctests: uninvert an export fixed in acmart
Fixed after a tlmgr update with acmart version 1.92.

See here for info:

  https://github.com/borisveytsman/acmart/issues/505
2023-10-17 22:17:07 -04:00
Juergen Spitzmueller
052659fe4d Amend 2a2dad3c4d and 32001918cf
Thanks, Udi.
2023-10-16 13:40:40 +02:00
jpc
9ca551b18c Update fr.po 2023-10-16 10:58:41 +02:00
Juergen Spitzmueller
32001918cf update German UG 2023-10-16 09:48:32 +02:00
Juergen Spitzmueller
2a2dad3c4d extend explanation of hyphenation handling 2023-10-16 09:48:17 +02:00
Richard Kimberly Heck
b1f47e4eb9 Add note on \hyphenation 2023-10-15 21:53:36 -04:00
Richard Kimberly Heck
3a430aed3c Fix documentation on hyphenation points 2023-10-15 21:48:11 -04:00
Juergen Spitzmueller
72e242267b Only apply ui_style if it has changed 2023-10-15 11:20:49 +02:00
Juergen Spitzmueller
e62497b037 de.po 2023-10-15 11:16:25 +02:00
Juergen Spitzmueller
81fda3ac55 Warn user that uistyle reset to default requires restart 2023-10-15 11:02:45 +02:00
Juergen Spitzmueller
cfcc57bd89 Simplify 2023-10-15 11:02:35 +02:00
Juergen Spitzmueller
8c2b26c6aa Update German User Guide 2023-10-15 09:41:22 +02:00
Juergen Spitzmueller
462a701e62 Make new gui element translatable 2023-10-15 09:40:58 +02:00
Juergen Spitzmueller
a9dfbe537a de.po 2023-10-15 09:19:37 +02:00
Juergen Spitzmueller
41e3f1ec98 complement tooltip 2023-10-15 09:17:31 +02:00
Eugene Chornyi
d2132751a7 Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00