Commit Graph

1626 Commits

Author SHA1 Message Date
Juergen Spitzmueller
4723f8e754 Amend ddc5fed0ad
*facepalm*
2023-12-05 18:37:26 +01:00
Juergen Spitzmueller
ddc5fed0ad Omit character activation with hanging package
We do not use this feature anyway, and it breaks with other packages/
languages that activate characters
2023-12-05 17:07:10 +01:00
Jürgen Spitzmüller
fcbbb138a2 Adapt listings label color for darkmode
Do not use semantic foreground color here, as label button color does
not change in dark mode.
2023-09-21 07:11:07 +02:00
Juergen Spitzmueller
9119671ee6 Set Box label color to static black.
Foreground in dark mode does not have enough contrast against the label
background
2023-09-18 07:29:02 +02:00
Jean-Marc Lasgouttes
7c62a6b3c5 Do not use superscript display for now.
There are font issues on some platforms.
2023-08-25 11:50:14 -04:00
Juergen Spitzmueller
e2e74ffb0a Grammar 2023-08-10 18:11:25 +02: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
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
46b7343b34 Fix some pretty counters.
Polish for c609e9cbcf.
2023-07-28 12:49:53 -04:00
Richard Kimberly Heck
a6e20d7138 Update layouts 2023-07-27 21:22:17 -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
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
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
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
Jean-Marc Lasgouttes
cfe094a380 Introduce new InsetLayout tag InheritFont
The font inside the inset is inherited from the parent for LaTeX
export if this parameter is true, as well as on screen. Otherwise
the document default font is used.

The default value is true.

Update tufte layouts to use this tag for sidenote and marginnote flex
insets.

Increase layout format to 101.

Fixes bug #12238.
2023-07-22 15:53:14 +02:00
Juergen Spitzmueller
03268082a3 Current covington requires varwidth 2023-07-21 14:34:22 +02:00
Juergen Spitzmueller
a91d1ebe82 Forgot these 2023-07-20 16:26:17 +02:00
Juergen Spitzmueller
2841a1c063 Update covington support in linguistics module (file format change) 2023-07-20 15:09:47 +02:00
Enrico Forestieri
a401b26640 Update layouts 2023-05-09 12:10:45 +02:00
Daniel Ramoeller
5556cb3d3f Simplify Quotation/Quote style
Fix for bug #12745
2023-05-08 21:10:50 -04:00
Pavel Sanda
14b752c9a9 * customHeadersFooters.module - add pointer to docs. 2023-04-11 09:45:32 +02:00
Scott Kostyshak
e3288b4b4a Amend d0a83d33 2023-04-10 13:03:19 -04:00
Juergen Spitzmueller
d0a83d33fc Fixes to heb-article, by Udi Fogiel (#12735)
For some reason theorems titles has \beginR without a \endR, and since
this is basically inside restricted horizontal mode, TeX complains about
a missing \endR.

I could not figure out why were they there in the first place so I
removed them and the output did not change, and the warnings are gone.

Beside that the numbering of the theorems is wrong (e.g. 1.0 instead of
0.1), the \@makelr thing should happen after babel is loaded.

The theorems layouts did not have a counter (in LyX) so I added one.
2023-04-10 18:24:04 +02:00
Juergen Spitzmueller
9b2fb3b051 Typo 2023-04-08 17:27:31 +02:00
Pavel Sanda
20be14d133 Casing consistent with other modules. 2023-04-07 22:13:53 +02:00
Pavel Sanda
694114bae7 We had two overlapping chemistry modules.
See a610e29c9c.
2023-04-07 20:24:23 +02:00
Scott Kostyshak
8887c4edda Add layout format number of newly added file
Update it to 99.
2023-02-16 12:00:21 -05:00
Juergen Spitzmueller
79269ef021 Casing fix 2023-02-16 11:21:45 +01:00
Juergen Spitzmueller
62ea103662 Completion of Japanese classes, by Koji Yokota (#12658). 2023-02-16 08:59:27 +01:00
Juergen Spitzmueller
afbbf42d60 Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103) 2023-02-10 12:11:07 +01:00
Scott Kostyshak
bb9ef421fd Fix a layout error in newly added file
Fix the following terminal output:

  TextClass.cpp (850): Unable to remove counter: chapter
2023-02-08 13:11:34 -05:00
Scott Kostyshak
ba264ec485 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: '']
2023-02-08 11:46:42 -05:00
Scott Kostyshak
2d6341cdb4 Remove executable flag on newly added files 2023-02-08 11:30:55 -05:00
Juergen Spitzmueller
882f738792 Improve labeling of Japanese classes 2023-02-08 11:26:54 +01:00
Juergen Spitzmueller
83d281f81e Support for the JLReq class, by Koji Yokota (#12657) 2023-02-08 11:19:11 +01:00
Juergen Spitzmueller
6e5b3a1e31 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.
2023-02-05 12:07:37 +01:00
Juergen Spitzmueller
ac6314b834 Properly fix acknowledgment issue part 1/2
Bump file format and convert/revert styles to unique spelling
2023-02-04 17:47:52 +01:00
Juergen Spitzmueller
9c33b588ba Fix typos 2023-02-01 19:05:32 +01:00
Juergen Spitzmueller
e8e3146e25 Amend ce7eb7734b
When a style is defunc'ed, defunc the obsoleted variant as well
2023-02-01 18:16:33 +01:00
Juergen Spitzmueller
ce7eb7734b Disambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]] 2023-02-01 16:24:16 +01:00