Commit Graph

46319 Commits

Author SHA1 Message Date
jpc
2c5a92d053 Update fr.po: a couple of typos and shortcut conflicts resolution 2024-04-10 18:57:58 +02:00
jpc
cd4e8d04b3 French Additional manual, translation of chapter 4 up to sec. 4.9 2024-04-10 18:51:28 +02:00
Jean-Marc Lasgouttes
25f1174203 Fix compilation with msvc 2019
'uint' is not defined, 'unsigned int' is better.

(cherry picked from commit c7f53afd31)
2024-04-08 10:43:05 +02:00
Jean-Marc Lasgouttes
89afdb050f Do not include <QDate> in InsetInfo.h
This is used by getDate/getTime, which actually should not be
InsetInfoParams methods, but functions in anonymous namespace.

(cherry picked from commit 51562ff377)
2024-04-08 10:42:46 +02:00
Pavel Sanda
3540350d33 * layouttranslations.review, ack from Yitzhak. 2024-04-07 22:02:33 +02:00
Juergen Spitzmueller
87b3bea823 Fix assertion when pasting paragraph with insets in lyxrc.ct_markup_copied
This has to be done after the inset buffers have been initialized.

(cherry picked from commit 9198ed5965)
2024-04-07 06:31:26 +02:00
jpc
36f8cd0a8e French Additional manual, translation of chapter 4 up to sec. 4.3 2024-04-06 18:43:35 +02:00
Kornel Benko
c971974f33 Cmake build: Make QT5-compilation be default 2024-04-06 12:36:47 +02:00
Pavel Sanda
cc4256e3bc * LFUNs.lyx - regenerate 2024-04-05 20:01:19 +02:00
Pavel Sanda
167534f6cf * quote-insert lfun description 2024-04-05 19:50:05 +02:00
jpc
4690de2bca Revert "Update sk.po"
This reverts commit 148001f6fe.
2024-04-05 17:51:02 +02:00
Juergen Spitzmueller
d35288f4cd Couple of corrections in RELEASE-NOTES (mainly typos) 2024-04-05 13:44:19 +02:00
Richard Kimberly Heck
37641cb08b Update update-po.sh script
(cherry picked from commit b360b9ebf7)
(cherry picked from commit eb57c93aab)
2024-04-04 17:18:24 -04:00
Jean-Marc Lasgouttes
0cd169d6ba Compilation fix with Qt < 5.7
Qt::ImAnchorRectangle has only been introduced in Qt 5.7. Since it is
used to answer a query from the IM machinery, there is no need for
it with older Qt versions.

