Commit Graph

45556 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
1081893e97 Fixup 0fed10e4: make sure redraw happens as needed
This commit had had an additional not documented change: redraws
happen only when they are needed. This did not help fix the bug, but
looked smart on first sight. Alas, I find that these smart changes
added because "why not?" tend to come back to haunt me eventually.

In particular this case, the problem was that the code tested whether
the offset of anchor paragraph had changed, but not whether the
paragraph itself had changed. This means that, when switching from one
section to another with the outliner, the view was not updated.
2023-02-01 00:09:49 +01:00
Daniel Ramoeller
439c099124 Extended comment and indentation for source code
- automatically inherit indentation from previous block
- (un)indent blocks
- (un)comment blocks
- add feature to show tabs and spaces
2023-02-01 00:09:49 +01:00
Pavel Sanda
60d0cc2611 * lib/layouttranslations
Revert part of the update. It needs manual check for the rest.
2023-01-31 20:59:00 +01:00
jpc
b89e66ae36 Update fr.po 2023-01-31 17:20:23 +01:00
Kornel Benko
64fd4a7b41 Update sk.po 2023-01-31 11:59:22 +01:00
Juergen Spitzmueller
8d47ffd200 Acknowledgement > Acknowledgment 2023-01-31 07:39:27 +01:00
Juergen Spitzmueller
faaa911370 de.po 2023-01-31 06:02:31 +01:00
Scott Kostyshak
4b8b5bc252 ctests: uninvert JSS exports
The Journal of Statistical Software exports now succeed. An update
must have fixed the core issue.
2023-01-30 20:59:08 -05:00
Scott Kostyshak
795d5c408d Fix more ja documents for LuaTeX/XeTeX + systemF
I used the following command inside the ja directories, and
confirmed the diff manually:

  git ls-files -z | xargs -0 sed -i -e 's/\\font_typewriter "default" "default"/\\font_typewriter "default" "IPAGothic"/'

