Commit Graph

126 Commits

Author SHA1 Message Date
Juergen Spitzmueller
66afab4497 Update layout formats 2024-08-12 12:29:50 +02:00
Scott Kostyshak
4b33e60346 Update layouts
I do not commit the update to the following file since it has a
non-trivial change:

  lib/layouts/jlreq-common.inc

I'll ask for confirmation on the list before updating that file.
2024-07-24 10:19:31 -04:00
Scott Kostyshak
adefdf8eeb Revert "Update layouts"
This reverts commit 7c041af642.

We will hold this back until we fix the issue discussed here:

  https://marc.info/?l=lyx-devel&m=171733833610242&w=2
2024-06-03 10:37:02 -04:00
Scott Kostyshak
7c041af642 Update layouts 2024-06-02 22:52:37 -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
a6e20d7138 Update layouts 2023-07-27 21:22:17 -04:00
Juergen Spitzmueller
19975d07dd Update layouts 2023-07-25 13:44:29 +02:00
Jean-Marc Lasgouttes
6d929e7139 update layout files to format 101 2023-07-22 23:38:53 +02:00
Enrico Forestieri
a401b26640 Update layouts 2023-05-09 12:10:45 +02: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
ce7eb7734b Disambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]] 2023-02-01 16:24:16 +01:00
Thibaut Cuvelier
96023697f5 Amend 16a1aa99
With the current settings, a theorem with several paragraphs will have several wrapper tags (i.e. two `<db:figure>`, with one paragraph each, one next to the other when it's the same theorem), while there should be only one (one `<db:figure>` with two paragraphs).

It makes me wonder whether DocBookWrapperMergeWithPrevious should be the default value. I don't see a case where it would be set to `false` with a wrapper tag, but the test suite isn't developed enough to make the change with peace of mind (i.e. remove the parameter `DocBookWrapperMergeWithPrevious` and consider it is always `true` in the code).

For the record, the current code also works with two subsequent theorems with two paragraphs each (see new test case).
2023-01-07 03:06:44 +01:00
Thibaut Cuvelier
0af5fbcc0e DocBookGenerateTitle: update all layouts. 2022-12-27 15:52:26 +01:00
Thibaut Cuvelier
16a1aa9901 DocBook: add support for DocBookGenerateTitle.
The new parameter allows more flexibility when encoding some elements that have a poor mapping in DocBook, like theorems. The major use is to wrap the environment in a generic container, figure, which requires a title (but none is available).
2022-12-27 15:52:26 +01:00
Richard Kimberly Heck
345eba1049 Update layouts to format 98 2022-12-06 01:02:22 -05:00
Richard Kimberly Heck
c72cef7e8a Update layout format 2022-12-04 13:36:34 -05:00
Richard Kimberly Heck
9d2ea6185b Update layout formats 2022-12-04 00:35:01 -05:00
Scott Kostyshak
9ca91b2566 Update layouts (run layout2layout.py)
There is nothing in the diff besides the format number changing from
93 to 95. From what I understand, this is as expected since 93 -> 94
and 94 -> 95 just add new layout tags.

Updating the layouts makes it easier to test master. Otherwise, in
some use cases layout2layout can be run hundreds of times which can
make some things slow (e.g., opening documents or even opening the
advanced find pane).
2021-10-25 12:37:21 -04:00
Enrico Forestieri
31b7c18358 Update layouts 2021-02-13 15:16:58 +01:00
Enrico Forestieri
4615e2f09f Update layouts 2021-02-06 20:28:41 +01:00
Juergen Spitzmueller
b58c75b8da Use only semantic colors in layout definitions
Part of #8325
2020-12-11 11:46:31 +01:00
Richard Kimberly Heck
88bc81d782 Update layouts 2020-12-05 16:46:33 -05:00
Thibaut Cuvelier
d64b3f5397 DocBook: implement Elsevier. 2020-11-16 06:09:03 +01:00
Richard Kimberly Heck
bd142885a6 Update layouts 2020-10-25 11:43:32 -04:00
Enrico Forestieri
35c0783bd3 Update layouts 2020-09-28 22:32:30 +02:00
Scott Kostyshak
d0aa20afcf Revert "Update layouts"
A fix to layout2layout is needed first. See:

  https://www.mail-archive.com/search?l=mid&q=20200927192424.GA1224%40GIOVE

This reverts commit 5d7efd2fa9.
2020-09-27 16:47:43 -04:00
Scott Kostyshak
5d7efd2fa9 Update layouts
Fixes a slight delay when cutting (#11988).
2020-09-27 11:47:10 -04:00
Enrico Forestieri
1e2885fe81 Update layouts 2020-07-24 18:50:53 +02:00
Richard Kimberly Heck
b5b015ba3a Update layout format 2020-05-23 11:45:01 -04:00
Richard Kimberly Heck
a7e26710cb Add GuiNames to counter declarations. 2020-05-02 23:17:16 -04:00
Juergen Spitzmueller
1ed5aa3a3e Update layout formats 2019-08-12 14:54:52 +02:00
Juergen Spitzmueller
006f1cbe43 update layout formats 2019-08-07 17:10:58 +02:00
Juergen Spitzmueller
7ff1a5738e update layout formats 2019-08-06 19:34:43 +02:00
Juergen Spitzmueller
88c1aaf444 Bump layout formats 2019-07-08 16:21:31 +02:00
Juergen Spitzmueller
1d2ebbb649 bump layout formats 2019-04-18 11:40:56 +02:00
Juergen Spitzmueller
7071995a21 Update layout formats 2019-03-26 17:46:21 +01:00
Juergen Spitzmueller
569841f292 Update layout versions 2019-03-12 14:14:43 +01:00
Enrico Forestieri
eaf7413020 Update layout format number 2018-11-10 16:07:07 +01:00
Juergen Spitzmueller
b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +02:00
Kornel Benko
526380da04 Revert "Remove dependences from .layout files"
Some styles are not second-level dependencies

This reverts commit 92c8a86407.
2018-07-07 16:10:45 +02:00
Kornel Benko
92c8a86407 Remove dependences from .layout files 2018-07-07 14:13:40 +02:00
Juergen Spitzmueller
bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00
Juergen Spitzmueller
e11bda2cea Layout format update after 2ba584957c 2018-04-14 10:28:22 +02:00
Juergen Spitzmueller
8d8ee12e64 Update layout format 2018-01-02 11:53:01 +01:00
Juergen Spitzmueller
4345331870 Collapsable -> Collapsible (part 4)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:30:04 +02:00
Jean-Marc Lasgouttes
5c54557350 Honor trailing spaces in LabelString and friends
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.

To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).

It is now possible to re-add spaces in label strings where it makes
sense.

Fixes bug #10723.
2017-08-31 13:59:37 +02:00
Guillaume MM
0fa88e2c33 Move obsolete layouts to an Obsolete category 2017-05-10 00:03:05 +02:00
Juergen Spitzmueller
a33157331b Bump layout formats 2017-01-13 10:09:20 +01:00