]> git.lyx.org Git - lyx.git/log
lyx.git
3 months agoMathML: consider ordinary and alphabetical characters as identifiers instead of opera...
Thibaut Cuvelier [Sat, 9 Mar 2024 19:59:12 +0000 (20:59 +0100)]
MathML: consider ordinary and alphabetical characters as identifiers instead of operators.

The goal is to consider all Greek letters as identifiers instead of operators.

Solves: https://www.lyx.org/trac/ticket/12948.

3 months agoSimplify a loop with a for-each.
Thibaut Cuvelier [Sat, 9 Mar 2024 19:46:54 +0000 (20:46 +0100)]
Simplify a loop with a for-each.

These loops were brought by C++11. The next step could be using std::any_of.

3 months agoDocBook: add missing mapping for AASTeX 6.3.
Thibaut Cuvelier [Sat, 9 Mar 2024 14:09:45 +0000 (15:09 +0100)]
DocBook: add missing mapping for AASTeX 6.3.

The result is far from perfect, see the TODOs. The corresponding tests are still inverted.

3 months agode/Additional: small adaptations
Juergen Spitzmueller [Fri, 8 Mar 2024 08:06:26 +0000 (09:06 +0100)]
de/Additional: small adaptations

3 months agoAdditional: Minor fix
Juergen Spitzmueller [Fri, 8 Mar 2024 08:05:57 +0000 (09:05 +0100)]
Additional: Minor fix

3 months agoUppdate sk.po
Kornel Benko [Thu, 7 Mar 2024 10:53:44 +0000 (11:53 +0100)]
Uppdate sk.po

3 months ago AMS classes naming
jpc [Wed, 6 Mar 2024 09:48:22 +0000 (10:48 +0100)]
       AMS classes naming

3 months ago Resolve shortcut conflicts in fr.po
jpc [Wed, 6 Mar 2024 09:28:16 +0000 (10:28 +0100)]
       Resolve shortcut conflicts in fr.po

3 months agoRestore origin tag
Scott Kostyshak [Tue, 5 Mar 2024 16:34:59 +0000 (11:34 -0500)]
Restore origin tag

3 months agode.po
Juergen Spitzmueller [Tue, 5 Mar 2024 14:57:15 +0000 (15:57 +0100)]
de.po

3 months agogrmpf
Juergen Spitzmueller [Tue, 5 Mar 2024 14:55:53 +0000 (15:55 +0100)]
grmpf

3 months agoFix file name
Juergen Spitzmueller [Tue, 5 Mar 2024 14:52:22 +0000 (15:52 +0100)]
Fix file name

