]> git.lyx.org Git - lyx.git/log
lyx.git
7 months ago Update fr.po
jpc [Sat, 11 Nov 2023 14:38:17 +0000 (15:38 +0100)]
       Update fr.po

7 months agofixup 2b0841b0: forgot to add new file
Jean-Marc Lasgouttes [Fri, 10 Nov 2023 13:39:27 +0000 (14:39 +0100)]
fixup 2b0841b0: forgot to add new file

7 months agoMove LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header.
Jean-Marc Lasgouttes [Fri, 10 Nov 2023 12:14:34 +0000 (13:14 +0100)]
Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header.

It was not nice to other build systems to define that in configure.ac.

7 months agoAvoid dangling-reference warning in several places
Jean-Marc Lasgouttes [Wed, 8 Nov 2023 17:07:14 +0000 (18:07 +0100)]
Avoid dangling-reference warning in several places

This new warning in gcc 13 is annoying because it happens in certain
parts of our code where it is harmless to pass a temporary variable to
a function that returns a reference.

This patch introduces a new pair of macros,
LYX_BEGIN_MUTE_GCC_WARNING(warn) and LYX_END_MUTE_GCC_WARNING, which
can be used to define a block of code where a given GCC warning is disabled.

The macros are no-ops with compilers other than gcc, although some
compilers that pretend to be GCC make be mis-detected. The worse that
can happen AFAIU is a bunch of warnings.

The macro relies on an intimidating set of for nested macros. The goal
of these macros is to build a nested string bit by bit. Here is how it
works:

PRAGMA_IGNORE(dangling-reference)
  => PRAGMA_IGNORE_1(-Wdangling-reference)
  => PRAGMA_IGNORE_2("-Wdangling-reference")
  => PRAGMA_IGNORE_3(GCC diagnostic ignored "-Wdangling-reference")
  => _Pragma("GCC diagnostic ignored \""-Wdangling-reference\"")

The next question is: what is _Pragma() good for? Well, it is a
version of #pragma that can be used in a macro.

And finally, what are those pragmas good for? The 'push' and 'pop'
ones make changes to warnings local. The 'ignored' ones allow
to disable some warnings. And disabling -Wpragmas ensures that we do
not have a warning if we try to disable a warning that is not
supported by the compiler.

7 months agoRead separated required arg without enquoting
Juergen Spitzmueller [Thu, 9 Nov 2023 21:06:39 +0000 (22:06 +0100)]
Read separated required arg without enquoting

7 months agoImprove documentation of required argument tag
Juergen Spitzmueller [Thu, 9 Nov 2023 21:06:11 +0000 (22:06 +0100)]
Improve documentation of required argument tag

7 months ago* layouttranslations - uk review by Yuri
Pavel Sanda [Thu, 9 Nov 2023 19:38:34 +0000 (20:38 +0100)]
* layouttranslations - uk review by Yuri

7 months agoGMO for Ukranian update
Richard Kimberly Heck [Thu, 9 Nov 2023 03:48:13 +0000 (22:48 -0500)]
GMO for Ukranian update

7 months agoUkranian update from Yuri. Thanks Yuri!
Richard Kimberly Heck [Thu, 9 Nov 2023 03:46:33 +0000 (22:46 -0500)]
Ukranian update from Yuri. Thanks Yuri!

7 months agoAmend 58103cf2
Enrico Forestieri [Wed, 8 Nov 2023 22:59:43 +0000 (23:59 +0100)]
Amend 58103cf2

The \underbar macro is a text mode macro that can also be used
in math mode. However, when inserting it in mathed, LyX helpfully
wraps it in a \text inset. One can dissolve such text inset and
the macro would appear in math mode without any problem. But the
output routine thinks that the user is shooting itself in the
foot and tries to protect him by wrapping \underbar in the
\lyxmathsym macro, whose definition is normally added to the
preamble when an unicode character is used in math mode.

Of course, this is not the case for \underbar and a compile
error arises. The easier solution is to simply add lyxmathsym as
a requirement for \underbar in lib/symbols, but this means
that the definition of \lyxmathsym would be added even when not
necessary (because in the validation routine we miss the info
about the current mode). The correct solution is acknowledging
the dual nature of \underbar as a text-mode macro that can also
be used in math mode. Luckily the correct solution is almost as
easy as the easier one and is what is done in this commit.

