Commit Graph

46442 Commits

Author SHA1 Message Date
jpc
e530f71f8f Additional.lyx : a number of typos and update aastex to version 631 2024-03-05 10:18:55 +01:00
jpc
cd83473d08 Transcription of Additional restructuration in the French version
Translations remain to be done
2024-03-05 10:04:14 +01:00
Pavel Sanda
56ab845ca5 * generate_contributions.py - another php 8 choking points 2024-03-03 00:26:26 +01:00
Pavel Sanda
0bd6fe0fc4 * 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.
2024-03-03 00:09:32 +01:00
Thibaut Cuvelier
5c5765061f 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.
2024-03-01 13:45:28 +01:00
Thibaut Cuvelier
3973bbcf99 DocBook: authorsToDocBookAuthorGroup never needs to return anything. 2024-03-01 13:32:17 +01:00
Thibaut Cuvelier
e3020a6b2d DocBook: support bookauthor in bibliographies. 2024-03-01 13:22:34 +01:00
Juergen Spitzmueller
88a2414839 Do not \cprotect in table cells 2024-03-01 07:18:28 +01:00
Jean-Marc Lasgouttes
677a2c2cd1 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.
2024-02-29 10:46:26 +01:00
Jean-Marc Lasgouttes
8f61b0859c 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.
2024-02-29 10:28:15 +01:00
Jean-Marc Lasgouttes
23105b2edd 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.
2024-02-28 17:00:54 +01:00
Juergen Spitzmueller
be209506d5 Linguistics: resolve tracked changes 2024-02-28 16:16:43 +01:00
jpc
026bd67568 French example Linguistics.lyx: upadate before 2.4.0 2024-02-28 11:37:24 +01:00
Jean-Marc Lasgouttes
789a886af8 fixup 97cf2b6a: avoid leak 2024-02-27 18:37:07 +01:00
Jean-Marc Lasgouttes
97cf2b6aef 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.
2024-02-27 18:21:57 +01:00
Juergen Spitzmueller
8742f77f3a Update of de/Math 2024-02-27 07:17:47 +01:00
Juergen Spitzmueller
d0a4b80256 Math.lyx: some formatting fixes 2024-02-27 07:17:31 +01:00
Juergen Spitzmueller
ead6eb8944 Consider bookauthor in preview
Hence, also support the inbook type
2024-02-27 05:40:57 +01:00
Thibaut Cuvelier
27c01ee1d3 Amend 8e0bc01d
std::set::find only appeared in C++20. Rather use std::set::find for compatibility.
2024-02-27 00:45:21 +01:00
Scott Kostyshak
0c0f4c6b56 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.
2024-02-26 11:12:20 -05:00
Thibaut Cuvelier
baccce7d2d 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.
2024-02-26 16:09:52 +01:00
Thibaut Cuvelier
8e0bc01d50 DocBook: when a similar tag is present multiple times in the bibliography entry, output it only once.
Other copies have an error message.
2024-02-26 16:06:26 +01:00
Thibaut Cuvelier
2be72a1534 DocBook: in bibliographies, fix support for editors.
Also, add TODOs for similar problems lurking around.
2024-02-26 15:52:35 +01:00
Thibaut Cuvelier
6b1441036f Use C++11 string literals to make code easier to read. 2024-02-26 15:24:36 +01:00
Thibaut Cuvelier
3fdf3aafe8 DocBook: restore index ranges. 2024-02-26 15:15:32 +01:00
Thibaut Cuvelier
5dd36404f2 DocBook: simplify building an error message. 2024-02-26 15:09:10 +01:00
Thibaut Cuvelier
c71f703914 DocBook: update bibliography handling for 337f953426. 2024-02-26 14:58:35 +01:00
Kornel Benko
8282a477f5 Update sk.po
Wrong shortcut case
2024-02-26 10:46:30 +01:00
jpc
9ca00ddc69 French Math manual: last update before 2.4.0 2024-02-26 10:03:04 +01:00
Thibaut Cuvelier
e311606a30 Update comment: a function was renamed. 2024-02-26 02:17:48 +01:00
Juergen Spitzmueller
ce27f5beca Consider biblatex author -> bookauthor mapping in preview 2024-02-25 08:10:23 +01:00
Juergen Spitzmueller
43ee724fcf update tex2lyx tests
in all these cases, though, typographic rather than plain quotes should
be used.
2024-02-25 07:03:06 +01:00
jpc
5bccb45968 French EmbeddedObjects manual: final upadte before 2.4.0 2024-02-24 16:11:53 +01:00
Juergen Spitzmueller
337f953426 Consider biblatex subtitles in bibliography preview 2024-02-24 16:09:47 +01:00
Juergen Spitzmueller
82064f7bff Properly parse biblatex crossref'ed book titles 2024-02-24 15:51:35 +01:00
Juergen Spitzmueller
3eaa374506 Fix name type parsing 2024-02-24 15:27:56 +01:00
Juergen Spitzmueller
5b11066a37 Properly resolve crossref'ed data in BiblioInfo
This needs to take the mappings into account as well, not just
plain fields.
2024-02-24 15:26:41 +01:00
Juergen Spitzmueller
1f48af5f55 tex2lyx: simplify babel shorthands detection 2024-02-24 10:48:34 +01:00
Juergen Spitzmueller
f72d68cd9f fix column default of IEEEtran layout 2024-02-24 08:57:14 +01:00
Juergen Spitzmueller
9a3fe51474 tex2lyx: properly import \tikzset 2024-02-24 08:28:40 +01:00
Juergen Spitzmueller
a600ca5389 tex2lyx: consider recently added babel shorthands 2024-02-24 08:15:40 +01:00
Pavel Sanda
97886db0fc * ANNOUNCE 2024-02-21 23:12:47 +01:00
jpc
cb0ef98a1e French UserGuide : final update before 2.4.0 2024-02-21 16:52:25 +01:00
Scott Kostyshak
7e0d41ce51 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
2024-02-20 11:00:09 -05:00
Juergen Spitzmueller
22d8a0cbc9 Add missing language markup 2024-02-17 11:18:47 +01:00
Enrico Forestieri
cdd3672385 Update it.po 2024-02-17 11:05:04 +01:00
Koji Yokota
ef3874149e Update ja.po 2024-02-15 17:56:12 +09:00
jpc
37f8d0412e Document accerss to LyX repo in Intro.lyx 2024-02-13 16:44:33 +01:00
jpc
b1cc184a19 Update web reference to lyxgit 2024-02-13 16:44:33 +01:00
Pavel Sanda
9eb5c7ba20 * cs.po 2024-02-12 21:23:15 +01:00