This way, we still have a string freeze break, but it is at least only
one string :-(

(and no, it does not matter whether the translation of this string is
identical to the English string)

3 months agoFix lyx2lyx bug with nested inset arguments
Jürgen Spitzmüller [Tue, 5 Mar 2024 14:41:21 +0000 (15:41 +0100)]
Fix lyx2lyx bug with nested inset arguments

3 months agoAmend e530f71f8f33bc0
Jürgen Spitzmüller [Tue, 5 Mar 2024 14:30:17 +0000 (15:30 +0100)]
Amend e530f71f8f33bc0

I suppose the template file should not have been deleted, but moved.

3 months ago layout fot aastex v631
jpc [Tue, 5 Mar 2024 11:29:27 +0000 (12:29 +0100)]
    layout fot aastex v631

3 months ago aastex v 631
jpc [Tue, 5 Mar 2024 11:24:17 +0000 (12:24 +0100)]
        aastex v 631

3 months ago Typo in file name
jpc [Tue, 5 Mar 2024 09:32:23 +0000 (10:32 +0100)]
      Typo in file name

3 months ago Additional.lyx : a number of typos and update aastex to version 631
jpc [Tue, 5 Mar 2024 09:18:55 +0000 (10:18 +0100)]
     Additional.lyx : a number of typos and update aastex to version 631

3 months ago Transcription of Additional restructuration in the French version
jpc [Tue, 5 Mar 2024 09:03:13 +0000 (10:03 +0100)]
    Transcription of Additional restructuration in the French version
        Translations remain to be done

3 months ago* generate_contributions.py - another php 8 choking points
Pavel Sanda [Sat, 2 Mar 2024 23:26:26 +0000 (00:26 +0100)]
* generate_contributions.py - another php 8 choking points

3 months ago* generate_contributions.py - php 8 chokes on those
Pavel Sanda [Sat, 2 Mar 2024 23:07:08 +0000 (00:07 +0100)]
* generate_contributions.py - php 8 chokes on those

@anyone: please do not commit changes generated by generate_contributions.py
until we switch to the new web server. Not sure what will this output do
with older php.

3 months agoDocBook: amend e3020a6b.
Thibaut Cuvelier [Fri, 1 Mar 2024 12:45:28 +0000 (13:45 +0100)]
DocBook: amend e3020a6b.

Book authorship and authorship can be quite distinct. As far as I know, there is no standard way to represent book authorship in DocBook bibliographies.

3 months agoDocBook: authorsToDocBookAuthorGroup never needs to return anything.
Thibaut Cuvelier [Fri, 1 Mar 2024 12:32:17 +0000 (13:32 +0100)]
DocBook: authorsToDocBookAuthorGroup never needs to return anything.

3 months agoDocBook: support bookauthor in bibliographies.
Thibaut Cuvelier [Fri, 1 Mar 2024 11:55:40 +0000 (12:55 +0100)]
DocBook: support bookauthor in bibliographies.

3 months agoDo not \cprotect in table cells
Juergen Spitzmueller [Fri, 1 Mar 2024 06:18:28 +0000 (07:18 +0100)]
Do not \cprotect in table cells

3 months agoFixup 71d9f6e9: swap two tests to avoid line breaking issues
Jean-Marc Lasgouttes [Wed, 28 Feb 2024 10:27:52 +0000 (11:27 +0100)]
Fixup 71d9f6e9: swap two tests to avoid line breaking issues

The new approach to line breaking introduced in 71d9f6e9 is correct,
but the newly introduced min_row_wid should not be updated when the
remaining line width after a break is larger than next_width.

Swapping the two tests fixes remaining issues.

Fixes (for good?) #12899.

3 months agoFix support for screen fractional scaling with Wayland
Jean-Marc Lasgouttes [Sun, 25 Feb 2024 19:17:31 +0000 (20:17 +0100)]
Fix support for screen fractional scaling with Wayland

The display was wrong when a backing store is in use (which is the case
with Wayland). To fix this in GuiWorkArea::Private::resetScreen(), the
pixelRatio is now stored as a double instead of an int.

Concerning support for QT_SCALE_FACTOR, the existing code was wrong
because this value is already taken into account in devicePixelRatioF
for Qt > 5.6 (no fractional scaling support before that). The
situation is as follows:

                   Qt < 5.6    5.6 <= Qt < 6  Qt 6
devicePixelRatio   int(ratio)  int(ratio)     ratio
devicePixelRatioF  N/A         ratio          ratio

So it is only between Qt 5.6 and Qt 6 that devicePixelRatioF() has to
be used instead of devicePixelRatio().
QGuiApplication::devicePixelRatio() does not have a 'F' version, it
always returns the real thing.

Fixes ticket #13039.

3 months agoFix compilation on ubuntu 18.04
Jean-Marc Lasgouttes [Wed, 28 Feb 2024 15:58:35 +0000 (16:58 +0100)]
Fix compilation on ubuntu 18.04

One of Qt 5.9 or gcc 7.5 does not like the or-ing of several enum flags.

3 months agoLinguistics: resolve tracked changes
Juergen Spitzmueller [Wed, 28 Feb 2024 15:16:43 +0000 (16:16 +0100)]
Linguistics: resolve tracked changes

3 months ago French example Linguistics.lyx: upadate before 2.4.0
jpc [Wed, 28 Feb 2024 10:36:45 +0000 (11:36 +0100)]
        French example Linguistics.lyx: upadate before 2.4.0

3 months agofixup 97cf2b6a: avoid leak
Jean-Marc Lasgouttes [Tue, 27 Feb 2024 17:37:07 +0000 (18:37 +0100)]
fixup 97cf2b6a: avoid leak

3 months agoAvoid crash when inserting macro template in tabular inset
Jean-Marc Lasgouttes [Tue, 27 Feb 2024 17:09:42 +0000 (18:09 +0100)]
Avoid crash when inserting macro template in tabular inset

The issue here is that macro templates are forbidden in InsetTabular
(why? I do not know) and Text::getStatus does not enforce that
properly. Text::insertInset is called and does nothing (because
insertion is forbidden) and yet the cursor is changed to point into
this non existent inset.

Solution:

1/ block insertion of macro templates when not allowed

2/ (additional safety) when insertion of a math macro inset failed, do
   not try to set cursor inside the non-existing inset.

Additionally clarify comments.

3 months agoUpdate of de/Math
Juergen Spitzmueller [Tue, 27 Feb 2024 06:17:47 +0000 (07:17 +0100)]
Update of de/Math

3 months agoMath.lyx: some formatting fixes
Juergen Spitzmueller [Tue, 27 Feb 2024 06:17:31 +0000 (07:17 +0100)]
Math.lyx: some formatting fixes

3 months agoConsider bookauthor in preview
Juergen Spitzmueller [Tue, 27 Feb 2024 04:40:57 +0000 (05:40 +0100)]
Consider bookauthor in preview

Hence, also support the inbook type

3 months agoAmend 8e0bc01d
Thibaut Cuvelier [Mon, 26 Feb 2024 23:45:10 +0000 (00:45 +0100)]
Amend 8e0bc01d

std::set::find only appeared in C++20. Rather use std::set::find for compatibility.

3 months agoctests: invert a utf8x test failing on TL23
Scott Kostyshak [Mon, 26 Feb 2024 16:12:20 +0000 (11:12 -0500)]
ctests: invert a utf8x test failing on TL23

It seems that utf8x is not supported, or needed, on updated TL. From
David Carlisle:

  utf8x by default does nothing now, but as a compromise
  compatibility for some specific existing documents if you
  explicitly load ucs then it and utf8x work as before, but that
  over writes all of latex's default unicode handling and things
  will go wrong. There really isn't much that can be said other than
  don't load the package. The alternative would be to make ucs do
  nothing as well, but that would stop some documents working that
  currently work.

3 months agoDocBook: in a table, fix a typo in a condition.
Thibaut Cuvelier [Mon, 26 Feb 2024 15:09:26 +0000 (16:09 +0100)]
DocBook: in a table, fix a typo in a condition.

Before this patch, all table cells had a semicolon at the beginning of their style:

<td style='; border-bottom:

This unwanted behaviour is only due to a typo in a condition when concatenating two styles: the previous code was checking the second part of the style once the first was output, instead of the first one.

3 months agoDocBook: when a similar tag is present multiple times in the bibliography entry,...
Thibaut Cuvelier [Mon, 26 Feb 2024 15:04:22 +0000 (16:04 +0100)]
DocBook: when a similar tag is present multiple times in the bibliography entry, output it only once.

Other copies have an error message.

3 months agoDocBook: in bibliographies, fix support for editors.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:50:12 +0000 (15:50 +0100)]
DocBook: in bibliographies, fix support for editors.