7 months agoBetter dialog resizing behavior
Yuriy Skalko [Wed, 8 Nov 2023 22:38:09 +0000 (23:38 +0100)]
Better dialog resizing behavior

7 months agoUserGuide: fix menu name
Yuriy Skalko [Wed, 8 Nov 2023 22:21:57 +0000 (23:21 +0100)]
UserGuide: fix menu name

7 months agoUpdate ru.po and UserGuide
Yuriy Skalko [Wed, 8 Nov 2023 22:14:50 +0000 (23:14 +0100)]
Update ru.po and UserGuide

7 months agoFix mangling names in temp directory (amends eef0c8e8).
Pavel Sanda [Wed, 8 Nov 2023 20:42:54 +0000 (21:42 +0100)]
Fix mangling names in temp directory (amends eef0c8e8).

Separate mangled-name tables for xhtml and latex exports.

LaTeX route should stay as it were (counter+mangled path within filenames in
temp directory)

xHTML route uses hash of path + filename only. We won't use counters because
(unlike in LaTeX export) they stay visible in final export directory and
generally change across LyX sessions.
Hash is short with collision handling because path-length limits of Windows.

cf https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220582.html

7 months ago* cs.gmo
Pavel Sanda [Wed, 8 Nov 2023 20:37:01 +0000 (21:37 +0100)]
* cs.gmo

7 months ago* cs.po
Pavel Sanda [Wed, 8 Nov 2023 20:36:50 +0000 (21:36 +0100)]
* cs.po

7 months agoLimit nomencl backwards support to case when old package is really used
Juergen Spitzmueller [Wed, 8 Nov 2023 15:17:58 +0000 (16:17 +0100)]
Limit nomencl backwards support to case when old package is really used

This is only needed for very old versions of the nomencl package
(before March 2005)

No need to output compatibility code with newer versions

