]> git.lyx.org Git - lyx.git/log
lyx.git
16 months agoctests inverted: adapt to recent renaming
Scott Kostyshak [Sat, 11 Feb 2023 17:13:44 +0000 (12:13 -0500)]
ctests inverted: adapt to recent renaming

16 months agoWrong borders on Simple Grid/Grid with Head table template
Daniel Ramoeller [Wed, 9 Mar 2022 19:31:46 +0000 (20:31 +0100)]
Wrong borders on Simple Grid/Grid with Head table template

Fix for #12505.

16 months agotex2lyx: support documentclass in path (#12284)
Juergen Spitzmueller [Sat, 11 Feb 2023 08:57:32 +0000 (09:57 +0100)]
tex2lyx: support documentclass in path (#12284)

16 months agoNew Japanese po from Koji
Richard Kimberly Heck [Sat, 11 Feb 2023 03:58:57 +0000 (22:58 -0500)]
New Japanese po from Koji

16 months ago* cs.po
Pavel Sanda [Fri, 10 Feb 2023 21:36:50 +0000 (22:36 +0100)]
* cs.po

16 months agoFix moved examples's \origin
Juergen Spitzmueller [Fri, 10 Feb 2023 15:31:33 +0000 (16:31 +0100)]
Fix moved examples's \origin

16 months agoMove some example files to proper location
Juergen Spitzmueller [Fri, 10 Feb 2023 15:20:38 +0000 (16:20 +0100)]
Move some example files to proper location

Listen to Uncle Tarski and do not mixup meta and object language!

16 months agoUpdate sk.po
Kornel Benko [Fri, 10 Feb 2023 15:01:41 +0000 (16:01 +0100)]
Update sk.po

16 months agoAnother cut an paste error
Juergen Spitzmueller [Fri, 10 Feb 2023 13:11:03 +0000 (14:11 +0100)]
Another cut an paste error

16 months agoClarify example file names
Juergen Spitzmueller [Fri, 10 Feb 2023 13:04:21 +0000 (14:04 +0100)]
Clarify example file names

These are not about multilingual typesetting in general,
but about combining Japanese (as main language) with other scripts.

16 months agode.po
Juergen Spitzmueller [Fri, 10 Feb 2023 12:55:39 +0000 (13:55 +0100)]
de.po

16 months agoFix cut and paste error
Juergen Spitzmueller [Fri, 10 Feb 2023 12:51:43 +0000 (13:51 +0100)]
Fix cut and paste error

16 months agoAdd Armenian example file, originally by Günter Milde, extended by me (#10580)
Juergen Spitzmueller [Fri, 10 Feb 2023 12:50:54 +0000 (13:50 +0100)]
Add Armenian example file, originally by Günter Milde, extended by me (#10580)

16 months agoMove language-specific examples in their own category
Juergen Spitzmueller [Fri, 10 Feb 2023 12:10:15 +0000 (13:10 +0100)]
Move language-specific examples in their own category

Also, give some files a more transparent name

16 months agoRemove acknowledgement theorem traces
Juergen Spitzmueller [Fri, 10 Feb 2023 11:54:20 +0000 (12:54 +0100)]
Remove acknowledgement theorem traces

16 months agode.po: typo
Juergen Spitzmueller [Fri, 10 Feb 2023 11:34:57 +0000 (12:34 +0100)]
de.po: typo

16 months agode.po
Juergen Spitzmueller [Fri, 10 Feb 2023 11:32:57 +0000 (12:32 +0100)]
de.po

16 months agoAdd layouts for luatexja LaTeX classes, by Koji Yokota (#11103)
Juergen Spitzmueller [Fri, 10 Feb 2023 11:10:00 +0000 (12:10 +0100)]
Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103)

16 months ago Update French Tutorial (section 5.4)
jpc [Fri, 10 Feb 2023 10:47:38 +0000 (11:47 +0100)]
    Update French Tutorial (section 5.4)

16 months ago Update fr.po
jpc [Fri, 10 Feb 2023 10:16:20 +0000 (11:16 +0100)]
     Update fr.po

16 months agoAdd missing empty line (par break) between pars with differing line spacing (#12638)
Juergen Spitzmueller [Thu, 9 Feb 2023 16:23:18 +0000 (17:23 +0100)]
Add missing empty line (par break) between pars with differing line spacing (#12638)

16 months agoUpdate sk.po
Kornel Benko [Thu, 9 Feb 2023 11:10:58 +0000 (12:10 +0100)]
Update sk.po

16 months agoFix a layout error in newly added file
Scott Kostyshak [Wed, 8 Feb 2023 18:11:34 +0000 (13:11 -0500)]
Fix a layout error in newly added file

Fix the following terminal output:

  TextClass.cpp (850): Unable to remove counter: chapter

16 months agoRemove executable flag on some image files
Scott Kostyshak [Wed, 8 Feb 2023 16:59:40 +0000 (11:59 -0500)]
Remove executable flag on some image files

16 months agoFix layout font settings of newly added file
Scott Kostyshak [Wed, 8 Feb 2023 16:46:42 +0000 (11:46 -0500)]
Fix layout font settings of newly added file

Change "TextFont" to "Font". This fixes the following terminal
errors when opening the file:

  LyX: Unknown InsetLayout tag [around line 247 of file
  [layouts/jlreq-common.inc] current token: 'TextFont' context: '']
  LyX: Unknown InsetLayout tag [around line 247 of file
  [layouts/jlreq-common.inc] current token: 'Family' context: '']
  LyX: Unknown InsetLayout tag [around line 248 of file
  [layouts/jlreq-common.inc] current token: 'Typewriter' context: '']
  LyX: Unknown InsetLayout tag [around line 249 of file
  [layouts/jlreq-common.inc] current token: 'EndFont' context: '']

16 months agoFix a \origin of newly added file
Scott Kostyshak [Wed, 8 Feb 2023 16:28:18 +0000 (11:28 -0500)]
Fix a \origin of newly added file

16 months agoRemove executable flag on newly added files
Scott Kostyshak [Wed, 8 Feb 2023 16:22:54 +0000 (11:22 -0500)]
Remove executable flag on newly added files

16 months agotypo
Jean-Marc Lasgouttes [Wed, 8 Feb 2023 16:11:14 +0000 (17:11 +0100)]
typo

16 months agoRevert "Fix crash with info inset and dialogs"
Jean-Marc Lasgouttes [Wed, 8 Feb 2023 11:53:39 +0000 (12:53 +0100)]
Revert "Fix crash with info inset and dialogs"

This reverts commit 17e60e2e8559e5b702189c82a5a746b9f41cd219.

16 months agofix comment.
Jean-Marc Lasgouttes [Wed, 8 Feb 2023 11:28:01 +0000 (12:28 +0100)]
fix comment.

16 months agode.po
Juergen Spitzmueller [Wed, 8 Feb 2023 10:41:28 +0000 (11:41 +0100)]
de.po

16 months agoAdapt documentation of Japanese classes
Juergen Spitzmueller [Wed, 8 Feb 2023 10:27:20 +0000 (11:27 +0100)]
Adapt documentation of Japanese classes

16 months agoImprove labeling of Japanese classes
Juergen Spitzmueller [Wed, 8 Feb 2023 10:26:54 +0000 (11:26 +0100)]
Improve labeling of Japanese classes

16 months agoSupport for the JLReq class, by Koji Yokota (#12657)
Juergen Spitzmueller [Wed, 8 Feb 2023 10:19:11 +0000 (11:19 +0100)]
Support for the JLReq class, by Koji Yokota (#12657)

16 months agoDisable "search in selection only" with instant search
Juergen Spitzmueller [Tue, 7 Feb 2023 13:48:09 +0000 (14:48 +0100)]
Disable "search in selection only" with instant search

These two do not go well together. Making it work requires some major
overhaul of selection while searching (see #12655)

16 months agoUpdate sk.po
Kornel Benko [Tue, 7 Feb 2023 11:52:27 +0000 (12:52 +0100)]
Update sk.po

16 months ago Update fr.po
jpc [Tue, 7 Feb 2023 10:32:54 +0000 (11:32 +0100)]
 Update fr.po

16 months ago* cs.po
Pavel Sanda [Mon, 6 Feb 2023 20:52:04 +0000 (21:52 +0100)]
* cs.po

16 months agoTwo forgotten entries.
Pavel Sanda [Mon, 6 Feb 2023 20:48:16 +0000 (21:48 +0100)]
Two forgotten entries.

16 months agoFix crash with info inset and dialogs
Jean-Marc Lasgouttes [Mon, 6 Feb 2023 20:34:08 +0000 (21:34 +0100)]
Fix crash with info inset and dialogs

See the thread
  2.4 Crash (was: Updated LaTeXConfig.lyx (bxjsclasses added))
on lyx-devel (26/01/2023).

The backtrace imply a problem like:
1/ metrics are computed for some info inset
2/ the info inset is regenerated (and thus the paragraph it held is now invalid)
3/ We draw the inset and because of the new (disabled by default)
   bookmark display code, we access the id() of the invalid paragraph.
4/ boom!

To fix the issue, introduce a new boolean member that indicates when
the Row object of the metrics should not be used. In this case, the
draw() method returns early.

16 months agoRemove space between button and text with inlines collapsible insets
Jean-Marc Lasgouttes [Sun, 11 Dec 2022 19:59:43 +0000 (20:59 +0100)]
Remove space between button and text with inlines collapsible insets

Typically there are two sources of spacing:
* the button has two pixels added to the left and to the right
* the frame around the text also has 2 pixels to the left and to the right

Note that this value of two pixels is given here for simplicity, but
these are parameterized by methods like textOffset or leftOffset.

What we want to remove is the space after the button and the space
before the frame. This is done in 3 places

In dimensionCollapsed(), the extra space is removed from the dimension
after its computation

In metrics(), the space avoided before the frame is removed from width.

In draw, the whome text inset is drawn with a negative offset.

Fixes #12335.

16 months agoCheck whether we have a selection before issuing warning (#12655)
Juergen Spitzmueller [Mon, 6 Feb 2023 10:47:14 +0000 (11:47 +0100)]
Check whether we have a selection before issuing warning (#12655)

16 months agoRemove acknowledgement theorems from docs
Juergen Spitzmueller [Sun, 5 Feb 2023 13:38:51 +0000 (14:38 +0100)]
Remove acknowledgement theorems from docs

16 months agoRe-fix translation
Juergen Spitzmueller [Sun, 5 Feb 2023 11:16:18 +0000 (12:16 +0100)]
Re-fix translation

16 months agode.po
Juergen Spitzmueller [Sun, 5 Feb 2023 11:14:41 +0000 (12:14 +0100)]
de.po

16 months agoProperly fix acknowledgment issue part 2/2
Juergen Spitzmueller [Sun, 5 Feb 2023 11:07:37 +0000 (12:07 +0100)]
Properly fix acknowledgment issue part 2/2

Remove acknowledgment theorem types

As we have learned, these shouldn't have been added from the get go.

Documents having it get a local layout definition.

16 months agoAdd forgotten case
Juergen Spitzmueller [Sun, 5 Feb 2023 08:34:04 +0000 (09:34 +0100)]
Add forgotten case

16 months agoUpdate tex2lyx tests
Juergen Spitzmueller [Sat, 4 Feb 2023 16:48:57 +0000 (17:48 +0100)]
Update tex2lyx tests

16 months agoProperly fix acknowledgment issue part 1/2
Juergen Spitzmueller [Sat, 4 Feb 2023 16:47:52 +0000 (17:47 +0100)]
Properly fix acknowledgment issue part 1/2

Bump file format and convert/revert styles to unique spelling

16 months ago* cs.po
Pavel Sanda [Fri, 3 Feb 2023 22:41:17 +0000 (23:41 +0100)]
* cs.po

16 months ago* cs.po - start working on 2.4 translations
Pavel Sanda [Fri, 3 Feb 2023 22:35:42 +0000 (23:35 +0100)]
* cs.po - start working on 2.4 translations

16 months ago* cs.po import 2.3 & remerge
Pavel Sanda [Fri, 3 Feb 2023 21:05:16 +0000 (22:05 +0100)]
* cs.po import 2.3 & remerge

16 months agoUpdate to boost 1.81
Jean-Marc Lasgouttes [Thu, 2 Feb 2023 09:08:19 +0000 (10:08 +0100)]
Update to boost 1.81

16 months agoUpdate sk.po
Kornel Benko [Thu, 2 Feb 2023 09:16:03 +0000 (10:16 +0100)]
Update sk.po

16 months agoFix typos
Juergen Spitzmueller [Wed, 1 Feb 2023 18:05:32 +0000 (19:05 +0100)]
Fix typos

16 months agoAmend ce7eb7734bafaf
Juergen Spitzmueller [Wed, 1 Feb 2023 17:16:33 +0000 (18:16 +0100)]
Amend ce7eb7734bafaf

When a style is defunc'ed, defunc the obsoleted variant as well

16 months agoDisambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]]
Juergen Spitzmueller [Wed, 1 Feb 2023 15:24:16 +0000 (16:24 +0100)]
Disambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]]

16 months agoAmend 8d47ffd200eb2
Juergen Spitzmueller [Wed, 1 Feb 2023 11:55:37 +0000 (12:55 +0100)]
Amend 8d47ffd200eb2

the AEA layout includes and modifies AMS extended

16 months agoRevert "Extended comment and indentation for source code"
Jean-Marc Lasgouttes [Tue, 31 Jan 2023 23:12:14 +0000 (00:12 +0100)]
Revert "Extended comment and indentation for source code"

This was pushed by mistake. A different version of this patch will
eventually be committed.

This reverts commit 439c09912482489e79399fd9e10fa2b7f717f565.

16 months agoFixup 0fed10e4: make sure redraw happens as needed
Jean-Marc Lasgouttes [Tue, 31 Jan 2023 23:02:35 +0000 (00:02 +0100)]
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.

16 months agoExtended comment and indentation for source code
Daniel Ramoeller [Sat, 14 Jan 2023 12:22:57 +0000 (13:22 +0100)]
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

16 months ago* lib/layouttranslations
Pavel Sanda [Tue, 31 Jan 2023 19:59:00 +0000 (20:59 +0100)]
* lib/layouttranslations

Revert part of the update. It needs manual check for the rest.

16 months ago Update fr.po
jpc [Tue, 31 Jan 2023 16:20:05 +0000 (17:20 +0100)]
    Update fr.po

16 months agoUpdate sk.po
Kornel Benko [Tue, 31 Jan 2023 10:59:22 +0000 (11:59 +0100)]
Update sk.po

16 months agoAcknowledgement > Acknowledgment
Juergen Spitzmueller [Tue, 31 Jan 2023 06:39:27 +0000 (07:39 +0100)]
Acknowledgement > Acknowledgment

16 months agode.po
Juergen Spitzmueller [Tue, 31 Jan 2023 05:02:31 +0000 (06:02 +0100)]
de.po

16 months agoctests: uninvert JSS exports
Scott Kostyshak [Tue, 31 Jan 2023 01:59:08 +0000 (20:59 -0500)]
ctests: uninvert JSS exports

The Journal of Statistical Software exports now succeed. An update
must have fixed the core issue.

16 months agoFix more ja documents for LuaTeX/XeTeX + systemF
Scott Kostyshak [Mon, 30 Jan 2023 17:53:25 +0000 (12:53 -0500)]
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.

16 months agoFix Embedded Objects comp with LuaTeX (systemF)
Scott Kostyshak [Mon, 30 Jan 2023 17:22:25 +0000 (12:22 -0500)]
Fix Embedded Objects comp with LuaTeX (systemF)

Thanks to Jürgen.

16 months agoctests: uninvert ja XeLaTeX exports that work now
Scott Kostyshak [Mon, 30 Jan 2023 16:54:36 +0000 (11:54 -0500)]
ctests: uninvert ja XeLaTeX exports that work now

These exports now work thanks to the font fix at 6656dd22.

16 months agoFix font combos with Qt6 (#12630)
Juergen Spitzmueller [Mon, 30 Jan 2023 07:46:36 +0000 (08:46 +0100)]
Fix font combos with Qt6 (#12630)

Use CategorizedCombos methods to properly access the model

16 months agoAllow to hide categories in CategorizedCombo
Juergen Spitzmueller [Mon, 30 Jan 2023 07:45:58 +0000 (08:45 +0100)]
Allow to hide categories in CategorizedCombo

font combos do not need that

16 months agoSet typewriter fonts for ja docs
Scott Kostyshak [Mon, 30 Jan 2023 04:22:51 +0000 (23:22 -0500)]
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.

16 months ago Update French Customization manual for 2.4
jpc [Sun, 29 Jan 2023 17:33:13 +0000 (18:33 +0100)]
    Update French Customization manual for 2.4

16 months agoAmend 891ba726
Enrico Forestieri [Sun, 29 Jan 2023 17:30:50 +0000 (18:30 +0100)]
Amend 891ba726

Avoid an assertion when the cursor is at the start of a math hull.

16 months agoUpdate module descriptions
Juergen Spitzmueller [Sat, 28 Jan 2023 17:26:59 +0000 (18:26 +0100)]
Update module descriptions

16 months agofix glitch in index reversion
Juergen Spitzmueller [Sat, 28 Jan 2023 16:06:35 +0000 (17:06 +0100)]
fix glitch in index reversion

16 months agode/Additional: finish revision
Juergen Spitzmueller [Sat, 28 Jan 2023 15:26:38 +0000 (16:26 +0100)]
de/Additional: finish revision

16 months agoAdditional.lyx: further fixes #7 (last one)
Juergen Spitzmueller [Sat, 28 Jan 2023 15:18:48 +0000 (16:18 +0100)]
Additional.lyx: further fixes #7 (last one)

16 months agolyx2lyx: fix convert_totalheight method
Juergen Spitzmueller [Sat, 28 Jan 2023 09:16:54 +0000 (10:16 +0100)]
lyx2lyx: fix convert_totalheight method

This didn't account for float values

16 months agoAmend 16e67d4e
Enrico Forestieri [Fri, 27 Jan 2023 20:10:02 +0000 (21:10 +0100)]
Amend 16e67d4e

A docstring is not 0-terminated...

16 months agoFix bug #12633
Enrico Forestieri [Fri, 27 Jan 2023 19:34:24 +0000 (20:34 +0100)]
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.

16 months agoctests: comment out the new XHTML validate tests
Scott Kostyshak [Fri, 27 Jan 2023 02:40:23 +0000 (21:40 -0500)]
ctests: comment out the new XHTML validate tests

These new checks found issues that are difficult to fix.

16 months ago* english LaTeXConfig.lyx update from Koji
Pavel Sanda [Thu, 26 Jan 2023 00:27:01 +0000 (01:27 +0100)]
* english LaTeXConfig.lyx update from Koji

16 months ago* ja.po from Koji + remerged
Pavel Sanda [Thu, 26 Jan 2023 00:11:22 +0000 (01:11 +0100)]
* ja.po from Koji + remerged

16 months ago* UserGuide.lyx from Koji
Pavel Sanda [Thu, 26 Jan 2023 00:02:28 +0000 (01:02 +0100)]
* UserGuide.lyx from Koji

16 months ago* Tutorial.lyx from Koji
Pavel Sanda [Thu, 26 Jan 2023 00:01:40 +0000 (01:01 +0100)]
* Tutorial.lyx from Koji

16 months ago* Shortcuts.lyx from Koji
Pavel Sanda [Thu, 26 Jan 2023 00:00:12 +0000 (01:00 +0100)]
* Shortcuts.lyx from Koji

16 months ago* MergedManuals.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:59:18 +0000 (00:59 +0100)]
* MergedManuals.lyx from Koji

16 months ago* Math.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:58:29 +0000 (00:58 +0100)]
* Math.lyx from Koji

16 months ago* Math.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:57:28 +0000 (00:57 +0100)]
* Math.lyx from Koji

16 months ago* Intro.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:56:29 +0000 (00:56 +0100)]
* Intro.lyx from Koji

16 months ago* EmbeddedObjects.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:55:35 +0000 (00:55 +0100)]
* EmbeddedObjects.lyx from Koji

16 months ago* Customization.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:54:32 +0000 (00:54 +0100)]
* Customization.lyx from Koji

16 months ago* Additional.lyx from Koji
Pavel Sanda [Wed, 25 Jan 2023 23:53:11 +0000 (00:53 +0100)]
* Additional.lyx from Koji

16 months agoForgot this
Richard Kimberly Heck [Wed, 25 Jan 2023 16:23:57 +0000 (11:23 -0500)]
Forgot this

16 months agoFix -Winconsistent-missing-override
Scott Kostyshak [Wed, 25 Jan 2023 15:56:40 +0000 (10:56 -0500)]
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 62413580dee8a4ff325da8d28419b60a95cadd71.

16 months agoFix bug #12061.
Daniel Ramöller [Mon, 23 Jan 2023 23:05:26 +0000 (18:05 -0500)]
Fix bug #12061.

16 months agoInsetMathHull: add a missing const (plus strange indentation fixed).
Thibaut Cuvelier [Sun, 22 Jan 2023 01:45:25 +0000 (02:45 +0100)]
InsetMathHull: add a missing const (plus strange indentation fixed).

16 months agoMathML: make InsetMathHull::mathmlize easier to read while doing less work
Thibaut Cuvelier [Sun, 22 Jan 2023 00:49:03 +0000 (01:49 +0100)]
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