(cherry picked from commit 6260689fd5)
2024-04-04 18:20:33 +02:00
Pavel Sanda
0ac87a2beb * ANNOUNCE 2024-04-03 21:49:05 +02:00
Juergen Spitzmueller
1dad179256 Fix label escaping in InsetMathRef (#12980)
This was completely broken: the IDs have been escaped in the LyX file
(which they absolutely shouldn't) but not in all LaTeX output (which
they should).

(cherry picked from commit 98080ca0d5)
2024-04-02 20:20:13 +02:00
jpc
1b0f8fae8a Update fr.po 2024-04-02 18:52:32 +02:00
jpc
a8338bb712 Translation of French Additional.lyx: chapter 3 completed 2024-04-02 17:45:31 +02:00
Kornel Benko
148001f6fe Update sk.po 2024-04-02 17:41:06 +02:00
Kornel Benko
993e784a62 Cmake build: Adapt for branch 2.4 2024-04-02 11:01:47 +02:00
Juergen Spitzmueller
334b5391ef de/UserGuide: update 2024-04-02 09:32:02 +02:00
Richard Kimberly Heck
63e54d9117 Marking branching 2024-04-01 16:20:24 -04:00
Juergen Spitzmueller
31ec96e01f Fix context menu of InsetMathRef 2024-04-01 17:59:56 +02:00
Juergen Spitzmueller
a020bbc4a8 Fix backslash LaTeXifying in InsetCommand
\ was transformed very early to \textbackslash{}, but then the following
routines escaped braces in the string, so we wrongly ended up in
\textbackslash\{\} and "\{} in the output
2024-04-01 10:57:27 +02:00
Juergen Spitzmueller
812e306dad Factor out shared method
Amends babb5b007b
2024-03-31 12:40:27 +02:00
jpc
55330a7844 Restore Chapter 11 2024-03-30 17:39:00 +01:00
Juergen Spitzmueller
babb5b007b Fix crash with quick search starting with mathed selection
setCursorSelection does not work with math. Copy the method from
spellchecker.
2024-03-30 10:14:34 +01:00
jpc
571babff5e Further translations of the French Additional manual 2024-03-29 18:58:25 +01:00
jpc
a9a328c85d Further translations of French Additional manual + typo and ref. to Hebrew Letter in sec 3.5 of Additional.lyx 2024-03-28 19:11:55 +01:00
Juergen Spitzmueller
698f922d19 Do not enter page break in heading (#13040)
Rather than that, put it before or after, or disallow,
depending on the position.
2024-03-28 18:03:54 +01:00
jpc
20c79dd472 Further translations of French Additional manual 2024-03-28 10:13:22 +01:00
jpc
cdb4cf5fa4 Further translation of French Additional manual + typo in English version 2024-03-27 18:39:25 +01:00
Jean-Marc Lasgouttes
43b1234a98 Typo in doc
Thanks to Peter J. Puchyr for noticing it.
2024-03-25 22:32:17 +01:00
Juergen Spitzmueller
60cffcd9b7 Fix alignment of screen font preview in prefs (remaining part of #13046) 2024-03-24 09:00:41 +01:00
Patrick de Visschere
58aca89003 Cmake build wit qt(5|6)(macos) did not include "plugins"
This makes things much simpler.

But at least with the latest macos tools (Sonoma and XCode15) a bundle
refuses to run if it 's not signed properly.

Both issues are solved with the patch included and have now been tested
with Qt5.15 and Qt6.7.

For completeness: I've checked the font-emph shortcut issue and, as
reported in the ticket mentioned, ^CmdE works with Qt5.15 but not with
Qt6.7. However the sequence ^C E does work. I don't know whether this is
intended as a workaround for this issue or was already implemented.
2024-03-23 11:28:31 +01:00
Jean-Marc Lasgouttes
4dfebbe9da Fix display of a math hull inset in a tight inset
This is a kind of hack. This allows InsetMathHull to state that it
needs some elbow room beyond its width, in order to fit the numbering
and/or the left margin (with left alignment), which are outside of the
inset itself.

To this end, InsetMathHull::metrics() sets a value in
MetricsInfo::extrawidth and this value is added later to the width of
the row that contains the inset (when this row is tight or shorter
than the max allowed width).

Fixes bug #12320.
2024-03-22 15:40:40 +01:00
Jean-Marc Lasgouttes
6d62d8009f Revert "Fix display of a math hull inset in a tight inset"
This commit will be replaed by a better solution.

Part of ticket #12320.

This reverts commit 4bbd4a45e7.
2024-03-22 15:08:26 +01:00
Jean-Marc Lasgouttes
44c0b4e4cc fix documentation of --enable-cxx-mode 2024-03-21 22:51:05 +01:00
Pavel Sanda
210ea66d2d * cs.po 2024-03-21 22:48:05 +01:00
Jean-Marc Lasgouttes
b659d7e3bd typo 2024-03-21 22:40:19 +01:00
Thibaut Cuvelier
fd37845075 Amend 16660d12.
The previous commit introduced wrong behaviours for <>. The new code carefully escapes what needs to be escaped from LaTeX, using the now-standard XML tools (XMLStream).
2024-03-21 21:32:45 +01:00
Thibaut Cuvelier
16660d12b4 MathML in HTML: don't escape <> for a raw LaTeX output.
In some cases (I only found numbered equations), the LaTeX output still has a bit of HTML. For numbered equations, using \tag{X} (as suggested in https://www.lyx.org/trac/ticket/13048) would require fiddling with the output. KaTeX doesn't support \label. This patch is probably the easiest and most reliable fix.

Fixes https://www.lyx.org/trac/ticket/13048.
2024-03-21 00:29:23 +01:00
Patrick de Visschere
3f790725d9 Using the latest commit and building lyx with cmake on macos-sonoma with
xcode fails with multiple error messages like this one:

----------
CMake Error in po/CMakeLists.txt:
       The custom command generating

     <build-directory>/po/LyX2.4.cat.pot

       is attached to multiple targets:

     translations
     update-gmo

  but none of these is a common dependency of the other(s).  This is not
  allowed by the Xcode "new build system".
2024-03-20 11:44:22 +01:00
Jürgen Spitzmüller
0d3d91c055 Add $$OrigAbsName placeholder to external
This produces the absolute path to the original file.

Documentation will follow in die time (after documentation has been
unfrozen)
2024-03-20 07:57:43 +01:00
Pavel Sanda
f7e6086e67 TableUI - allow expading of TableAlignCO (part of #13046). 2024-03-19 19:23:22 +01:00
Juergen Spitzmueller
b1e2986df8 Use docstring for preview snippet all the way down
No need to convert back and forth
2024-03-16 11:57:48 +01:00
Juergen Spitzmueller
1fca6842a5 Merge branch 'master' of git.lyx.org:lyx 2024-03-16 05:03:16 +01:00
Juergen Spitzmueller
f9c60d477d Simplify b3fe9cb704 2024-03-16 05:01:53 +01:00
Juergen Spitzmueller
5f82a7a515 Merge branch 'master' of git.lyx.org:lyx 2024-03-16 04:59:08 +01:00
Juergen Spitzmueller
b3fe9cb704 Prevent iconv exception in previews (#13042)
The preview loader assumes all content is in the main document encoding.

As soon as content was not encodable, LyX crashed. We now check for that
and if non-encodable glyphs are found, we do not produce a preview snippet
and warn.

Ideally, the preview loader should be made aware of encoding changes, or
we should generally use utf8 for previews.
2024-03-16 04:52:51 +01:00