Commit Graph

10704 Commits

Author SHA1 Message Date
Scott Kostyshak
677dc3b7a6 Python fixes from José Matos
See here:

  https://www.mail-archive.com/search?l=mid&q=a7960223ee91696e916b281d1d9fc55df10a9480.camel%40gmail.com

Description from José pasted below:

  Functions `length_in_bp` and `revert_flex_inset` have an error in a
  (almost) never used path. The reason why this was never triggered is
  because this is part of the code where we try all the best efforts
  to recover from an ill-formed LyX file.

  The problem is that the functions call the `document` variable to
  issue an warning if the file does not follow the usual structure.
  The simple fix is to add that variable (as the first for the
  functions) and to add them at all the places where the functions are
  called.

  For reference this code was introduced by Georg (Baum) more than 8
  years ago and it was never reported. So the issue is not urgent in
  any meaningful way. :-)

  In `lyx2lyx/lyx_2_0.py`, in the function `revert_nameref`, there is
  a call to the document variable. The same as all the above.

  In `lyx2lyx/lyx_2_4.py`, in the `class fontmapping`. Similar to the
  above but now for error.
2023-08-19 22:08:08 -04:00
Scott Kostyshak
008e1cc963 Fix font substitutions of Thai documents
The substitutefont package is obsoleted now on TL because the
required functionality is in the kernel. See here:

  https://ctan.org/pkg/substitutefont
2023-08-17 22:17:02 -04:00
Pavel Sanda
1e4f913847 * lyxpaperview.py - non-waiting process call for all cases. 2023-08-17 23:36:18 +02:00
jpc
8458952e9a Update French Additional.lyx, step 2 2023-08-16 09:10:16 +02:00
Pavel Sanda
05088f6a35 UG: include Zotero per #12878 2023-08-15 22:01:13 +02:00
Juergen Spitzmueller
858b076ab7 Work around French babel's incompatibility with prettyref
In classic (pdf)latex, where the colon is activated, detokenize
the argument of \prettyref.