These changes are consistent with 6656dd22.
2023-01-30 13:36:58 -05:00
Scott Kostyshak
479825fe09 Fix Embedded Objects comp with LuaTeX (systemF)
Thanks to Jürgen.
2023-01-30 12:22:25 -05:00
Scott Kostyshak
4e9f660411 ctests: uninvert ja XeLaTeX exports that work now
These exports now work thanks to the font fix at 6656dd22.
2023-01-30 11:55:22 -05:00
Juergen Spitzmueller
2371bfdf15 Fix font combos with Qt6 (#12630)
Use CategorizedCombos methods to properly access the model
2023-01-30 08:46:36 +01:00
Juergen Spitzmueller
b260ff8b27 Allow to hide categories in CategorizedCombo
font combos do not need that
2023-01-30 08:45:58 +01:00
Scott Kostyshak
6656dd2275 Set typewriter fonts for ja docs
This fixes compilation with system fonts and LuaTeX for the Intro
and Customization manuals, although Embedded Objects still has an
error due to some preamble code.

Thanks to Jürgen.
2023-01-29 23:30:36 -05:00
jpc
203bd35c5b Update French Customization manual for 2.4 2023-01-29 18:33:50 +01:00
Enrico Forestieri
d213df2f2e Amend 891ba726
Avoid an assertion when the cursor is at the start of a math hull.
2023-01-29 18:32:23 +01:00
Juergen Spitzmueller
255f3c72fa Update module descriptions 2023-01-28 18:26:59 +01:00
Juergen Spitzmueller
1b42d800a3 fix glitch in index reversion 2023-01-28 17:06:35 +01:00
Juergen Spitzmueller
729af37dfe de/Additional: finish revision 2023-01-28 16:26:38 +01:00
Juergen Spitzmueller
7eafea43e3 Additional.lyx: further fixes #7 (last one) 2023-01-28 16:18:48 +01:00
Juergen Spitzmueller
b66a6dba43 lyx2lyx: fix convert_totalheight method
This didn't account for float values
2023-01-28 10:16:54 +01:00
Enrico Forestieri
07150cd928 Amend 16e67d4e
A docstring is not 0-terminated...
2023-01-27 21:10:02 +01:00
Enrico Forestieri
16e67d4ebb Fix bug #12633
Avoid recursion when validating a macro that is defined recursively.
This avoids a crash but the latex engine will choke on it, of course.
2023-01-27 20:34:24 +01:00
Scott Kostyshak
168af93020 ctests: comment out the new XHTML validate tests
These new checks found issues that are difficult to fix.
2023-01-26 21:42:06 -05:00
Pavel Sanda
5aaefca279 * english LaTeXConfig.lyx update from Koji 2023-01-26 01:27:01 +01:00
Pavel Sanda
c4c9ef396b * ja.po from Koji + remerged 2023-01-26 01:11:22 +01:00
Pavel Sanda
4b5a6deb15 * UserGuide.lyx from Koji 2023-01-26 01:02:28 +01:00
Pavel Sanda
2b514a9215 * Tutorial.lyx from Koji 2023-01-26 01:01:40 +01:00
Pavel Sanda
2bf401e597 * Shortcuts.lyx from Koji 2023-01-26 01:00:12 +01:00
Pavel Sanda
6b7737ad29 * MergedManuals.lyx from Koji 2023-01-26 00:59:18 +01:00
Pavel Sanda
0a8cf8cf52 * Math.lyx from Koji 2023-01-26 00:58:29 +01:00
Pavel Sanda
26e5a027ed * Math.lyx from Koji 2023-01-26 00:57:28 +01:00
Pavel Sanda
b4dcb804c1 * Intro.lyx from Koji 2023-01-26 00:56:29 +01:00
Pavel Sanda
617b6db305 * EmbeddedObjects.lyx from Koji 2023-01-26 00:55:35 +01:00
Pavel Sanda
7a18aeae84 * Customization.lyx from Koji 2023-01-26 00:54:32 +01:00
Pavel Sanda
082a80fbb3 * Additional.lyx from Koji 2023-01-26 00:53:11 +01:00
Richard Kimberly Heck
a4a1542fe7 Forgot this 2023-01-25 11:24:52 -05:00
Scott Kostyshak
2ccaefa8a1 Fix -Winconsistent-missing-override
Fix the following warning:

src/frontends/qt/GuiDocument.h:377:7: error: 'eventFilter' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        bool eventFilter(QObject * sender, QEvent * event);
             ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:139:18: note: overridden virtual function is here
    virtual bool eventFilter(QObject *watched, QEvent *event);
                 ^

Amends 62413580de.
2023-01-25 10:56:40 -05:00
Daniel Ramöller
62413580de Fix bug #12061. 2023-01-23 18:05:26 -05:00
Thibaut Cuvelier
fca8e54289 InsetMathHull: add a missing const (plus strange indentation fixed). 2023-01-22 02:45:25 +01:00
Thibaut Cuvelier
d066a66a51 MathML: make InsetMathHull::mathmlize easier to read while doing less work
If `havetable == true`, a lot of the code didn't make any sense: in particular, it was outputting a level of <m:mrow> too many.

Also, add some comments and rewrite the comment about mlabeledtr.

Contributed by lynx: https://www.lyx.org/trac/ticket/12629
2023-01-22 01:49:03 +01:00
Thibaut Cuvelier
e7d57338b9 InsetMathHull: replace 0 by nullptr. 2023-01-22 01:25:03 +01:00
Kornel Benko
bce1d94b42 Cmake tests for xhtml: Check only for errors
For now, do not handle warnings in output from call to simplehtml_validity.py.
2023-01-20 16:51:38 +01:00
jpc
4a625a3d60 Management of note in section 2.1.14 2023-01-20 10:58:15 +01:00
jpc
0ca5678638 Translation of new index features (last step) 2023-01-20 10:08:59 +01:00
Thibaut Cuvelier
bf0da33c9a MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs
Also, replace lspace='thinmathspace' by constructs that are not deprecated.

Contributed by lynx: https://www.lyx.org/trac/ticket/12629
2023-01-20 02:56:55 +01:00
Thibaut Cuvelier
598c6a0a87 MathML in HTML: in case of conversion failure, add a comment 2023-01-20 02:45:35 +01:00
Thibaut Cuvelier
f9fd652aae MathML: improve formatting of formula in XHTML hull
Contributed by lynx: https://www.lyx.org/trac/ticket/12629
2023-01-20 02:45:35 +01:00
Thibaut Cuvelier
0c227d3dfa MathML: remove extraneous <mrow> in fractions
Contributed by lynx: https://www.lyx.org/trac/ticket/12629
2023-01-20 02:30:43 +01:00
Thibaut Cuvelier
66fab70388 MathML: replace HTML entities with XML ones in more places
This part should have been committed with bc73a857 in the first place.
2023-01-20 02:25:37 +01:00