Also, add TODOs for similar problems lurking around.

3 months agoUse C++11 string literals to make code easier to read.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:24:36 +0000 (15:24 +0100)]
Use C++11 string literals to make code easier to read.

3 months agoDocBook: restore index ranges.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:15:32 +0000 (15:15 +0100)]
DocBook: restore index ranges.

3 months agoDocBook: simplify building an error message.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:09:10 +0000 (15:09 +0100)]
DocBook: simplify building an error message.

3 months agoDocBook: update bibliography handling for 337f9534260.
Thibaut Cuvelier [Mon, 26 Feb 2024 13:36:01 +0000 (14:36 +0100)]
DocBook: update bibliography handling for 337f9534260.

3 months agoUpdate sk.po
Kornel Benko [Mon, 26 Feb 2024 09:46:30 +0000 (10:46 +0100)]
Update sk.po

Wrong shortcut case

3 months ago French Math manual: last update before 2.4.0
jpc [Mon, 26 Feb 2024 09:01:57 +0000 (10:01 +0100)]
      French Math manual: last update before 2.4.0

3 months agoUpdate comment: a function was renamed.
Thibaut Cuvelier [Mon, 26 Feb 2024 01:17:48 +0000 (02:17 +0100)]
Update comment: a function was renamed.

3 months agoConsider biblatex author -> bookauthor mapping in preview
Juergen Spitzmueller [Sun, 25 Feb 2024 07:10:23 +0000 (08:10 +0100)]
Consider biblatex author -> bookauthor mapping in preview