Fix proposed by egreg at
https://tex.stackexchange.com/a/527912/19291
2023-08-11 17:35:18 +02:00
Udi Fogiel
a2ad210926 fix-arabic-preamble-for-luatex 2023-08-11 12:14:33 +02:00
Enrico Forestieri
4fffa458ae Load esint when using \dotsint in math.
Fixes bug #12863.
2023-08-10 18:43:47 +02:00
Juergen Spitzmueller
e2e74ffb0a Grammar 2023-08-10 18:11:25 +02:00
Juergen Spitzmueller
cdc96159f1 Update German Customization manual 2023-08-10 14:56:53 +02:00
Juergen Spitzmueller
69ffa3a0e6 Typo and markup 2023-08-10 14:56:28 +02:00
Pavel Sanda
a3849e8bbe * layouttranslations ja review from Koji 2023-08-08 21:24:05 +02:00
Pavel Sanda
1b63be89ad * sk fixed 2023-08-07 10:35:41 +02:00
Kornel Benko
3dc29144a2 fix translation 2023-08-07 09:54:16 +02:00
Pavel Sanda
f2170fa583 typo 2023-08-07 01:54:08 +02:00
Pavel Sanda
fa6256d325 * layouttranslations.review 2023-08-06 23:34:53 +02:00
Pavel Sanda
72c495c94e * layouttranslations - review cs 2023-08-06 23:03:12 +02:00
Pavel Sanda
660ccd36a3 * RELEASE-NOTES 2023-08-06 17:08:40 +02:00
Stephan Witt
743c4c7e47 #11765 map Command-w like modern apps do - close current view - on Mac 2023-08-06 17:07:57 +02:00
Pavel Sanda
de74acf92e * lib/RELEASE-NOTES 2023-08-06 17:00:16 +02:00
Pavel Sanda
9e8901f997 Adding hebrew quotation marks (bug #12849).
Patch from Udi Fogiel.
2023-08-06 16:50:07 +02:00
Udi Fogiel
582a437d14 missing-symbols-hebrew-kbd 2023-08-01 05:23:05 -04:00
Thibaut Cuvelier
3112728a58 DocBook: implement the Hanging and Initials modules. 2023-07-31 21:28:42 -04:00
Thibaut Cuvelier
d1398a5ba2 Highlight limitations of current multicol DocBook implementation. 2023-07-31 21:28:42 -04:00
Thibaut Cuvelier
92f79baea6 Fix encoding of examples. 2023-07-31 21:28:42 -04:00
Scott Kostyshak
e9fb0df5ea Whitespace
Use tab for consistency.
2023-07-31 18:41:11 -04:00
Scott Kostyshak
e8b01f3d83 Layout typo
Amends e932dc45.
2023-07-31 18:37:46 -04:00
Richard Kimberly Heck
dc12c19337 Fix copy/paste error 2023-07-29 12:28:09 -04:00
Richard Kimberly Heck
343cf06d19 Documentation for new layout features: RefFormat 2023-07-28 21:11:51 -04:00
Richard Kimberly Heck
e932dc4561 Add a bunch of RefFormat and PrettyFormat tags. 2023-07-28 18:22:14 -04:00
Richard Kimberly Heck
d2d7c41643 Update layouts. 2023-07-28 18:21:47 -04:00
Richard Kimberly Heck
04fc48d790 New RefFormat tag for counters, and PrettyFormat for floats.
Layout format updated to 104.
2023-07-28 17:37:13 -04:00
Richard Kimberly Heck
46b7343b34 Fix some pretty counters.
Polish for c609e9cbcf.
2023-07-28 12:49:53 -04:00
Daniel Ramoeller
a0cf9b1286 Fix bug #12006. New icons for changes. 2023-07-28 12:19:29 -04:00
Richard Kimberly Heck
5cb80b867f Hack to display section symbol 2023-07-28 12:07:15 -04:00
Richard Kimberly Heck
a6e20d7138 Update layouts 2023-07-27 21:22:17 -04:00
Richard Kimberly Heck
96dfc081b7 Fix bug #11822.
Allow counter formatting strings in PrettyFormat. Patch from Daniel.
2023-07-27 21:20:53 -04:00
Richard Kimberly Heck
cc22d766a9 Slight rearrangement 2023-07-27 01:22:30 -04:00
Thibaut Cuvelier
6492fd8e14 Beamer layout: fix issue 8767
The "Frame" label was shown for each Beamer frame.
2023-07-27 00:24:02 +02:00
Richard Kimberly Heck
926ae84921 Use Alt-Escape to float and unfloat dock widgets.
For some reason, redocking is not working for me at all. This
key seems free.
2023-07-26 14:26:02 -04:00
Juergen Spitzmueller
7f4c4cd548 Improve AllowedOccurrences
This does now apply to the whole inset or paragraph group (not to the
current paragraph only) unless the new boolean AllowedOccurrencesPerItem
is set and we are in a list-type environment.

Amends 729ab602ca
2023-07-26 09:53:25 +02:00
Juergen Spitzmueller
729ab602ca To finish up #6854, also add AllowedOccurrences
Again very basic for now (this only considers the current paragraph,
not the whole inset or a serious of grouped layouts
2023-07-25 15:49:53 +02:00
Juergen Spitzmueller
19975d07dd Update layouts 2023-07-25 13:44:29 +02:00
Juergen Spitzmueller
7f4f9a99f0 Implement new tags in some layouts 2023-07-25 13:40:23 +02:00
Juergen Spitzmueller
0b463bfe0f Add AllowedInInsets and AllowedInLayouts InsetLayout tags
This allows to restrict the use of flex insets to specific contexts.

Note that this is currently very basis. It only considers immediately
containing insets/layouts and can be surpassed via cut and paste.

The use case that made me finally implement this are macros in covington
that make sense only in specific environments (but also consider \inst
in some article classes)
2023-07-25 13:37:07 +02:00
Pavel Sanda
04237beb41 * RELEASE-NOTES 2023-07-24 11:39:44 +02:00
Jean-Marc Lasgouttes
6a8c10f0d6 Display footnote labels as superscripts
A new counter type \superarabic is introduced, that transforms the
counter into superscript Unicode numbers.

This is used for the footnote counter.

The Foot inset layout is modified to use an empty LabelString (in size
Normal, since the numbers could be too small).

We use this occasion to set footnote text in footnotesize, as it should.

A couple of changes are done to the code to make the button label and
tooltip look better.

Fixes bug #12238.
2023-07-24 11:15:03 +02:00
Richard Kimberly Heck
c932425f9a Add Edit External to ERT context menu 2023-07-23 21:08:09 -04:00
Jean-Marc Lasgouttes
6d929e7139 update layout files to format 101 2023-07-22 23:38:53 +02:00
Jean-Marc Lasgouttes
81e35bc396 Replace hardcoded inheritFont() with InheritFont InsetLayout tag
Each removed inheritFont method is replaced by a 'InheritFont false'
line in the relevant InsetLayout entry.

Add code to layout2layout that does this automatically when the entry
is missing.

The case of InsetScript is special, since the inheritFont() was not
needed here: the default is indeed true.

Fixes bug #12238.
2023-07-22 23:38:53 +02:00