Furthermore, this breaks the use of the glossary package which also
has .glo extension (#12968)

7 months agoDo not reverse parentheses in pass thru insets (#12966)
Juergen Spitzmueller [Wed, 8 Nov 2023 14:14:37 +0000 (15:14 +0100)]
Do not reverse parentheses in pass thru insets (#12966)

7 months agoDo not accumulate underline changes
Enrico Forestieri [Wed, 8 Nov 2023 08:17:38 +0000 (09:17 +0100)]
Do not accumulate underline changes

If an element is underlined in mathed by using the text properties
dialog, the changes accumulate. So, for example, to change a single
underline to a double one, one would need removing the previous
underline first. This commit allows using the text properties
dialog and simply replace an underline type with another one.

However, this works only if the underlined element is not included
in some other inset. For example, given "\uline{\text{abc}}",
selecting the 'b' and choosing a double underline produces
"\uline{\text{a\uuline{b}c}}". But, given "\text{\uline{abc}}", and
operating as before produces "\text{\uline{a}\uuline{b}\uline{c}}".

7 months agoAmend 58103cf2
Enrico Forestieri [Wed, 8 Nov 2023 07:56:40 +0000 (08:56 +0100)]
Amend 58103cf2

Give a variable a more meaningful name and fix a typo.

7 months agoUpdate math macro display when entering from above/balow
Jean-Marc Lasgouttes [Tue, 7 Nov 2023 14:43:57 +0000 (15:43 +0100)]
Update math macro display when entering from above/balow

This change forces metrics computation in all cases when cursor enters
a math inset from above/below, but I do not have a better idea right now.

Fixes bug #12952.

7 months agoSilence compiler warning
Enrico Forestieri [Mon, 6 Nov 2023 20:03:23 +0000 (21:03 +0100)]
Silence compiler warning

7 months agoAmend 58103cf2
Enrico Forestieri [Mon, 6 Nov 2023 17:46:22 +0000 (18:46 +0100)]
Amend 58103cf2

Correct file name.

7 months agoAllow using the text properties dialog in mathed
Enrico Forestieri [Mon, 6 Nov 2023 17:04:44 +0000 (18:04 +0100)]
Allow using the text properties dialog in mathed

Until now only the color of the text could be changed by using
the text properties dialog. This commit allows changing all
other properties except for strikethrough. It is possible to
also add underlining with the limitation that the changes
accumulate. This requires other work but I think that underlining
and strikethrough are not so important in mathed and can be
refined at a later time.

Fixes #12958

7 months agoescape spaces in labels
Juergen Spitzmueller [Mon, 6 Nov 2023 13:16:34 +0000 (14:16 +0100)]
escape spaces in labels

refstyle doesn't work with these. See
https://marc.info/?l=lyx-users&m=169926958114185&w=2

7 months agoFix word selection expansion when going to the left
Jean-Marc Lasgouttes [Mon, 6 Nov 2023 10:53:03 +0000 (11:53 +0100)]
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.

7 months agoRemerge strings.
Richard Kimberly Heck [Sun, 5 Nov 2023 16:07:40 +0000 (11:07 -0500)]
Remerge strings.

7 months agoUpdate sk.po
Kornel Benko [Sun, 5 Nov 2023 14:46:49 +0000 (15:46 +0100)]
Update sk.po

7 months agode.po
Juergen Spitzmueller [Sun, 5 Nov 2023 12:21:23 +0000 (13:21 +0100)]
de.po

7 months agoFix comment
Juergen Spitzmueller [Sun, 5 Nov 2023 11:38:09 +0000 (12:38 +0100)]
Fix comment

7 months agoAmend ec2da3a509
Juergen Spitzmueller [Sun, 5 Nov 2023 11:28:27 +0000 (12:28 +0100)]
Amend ec2da3a509

7 months agoPrevent data loss when closing LyX while document dialog has unapplied changes (...
Juergen Spitzmueller [Sun, 5 Nov 2023 11:09:33 +0000 (12:09 +0100)]
Prevent data loss when closing LyX while document dialog has unapplied changes (#12955)

Entails new strings, but I think the severity allows for that.

7 months agoInherit outer font in text-in-math environments
Enrico Forestieri [Thu, 2 Nov 2023 16:54:02 +0000 (17:54 +0100)]
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.

7 months agoRevert "Show full inset context-menu when clicking on text part of collapsible (...
Juergen Spitzmueller [Thu, 2 Nov 2023 09:17:06 +0000 (10:17 +0100)]
Revert "Show full inset context-menu when clicking on text part of collapsible (#10370)"

This reverts commit 6c4afc1ccb90301e7901b574d56335b89a5f4cb7.

This needs more thinking to get the menus sane.

7 months agoRevert "Inherit outer font in text-in-math environments"
Enrico Forestieri [Thu, 2 Nov 2023 00:59:54 +0000 (01:59 +0100)]
Revert "Inherit outer font in text-in-math environments"

This reverts commit d72b9b0238bd33197f0cea4a36d90d78d1cbc666.

Unfortunately, the font taken into account is the font at the
current cursor position rather than the font of the corresponding
math inset.

7 months agoInherit outer font in text-in-math environments
Enrico Forestieri [Wed, 1 Nov 2023 21:21:49 +0000 (22:21 +0100)]
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.

7 months ago* RELEASE-NOTES rephrase
Pavel Sanda [Wed, 1 Nov 2023 20:34:46 +0000 (21:34 +0100)]
* RELEASE-NOTES rephrase

7 months ago* RELEASE-NOTES - add wayland & mutter comment.
Pavel Sanda [Wed, 1 Nov 2023 20:28:31 +0000 (21:28 +0100)]
* RELEASE-NOTES - add wayland & mutter comment.

See https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219735.html

7 months agoConsider PackageOptions with parskip
Juergen Spitzmueller [Mon, 30 Oct 2023 11:54:29 +0000 (12:54 +0100)]
Consider PackageOptions with parskip

7 months agoAmend 9de9ec1e88fab
Juergen Spitzmueller [Mon, 30 Oct 2023 11:17:14 +0000 (12:17 +0100)]
Amend 9de9ec1e88fab

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.

7 months agoDo not add empty \parskip definition (reported in #12946)
Juergen Spitzmueller [Mon, 30 Oct 2023 08:22:14 +0000 (09:22 +0100)]
Do not add empty \parskip definition (reported in #12946)

7 months agoRevert "MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the...
Pavel Sanda [Fri, 27 Oct 2023 19:18:45 +0000 (21:18 +0200)]
Revert "MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space."

This reverts commit be44cb85165, see #12891.

7 months ago* RELEASE-NOTES
Pavel Sanda [Thu, 26 Oct 2023 19:30:20 +0000 (21:30 +0200)]
* RELEASE-NOTES

7 months agoDocument icon.aliases in Release notes
Jean-Marc Lasgouttes [Tue, 24 Oct 2023 12:52:33 +0000 (14:52 +0200)]
Document icon.aliases in Release notes

7 months agoUse same icon for outline-in/out regardeless of "local" argument
Jean-Marc Lasgouttes [Tue, 24 Oct 2023 12:33:04 +0000 (14:33 +0200)]
Use same icon for outline-in/out regardeless of "local" argument

Final touch to #12417.

7 months agofix comment
Jean-Marc Lasgouttes [Tue, 24 Oct 2023 11:48:57 +0000 (13:48 +0200)]
fix comment

7 months agode.po: remerge
Juergen Spitzmueller [Mon, 23 Oct 2023 04:54:03 +0000 (06:54 +0200)]
de.po: remerge

7 months agoEnter table after insertion (#12101)
Juergen Spitzmueller [Sun, 22 Oct 2023 08:19:50 +0000 (10:19 +0200)]
Enter table after insertion (#12101)

posForward() jumped over the inset, which is not what is wanted here,
I think (cf. other inset insertion methods)

7 months agoMove textstyle-apply icon back to the group of text-style related icons (+ its appear...
Pavel Sanda [Sat, 21 Oct 2023 21:07:53 +0000 (23:07 +0200)]
Move textstyle-apply icon back to the group of text-style related icons (+ its appearance).

(part of ongoing discussion in #11427)

7 months agoUpdate sk.po
Kornel Benko [Sat, 21 Oct 2023 15:46:08 +0000 (17:46 +0200)]
Update sk.po

7 months agoDisable OUTLINE functions when min or max toclevel is reached
Juergen Spitzmueller [Sat, 21 Oct 2023 11:49:50 +0000 (13:49 +0200)]
Disable OUTLINE functions when min or max toclevel is reached

7 months agoLet OUTLINE functions jump from section to part if there is no chapter
Juergen Spitzmueller [Sat, 21 Oct 2023 11:48:50 +0000 (13:48 +0200)]
Let OUTLINE functions jump from section to part if there is no chapter

Fixes #12938

7 months agode.po
Juergen Spitzmueller [Sat, 21 Oct 2023 10:53:31 +0000 (12:53 +0200)]
de.po

7 months agoMake string translatable
Juergen Spitzmueller [Sat, 21 Oct 2023 10:52:49 +0000 (12:52 +0200)]
Make string translatable

7 months agoDisambiguate "Language"
Juergen Spitzmueller [Sat, 21 Oct 2023 10:34:47 +0000 (12:34 +0200)]
Disambiguate "Language"

Some translations need a different term for programming languages.

7 months agoFix tautology spotted by coverity
Juergen Spitzmueller [Fri, 20 Oct 2023 07:53:38 +0000 (09:53 +0200)]
Fix tautology spotted by coverity

The if and else paths have been identical since the removal of dvipost
(a450797b2ab160f5)

7 months agoFix coverity-detected issue CID 403672
Juergen Spitzmueller [Fri, 20 Oct 2023 07:35:55 +0000 (09:35 +0200)]
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.

8 months agoFixup 65cb9fa4: avoid extra spacing when selecting math
Jean-Marc Lasgouttes [Wed, 18 Oct 2023 10:28:47 +0000 (12:28 +0200)]
Fixup 65cb9fa4: avoid extra spacing when selecting math

This was happening whenever a selection started/ended after a fraction
inset.

8 months agoctests: uninvert an export fixed in acmart
Scott Kostyshak [Wed, 18 Oct 2023 02:16:11 +0000 (22:16 -0400)]
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

8 months agoAmend 2a2dad3c4d9016 and 32001918cf1d2
Juergen Spitzmueller [Mon, 16 Oct 2023 11:40:40 +0000 (13:40 +0200)]
Amend 2a2dad3c4d9016 and 32001918cf1d2

Thanks, Udi.

8 months ago Update fr.po
jpc [Mon, 16 Oct 2023 08:58:41 +0000 (10:58 +0200)]
       Update fr.po

8 months agoupdate German UG
Juergen Spitzmueller [Mon, 16 Oct 2023 07:48:32 +0000 (09:48 +0200)]
update German UG

8 months agoextend explanation of hyphenation handling
Juergen Spitzmueller [Mon, 16 Oct 2023 07:48:17 +0000 (09:48 +0200)]
extend explanation of hyphenation handling

8 months agoAdd note on \hyphenation
Richard Kimberly Heck [Mon, 16 Oct 2023 01:53:36 +0000 (21:53 -0400)]
Add note on \hyphenation

8 months agoFix documentation on hyphenation points
Richard Kimberly Heck [Mon, 16 Oct 2023 01:48:11 +0000 (21:48 -0400)]
Fix documentation on hyphenation points

8 months agoOnly apply ui_style if it has changed
Juergen Spitzmueller [Sun, 15 Oct 2023 09:20:49 +0000 (11:20 +0200)]
Only apply ui_style if it has changed

8 months agode.po
Juergen Spitzmueller [Sun, 15 Oct 2023 09:16:25 +0000 (11:16 +0200)]
de.po

8 months agoWarn user that uistyle reset to default requires restart
Juergen Spitzmueller [Sun, 15 Oct 2023 09:02:45 +0000 (11:02 +0200)]
Warn user that uistyle reset to default requires restart

8 months agoSimplify
Juergen Spitzmueller [Sun, 15 Oct 2023 09:02:35 +0000 (11:02 +0200)]
Simplify

8 months agoUpdate German User Guide
Juergen Spitzmueller [Sun, 15 Oct 2023 07:41:22 +0000 (09:41 +0200)]
Update German User Guide

8 months agoMake new gui element translatable
Juergen Spitzmueller [Sun, 15 Oct 2023 07:40:58 +0000 (09:40 +0200)]
Make new gui element translatable

8 months agode.po
Juergen Spitzmueller [Sun, 15 Oct 2023 07:19:37 +0000 (09:19 +0200)]
de.po

8 months agocomplement tooltip
Juergen Spitzmueller [Sun, 15 Oct 2023 07:17:31 +0000 (09:17 +0200)]
complement tooltip

8 months agoImplement ui style selection dialog 12832 attempt 2
Eugene Chornyi [Sun, 15 Oct 2023 06:46:12 +0000 (08:46 +0200)]
Implement ui style selection dialog 12832 attempt 2

8 months agoCorrectly update Outliner icon size
Daniel Ramoeller [Thu, 6 Jan 2022 06:47:49 +0000 (07:47 +0100)]
Correctly update Outliner icon size

Fix for #12453

8 months ago Update fr.po
jpc [Fri, 13 Oct 2023 09:25:24 +0000 (11:25 +0200)]
    Update fr.po

8 months agoAdd separator between depth and inset stuff
Daniel Ramoeller [Fri, 13 Oct 2023 07:17:39 +0000 (09:17 +0200)]
Add separator between depth and inset stuff

Adds a separator that is missing between depth increase/decrease and inset stuff in the Edit menu

Fix for bug #12931.

8 months agoDo not use Color_selectionmath when selection is gone
Jean-Marc Lasgouttes [Thu, 12 Oct 2023 09:28:44 +0000 (11:28 +0200)]
Do not use Color_selectionmath when selection is gone

It might happen that the selection goes away without recomputing
metrics (for example with char-forward). The added test is a bit of a
band-aid for this situation. A better solution would be to understand
better when metrics computation is triggered in mathed.

8 months agoUse Color_selectionmath as needed for multi-cell selection in math
Jean-Marc Lasgouttes [Thu, 12 Oct 2023 09:09:46 +0000 (11:09 +0200)]
Use Color_selectionmath as needed for multi-cell selection in math

This is complementary to partial selection implemented at 65cb9fa4.

8 months agoRevert 072ba7bd and f1deb1c6
Eugene Chornyi [Wed, 11 Oct 2023 21:20:37 +0000 (23:20 +0200)]
Revert 072ba7bd and f1deb1c6

8 months agoamend 072ba7bd
Eugene Chornyi [Wed, 11 Oct 2023 20:03:29 +0000 (22:03 +0200)]
amend 072ba7bd

8 months agoAdd space padding around word count forgotten part of (#12625).
Pavel Sanda [Wed, 11 Oct 2023 19:07:12 +0000 (21:07 +0200)]
Add space padding around word count forgotten part of (#12625).

Again from Daniel.

8 months agoRemove ugly frame around word count (#12625).
Pavel Sanda [Wed, 11 Oct 2023 19:01:56 +0000 (21:01 +0200)]
Remove ugly frame around word count (#12625).

Requested and tested by Daniel.

8 months agoMathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter...
Thibaut Cuvelier [Sun, 8 Oct 2023 00:12:35 +0000 (02:12 +0200)]
MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space.

8 months agoImplement ui style selection dialog 12832
Eugene Chornyi [Wed, 11 Oct 2023 18:06:52 +0000 (20:06 +0200)]
Implement ui style selection dialog 12832

8 months agoctests: uninvert DocBook test due to recent fix
Scott Kostyshak [Tue, 10 Oct 2023 14:35:53 +0000 (10:35 -0400)]
ctests: uninvert DocBook test due to recent fix

8 months agoFix three sign-compare compiler warning
Scott Kostyshak [Tue, 10 Oct 2023 14:07:23 +0000 (10:07 -0400)]
Fix three sign-compare compiler warning

Fixes three similar warnings. One of them is the following:

src/insets/InsetInfo.cpp:1583:20: error: comparison of integers of different signs: 'int' and 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
        for (int i = 0; i < sequence.length(); ++i) {
                        ~ ^ ~~~~~~~~~~~~~~~~~

8 months agoXHTML: implement InsetInfo.
Thibaut Cuvelier [Sun, 8 Oct 2023 20:09:59 +0000 (22:09 +0200)]
XHTML: implement InsetInfo.

8 months agoDocBook: fix a crash in docbookSimpleAllParagraphs.
Thibaut Cuvelier [Sun, 8 Oct 2023 19:11:17 +0000 (21:11 +0200)]
DocBook: fix a crash in docbookSimpleAllParagraphs.

When having the code preview pane open with examples/Language_Support/Mixing_Japanese_with_other_Languages_(with_CJKutf8), clicking at random on paragraphs sometimes yielded a crash: *par when par is the end of the iterator. LyX could output the whole document as DocBook without this patch and still generates the same output with it (i.e. no text is missing).

8 months agoDocBook: in InsetInfo, ensure that no db:date is inserted within a db:date.
Thibaut Cuvelier [Sun, 8 Oct 2023 19:06:46 +0000 (21:06 +0200)]
DocBook: in InsetInfo, ensure that no db:date is inserted within a db:date.

8 months agoDocBook: fix closing formatting after deleted text.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:39:45 +0000 (01:39 +0200)]
DocBook: fix closing formatting after deleted text.

Previously, when closing font tags, only the previous character's font was used. However, if that character is deleted, it had no change of having the right font tags opened/closed. Hence, look further to compare the font of the current character to output with the font of the previously output character.

8 months agoDocBook: fix formatting of TODOs.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:38:27 +0000 (01:38 +0200)]
DocBook: fix formatting of TODOs.

The lines were very long; this commit truncates them to 120 characters.

8 months agoDocBook: add support for InsetInfo.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:20:14 +0000 (01:20 +0200)]
DocBook: add support for InsetInfo.

A similar patch would be required for LyXHTML, but it will come later. The main impact is that some text isn't output in XHTML (like DocBook before this patch).

The code isn't as clean as it could be. I avoided touching anything not related to DocBook, as the release of 2.4 is nearing, while leaving comments for parts to improve for the next release cycle. Given that the code compiles, there are no risks for TeX or XHTML outputs; for DocBook, less content is skipped, which is a net improvement for users.

8 months agode.po
Juergen Spitzmueller [Tue, 10 Oct 2023 06:53:50 +0000 (08:53 +0200)]
de.po

8 months agoFew string fixes from Dan.
Pavel Sanda [Mon, 9 Oct 2023 18:41:57 +0000 (20:41 +0200)]
Few string fixes from Dan.

8 months agoAdd missed file "org.lyx.LyX.metainfo.xml" to cmake build
Kornel Benko [Mon, 9 Oct 2023 16:05:51 +0000 (18:05 +0200)]
Add missed file "org.lyx.LyX.metainfo.xml" to cmake build

8 months agoctests: add test cases for DocBook
Scott Kostyshak [Sat, 7 Oct 2023 18:57:30 +0000 (14:57 -0400)]
ctests: add test cases for DocBook

Patch from Thibaut Cuvelier.

8 months agoUpdate sk.po
Kornel Benko [Fri, 6 Oct 2023 09:18:59 +0000 (11:18 +0200)]
Update sk.po

8 months ago* cs.po
Pavel Sanda [Wed, 4 Oct 2023 12:53:07 +0000 (14:53 +0200)]
* cs.po

8 months agoremerge cs.po
Pavel Sanda [Wed, 4 Oct 2023 12:43:50 +0000 (14:43 +0200)]
remerge cs.po