3 months agoupdate tex2lyx tests
Juergen Spitzmueller [Sun, 25 Feb 2024 06:03:06 +0000 (07:03 +0100)]
update tex2lyx tests

in all these cases, though, typographic rather than plain quotes should
be used.

3 months ago French EmbeddedObjects manual: final upadte before 2.4.0
jpc [Sat, 24 Feb 2024 15:10:39 +0000 (16:10 +0100)]
   French EmbeddedObjects manual: final upadte before 2.4.0

3 months agoConsider biblatex subtitles in bibliography preview
Juergen Spitzmueller [Sat, 24 Feb 2024 15:09:47 +0000 (16:09 +0100)]
Consider biblatex subtitles in bibliography preview

3 months agoProperly parse biblatex crossref'ed book titles
Juergen Spitzmueller [Sat, 24 Feb 2024 14:51:35 +0000 (15:51 +0100)]
Properly parse biblatex crossref'ed book titles

3 months agoFix name type parsing
Juergen Spitzmueller [Sat, 24 Feb 2024 14:27:56 +0000 (15:27 +0100)]
Fix name type parsing

3 months agoProperly resolve crossref'ed data in BiblioInfo
Juergen Spitzmueller [Sat, 24 Feb 2024 14:26:41 +0000 (15:26 +0100)]
Properly resolve crossref'ed data in BiblioInfo

This needs to take the mappings into account as well, not just
plain fields.

3 months agotex2lyx: simplify babel shorthands detection
Juergen Spitzmueller [Sat, 24 Feb 2024 09:48:34 +0000 (10:48 +0100)]
tex2lyx: simplify babel shorthands detection

3 months agofix column default of IEEEtran layout
Juergen Spitzmueller [Sat, 24 Feb 2024 07:57:14 +0000 (08:57 +0100)]
fix column default of IEEEtran layout

3 months agotex2lyx: properly import \tikzset
Juergen Spitzmueller [Sat, 24 Feb 2024 07:28:40 +0000 (08:28 +0100)]
tex2lyx: properly import \tikzset

3 months agotex2lyx: consider recently added babel shorthands
Juergen Spitzmueller [Sat, 24 Feb 2024 07:15:40 +0000 (08:15 +0100)]
tex2lyx: consider recently added babel shorthands

3 months ago* ANNOUNCE
Pavel Sanda [Wed, 21 Feb 2024 22:12:12 +0000 (23:12 +0100)]
* ANNOUNCE

3 months ago French UserGuide : final update before 2.4.0
jpc [Wed, 21 Feb 2024 15:51:08 +0000 (16:51 +0100)]
      French UserGuide : final update before 2.4.0

3 months agoctests: categorize #12708 test file as resolved
Scott Kostyshak [Tue, 20 Feb 2024 15:56:04 +0000 (10:56 -0500)]
ctests: categorize #12708 test file as resolved

From Jürgen:

  the bug was fixed in the recent refstyle release:
  https://ctan.org/ctan-ann/id/mailman.6197.1706904970.3764.ctan-ann@ctan.org

4 months agoAdd missing language markup
Juergen Spitzmueller [Sat, 17 Feb 2024 10:17:45 +0000 (11:17 +0100)]
Add missing language markup

4 months agoUpdate it.po
Enrico Forestieri [Sat, 17 Feb 2024 10:05:04 +0000 (11:05 +0100)]
Update it.po

4 months agoUpdate ja.po
Koji Yokota [Thu, 15 Feb 2024 08:56:12 +0000 (17:56 +0900)]
Update ja.po

4 months ago Document accerss to LyX repo in Intro.lyx
jpc [Tue, 13 Feb 2024 15:43:51 +0000 (16:43 +0100)]
     Document accerss to LyX repo in Intro.lyx

4 months ago Update web reference to lyxgit
jpc [Mon, 12 Feb 2024 10:32:00 +0000 (11:32 +0100)]
   Update web reference to lyxgit

4 months ago* cs.po
Pavel Sanda [Mon, 12 Feb 2024 20:23:15 +0000 (21:23 +0100)]
* cs.po

4 months agoUpdate ru.po
Yuriy Skalko [Mon, 12 Feb 2024 18:11:00 +0000 (19:11 +0100)]
Update ru.po

4 months agoRemerge strings.
Richard Kimberly Heck [Mon, 12 Feb 2024 16:11:02 +0000 (11:11 -0500)]
Remerge strings.

4 months ago Document 2.4.0 review
jpc [Mon, 12 Feb 2024 10:17:28 +0000 (11:17 +0100)]
    Document 2.4.0 review

4 months ago Restore alphabetical order in commands
jpc [Mon, 12 Feb 2024 09:53:45 +0000 (10:53 +0100)]
      Restore alphabetical order in commands

4 months agoUpdate GMO files
Richard Kimberly Heck [Sun, 11 Feb 2024 19:20:09 +0000 (14:20 -0500)]
Update GMO files

4 months agoNew Ukranian translation from Yuri.
Richard Kimberly Heck [Sun, 11 Feb 2024 19:19:54 +0000 (14:19 -0500)]
New Ukranian translation from Yuri.

4 months ago Update fr.po
jpc [Sun, 11 Feb 2024 15:57:48 +0000 (16:57 +0100)]
         Update fr.po

4 months ago Update of Customization for 2.4.0
jpc [Sun, 11 Feb 2024 10:10:53 +0000 (11:10 +0100)]
       Update of Customization for 2.4.0

4 months agoMinor cleanup: one import per line
José Matos [Sat, 10 Feb 2024 22:02:13 +0000 (22:02 +0000)]
Minor cleanup: one import per line

4 months agoRemove extra whitespace at the end of line
José Matos [Sat, 10 Feb 2024 22:01:01 +0000 (22:01 +0000)]
Remove extra whitespace at the end of line

4 months agoUpdate sk.po
Kornel Benko [Sat, 10 Feb 2024 09:46:16 +0000 (10:46 +0100)]
Update sk.po

4 months agode.po
Juergen Spitzmueller [Sat, 10 Feb 2024 08:44:50 +0000 (09:44 +0100)]
de.po

4 months agoFix return value. Committed wrong version.
Richard Kimberly Heck [Sat, 10 Feb 2024 01:40:56 +0000 (20:40 -0500)]
Fix return value. Committed wrong version.

4 months agoDo not error out if -geometry is used with QPA_XCB defined.
Richard Kimberly Heck [Sat, 10 Feb 2024 01:33:18 +0000 (20:33 -0500)]
Do not error out if -geometry is used with QPA_XCB defined.

4 months agoBack to devel again
Richard Kimberly Heck [Sat, 10 Feb 2024 01:34:03 +0000 (20:34 -0500)]
Back to devel again

4 months agoRC3 2.4.0-RC3
Richard Kimberly Heck [Sat, 10 Feb 2024 00:57:05 +0000 (19:57 -0500)]
RC3

4 months agoFix display of counters for included listings.
Richard Kimberly Heck [Sat, 10 Feb 2024 00:53:55 +0000 (19:53 -0500)]
Fix display of counters for included listings.

4 months agoAdapt lyxpak.py to work with Python 3 on Windows
Enrico Forestieri [Fri, 9 Feb 2024 21:46:05 +0000 (22:46 +0100)]
Adapt lyxpak.py to work with Python 3 on Windows

Seemingly, the elements of argv on Windows are a different type
with respect to Linux. A patched version of getopt.py has to be
used on Windows in order to match variable types.

4 months ago* ANNOUNCE
Pavel Sanda [Fri, 9 Feb 2024 17:51:12 +0000 (18:51 +0100)]
* ANNOUNCE

4 months agoAmend ad6aa8ba4b9525
Juergen Spitzmueller [Thu, 8 Feb 2024 08:00:57 +0000 (09:00 +0100)]
Amend ad6aa8ba4b9525

Apparently, the cell is not queried in all cases.

4 months agoBack to devel
Richard Kimberly Heck [Mon, 5 Feb 2024 20:45:53 +0000 (15:45 -0500)]
Back to devel

4 months agoRemerge strings.
Richard Kimberly Heck [Mon, 5 Feb 2024 03:02:26 +0000 (22:02 -0500)]
Remerge strings.

4 months agoPrepare for RC2
Richard Kimberly Heck [Mon, 5 Feb 2024 03:01:46 +0000 (22:01 -0500)]
Prepare for RC2

4 months agoDo not error out with too new autoconf/automake
Jean-Marc Lasgouttes [Fri, 2 Feb 2024 07:34:51 +0000 (08:34 +0100)]
Do not error out with too new autoconf/automake

The tests are not useful, since the configure.ac file checks for
minimal version anyway.

4 months ago Update French Customization (step 1) and Customization (typo)
jpc [Thu, 1 Feb 2024 21:17:56 +0000 (22:17 +0100)]
      Update French Customization (step 1) and Customization (typo)

4 months agoAvoid call of lilypond-book as python script if not on Windows
Stephan Witt [Mon, 29 Jan 2024 06:59:48 +0000 (07:59 +0100)]
Avoid call of lilypond-book as python script if not on Windows

4 months agoRestrict caption insertion in tables to where it makes sense (#13037)
Juergen Spitzmueller [Sun, 28 Jan 2024 11:13:27 +0000 (12:13 +0100)]
Restrict caption insertion in tables to where it makes sense (#13037)

This requires to move insetAllowed() to the cell level, as only cells
in the caption row of a longtable actually can take a caption.

4 months ago* configure - pdftoppm is broken on windows.
Pavel Sanda [Sat, 27 Jan 2024 17:30:04 +0000 (18:30 +0100)]
* configure - pdftoppm is broken on windows.

From now we will use it only in case IM coders are really
banned (so for windows we are back at 2.3 conversion chain).

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

4 months agoru/UserGuide: adjust for alphadin to alpha change
Yuriy Skalko [Sat, 27 Jan 2024 09:52:20 +0000 (10:52 +0100)]
ru/UserGuide: adjust for alphadin to alpha change

4 months agoAmend previous commit
Scott Kostyshak [Fri, 26 Jan 2024 15:34:06 +0000 (10:34 -0500)]
Amend previous commit

Set the default document output format to PDF (pdflatex), because
the test file fails to export with LuaTeX (in both 2.3.x and master).

This commit amends 6094a56b.

4 months agoAdd export test for #13036
Scott Kostyshak [Fri, 26 Jan 2024 15:18:05 +0000 (10:18 -0500)]
Add export test for #13036

4 months agoAdd export test for #13022
Scott Kostyshak [Fri, 26 Jan 2024 15:13:27 +0000 (10:13 -0500)]
Add export test for #13022

4 months agofixup convert_lineno (#13036)
Juergen Spitzmueller [Fri, 26 Jan 2024 09:30:31 +0000 (10:30 +0100)]
fixup convert_lineno (#13036)

This routine assumed \linenumbers to be preceded by \usepackage{lineno}
and that by a lyx2lyx comment.

Of course, this is not the case if users loaded lineno manually.