Commit Graph

1480 Commits

Author SHA1 Message Date
Thibaut Cuvelier
7ec0307b13 DocBook: bug fixing in AASTeX layout.
That's mostly generating DocBook tags at an inappropriate place with some metadata, rather than outputting whatever you have at your disposal. Far from satisfying, but good enough for a generic tool (see details in the new TODO). Doesn't trigger assertions. Is valid XML.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
fb8c07a2c7 DocBook: adapt AASTeX for tag types (new-line behaviour). 2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
1f2c51d56b DocBook: adapt SimpleCV for tag types (new-line behaviour). 2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
78a361778f DocBook: fix float tags (was unduly overridden).
The output was not valid for floats without title.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
97cfabb883 DocBook: fix indentation for section titles (including stars). 2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
fc2c36289b DocBook: rewrite makeListEnvironment. 2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
9393ca74ba DocBook: new logic to handle the new lines, only used in output_docbook for now. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
87dae26e4a Simplify code to generate only one paragraph at a time. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
dab71087cf DocBook: add a layout tag to tell whether an item is the abstract or not. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
7b0f9d9524 DocBook: simplify code to handle abstracts. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
0f145c3ef0 DocBook: use DocBookWrapperMergeWithPrevious in the code. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
c417253d0b DocBook: use DocBookItemTag within paragraphs.
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-09-19 20:43:37 +02:00
Daniel Ramoeller
ad561fc9bc Fix for bug #11948
Force plain layout in soul char styles.
2020-08-28 08:08:39 +02:00
Juergen Spitzmueller
91170accde Fix string 2020-08-12 14:30:25 +02:00
Richard Kimberly Heck
8218225f6e Distinguish size of Part from that of Chapter, in articles. 2020-08-10 18:34:17 -04:00
Richard Kimberly Heck
74e63e754c Amend e6de6c2b 2020-08-09 13:31:36 -04:00
Daniel Ramoeller
e6de6c2b59 Fix bug #11741.
Theorems weren't being numbered by chapter.
2020-08-09 13:09:41 -04:00
Thibaut Cuvelier
fe8aff31fd Revert "DocBook: use DocBookItemTag within paragraphs."
This reverts commit 49b998f99b.
2020-08-03 22:57:11 +02:00
Thibaut Cuvelier
4c01ab9ecf Revert "DocBook: use DocBookWrapperMergeWithPrevious in the code."
This reverts commit 62c9f4332d.
2020-08-03 22:56:25 +02:00
Thibaut Cuvelier
42eca3d8d6 Revert "DocBook: simplify code to handle abstracts."
This reverts commit 0199e048ff.
2020-08-03 22:56:06 +02:00
Thibaut Cuvelier
f025538c95 Revert "DocBook: add a layout tag to tell whether an item is the abstract or not."
This reverts commit 5ccd63eff6.
2020-08-03 22:55:52 +02:00
Thibaut Cuvelier
5ccd63eff6 DocBook: add a layout tag to tell whether an item is the abstract or not. 2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
0199e048ff DocBook: simplify code to handle abstracts. 2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
62c9f4332d DocBook: use DocBookWrapperMergeWithPrevious in the code. 2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
49b998f99b DocBook: use DocBookItemTag within paragraphs.
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
8d115413c1 DocBook: fix delimitation of bibliographies. 2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
1b123c0200 DocBook: improve AAS support. 2020-08-01 22:45:56 +02:00
Scott Kostyshak
d3b7657e3c Spacing 2020-08-01 10:04:41 -04:00
Thibaut Cuvelier
20fe5a6781 DocBook: slight improvement for AAS documents. 2020-08-01 04:09:45 +02:00
Pavel Sanda
6061ab8e69 typo 2020-07-30 16:35:24 +02:00
Juergen Spitzmueller
011722604d Correct layout string 2020-07-30 16:11:50 +02:00
Thibaut Cuvelier
62af830fa7 DocBook: support for lists in more layouts 2020-07-25 17:48:23 +02:00
Thibaut Cuvelier
b9c1fe1bac DocBook 5: very basic support for simplecv, support for Itemize in many layouts 2020-07-25 17:37:12 +02:00
Enrico Forestieri
1e2885fe81 Update layouts 2020-07-24 18:50:53 +02:00
Thibaut Cuvelier
c9f8469c00 DocBook: allow KOMA-Script documents to be generated as DocBook 2020-07-21 02:59:57 +02:00
Thibaut Cuvelier
c8d216d6e1 DocBook: allow Tufte books to be (more) properly generated.
Includes a test case useful for some of the previous commits (notes in abstract, PI escaping, counter warnings).

Still missing: marginal and side notes. Shouldn't they be ported to InsetMarginal?
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
8ac6fbf112 Remove AGU DTD style, probably doesn't work, impossible to check. 2020-07-08 13:36:08 +02:00
Thibaut Cuvelier
67414563ac Migrate the previous DocBook layouts so the old documents can still be generated with the new implementation.
The output WILL change for these documents, as the output is updated from DocBook 4 to DocBook 5.
2020-07-08 09:40:50 +02:00
Thibaut Cuvelier
1ec87298ff Migrate the existing layouts to the new DocBook attributes. 2020-07-08 09:39:08 +02:00
Yuval Deutscher
328c70a31a Update labels and tooltips for moderncv layout
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.

Signed-off-by: Yuval Deutscher <yuval@deut.sh>
2020-07-07 19:06:52 +02:00
Kornel Benko
3a8755f2d6 Amend cb26ecbb: Added apa7 layout
The command addORCIDlink{}{} can be used in the preamble (like title{} or author{})
or in the body of document. For this a Flex-inset-layout seems appropriate.
2020-06-09 14:49:51 +02:00
Kornel Benko
6a0dda1719 Typo 2020-06-06 11:47:28 +02:00
Kornel Benko
cb26ecbb58 Added apa7 layout 2020-06-05 22:03:59 +02:00
Richard Kimberly Heck
b5b015ba3a Update layout format 2020-05-23 11:45:01 -04:00
Juergen Spitzmueller
ce7cd4b983 linguistics.module: fix counters 2020-05-05 14:42:44 +02:00
Juergen Spitzmueller
98c24f3413 Amend e7e70b021e 2020-05-03 13:16:20 +02:00
Richard Kimberly Heck
e7e70b021e Better name 2020-05-03 02:20:14 -04:00
Richard Kimberly Heck
a7e26710cb Add GuiNames to counter declarations. 2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
6580c5753d Remove unused counter 2020-05-02 22:09:45 -04:00
Richard Kimberly Heck
32a5436108 Somehow this got corrupted... 2020-05-02 22:05:02 -04:00
Kornel Benko
0536193c22 Added revtex4-2.layout
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
2020-04-08 10:27:34 +02:00
Juergen Spitzmueller
f6f51587cf Un-provide amsmath in beamer article layouts
Fixes #11768
2020-02-29 19:20:18 +01:00
Juergen Spitzmueller
dc4823e759 Add native changebars
Fixes #10750
2019-12-24 18:12:22 +01:00
Juergen Spitzmueller
a08cbf41cf Provide way to add (optional) user initials
This makes it easier to hook the changes package into LyX's ct markup.
2019-12-24 14:31:08 +01:00
Juergen Spitzmueller
a37c003448 Beamer loads amsmath 2019-11-20 09:38:16 +01:00
Juergen Spitzmueller
54fd0a70f4 Fix encoding in aa class, which is preset via class options
Hook into nearby file format change.
2019-08-30 08:09:57 +02:00
Juergen Spitzmueller
1f2eb92b33 hebarticle: fix compilation with XeTeX (bug #10525) 2019-08-15 17:42:27 +02:00
Juergen Spitzmueller
0dd5824b43 Support memoir's builtin endnotes 2019-08-13 10:38:26 +02:00
Juergen Spitzmueller
d0379db1aa Localize endnotes header (with endnotes.sty) 2019-08-13 10:13:32 +02:00
Juergen Spitzmueller
a8871e5418 Typo 2019-08-13 07:55:21 +02:00
Juergen Spitzmueller
8abe7b25e8 Add support for the enotez package
This is a modern implementation of endnotes building on LaTeX3 tools which
gets away with deficiencies of the endnotes package, has some extra features,
is localized, supports hyperref and is better customizable.

As this is a fairly new package requiring l3, we keep the old endnotes
module and provide this as an alternative.
2019-08-13 07:30:20 +02:00
Juergen Spitzmueller
1ed5aa3a3e Update layout formats 2019-08-12 14:54:52 +02:00
Juergen Spitzmueller
d61f722080 foottoend.module: no need to tinker with redefinitions
when we just can output what we want right away.
2019-08-12 14:48:21 +02:00
Juergen Spitzmueller
229052b29a Extend endnotes support
Support native solution for Endnotes list rather than having to use
\\theendnotes via ERT

File format change
2019-08-12 13:00:54 +02:00
Juergen Spitzmueller
006f1cbe43 update layout formats 2019-08-07 17:10:58 +02:00
Juergen Spitzmueller
0b7305024a Use generic paper size names rather than LaTeXisms such as "letterpaper"
This allows to support classes that don't use the Xpaper wording.

Add support for KOMA font (keyval) syntax on top of that.

Also support class-specific font and paper sizes in tex2lyx.

File and layout format change.
2019-08-07 16:44:11 +02:00
Juergen Spitzmueller
af7f2e9f58 Add default page size to KOMA layout 2019-08-06 20:01:07 +02:00
Juergen Spitzmueller
7ff1a5738e update layout formats 2019-08-06 19:34:43 +02:00
Juergen Spitzmueller
9f61c8d4af Add more fontsizes to KOMA classes.
Theoretically, KOMA supports any font size. We add a sensible range.
2019-08-06 19:29:18 +02:00
Juergen Spitzmueller
b01075469d Add more page sizes to KOMA and memoir 2019-08-06 18:18:37 +02:00
Juergen Spitzmueller
65c1ae8133 Fix interplay of memoir and geometry
Fixes: #10970
2019-08-05 19:01:48 +02:00
Juergen Spitzmueller
88c1aaf444 Bump layout formats 2019-07-08 16:21:31 +02:00
Juergen Spitzmueller
13b6632228 Add TextClass option BibInToc
Fixes #1889
2019-07-08 15:40:17 +02:00
Juergen Spitzmueller
94654b3586 Linguistics: add support for Discourse Representation Structures
File format change
2019-06-23 12:59:56 +02:00
Juergen Spitzmueller
07cbca1d9d linguistics.module: some comments and minor re-shuffling 2019-06-23 09:30:03 +02:00
Juergen Spitzmueller
d13c582e5d linguistics.module: use covington's semantic markups rather than self-baked ones 2019-06-23 08:25:50 +02:00
Juergen Spitzmueller
c6c70649af Linguistics: Support for subexamples optional arg 2019-06-22 13:56:12 +02:00
Juergen Spitzmueller
e2f81b3a84 Rework linguistic gloss support
This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.

File format change.
2019-06-04 11:01:19 +02:00
Juergen Spitzmueller
550f46a188 Remove covington backwards compatibility code
The new environments are out now long enough, and we are going to require
covington 2.0 for the glosses in 2.4 anyway.
2019-06-04 08:20:02 +02:00
Günter Milde
65ec404eb3 Format incremented to 574: Ruby inset, fixes for Japanese.
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Günter Milde
e768f3632e New module for Ruby (furigana) text.
New fileversion and conversion routines will follow once tested.
2019-05-16 13:48:06 +02:00
Günter Milde
228c969f29 Update author info. 2019-05-14 16:37:46 +02:00
Pavel Sanda
a0196c9784 Module categories: join math related stuff 2019-04-18 14:00:00 +02:00
Juergen Spitzmueller
1d2ebbb649 bump layout formats 2019-04-18 11:40:56 +02:00
Juergen Spitzmueller
70b3d3adcc Add NewlineCmd InsetLayout and Argument option
This allows to specific an alternative macro for newlines

Fixes: #10407
2019-04-18 11:35:03 +02:00
Juergen Spitzmueller
6dec3e8a6e Module re-categorization, part 2
Re-categorize remaining modules

Improve categorization

Give some modules a more descriptive name.
2019-04-07 11:21:21 +02:00
Günter Milde
a42376bea9 AASTeX layout: Normalize layout name of \thebibliography.
Allows easy sharing of reference entries between documents
using different classes or switching document classes.
2019-04-05 09:17:57 +02:00
Juergen Spitzmueller
b5af05b4a7 Make module categories (almost) great again
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.

Note that this is work in progress: the current categories are still
subject to change.

The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)

As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
2019-04-04 18:43:29 +02:00
Juergen Spitzmueller
7071995a21 Update layout formats 2019-03-26 17:46:21 +01:00
Günter Milde
2bb5b99db4 Fix moderncv.layout
The "photo" style content is a path name (don't escape underscores etc.).
2019-03-24 23:12:01 +01:00
Juergen Spitzmueller
e8e97b988d typo 2019-03-23 11:30:53 +01:00
Juergen Spitzmueller
c44110fada Clarify soul module description 2019-03-23 08:04:57 +01:00
Juergen Spitzmueller
aff2ee6058 Add soul module 2019-03-22 18:29:50 +01:00
Juergen Spitzmueller
441b17ec76 Fix redundant naming 2019-03-19 07:13:51 +01:00
Juergen Spitzmueller
569841f292 Update layout versions 2019-03-12 14:14:43 +01:00
Juergen Spitzmueller
8b92a2a689 Add NeedMBoxProtect [inset]layout option
This accesses the inulemcmd output param which protects specific commands
(\cite, \ref) in an \mbox.

This is needed in ulem and soul commands, since their complex
detokenization makes such commands (who produce multiple words via local
assignment) fail.

So now it is possible to properly support ulem and soul via
[inset]layout

Fixes a case reported in #9404
2019-03-12 14:08:05 +01:00
Pavel Sanda
b1132a3438 Add few hints for varwidth module. 2019-02-22 16:51:14 +01:00
Daniel Ramoeller
f71723c8f3 Fix for #11294: Wrong description for Change bars module 2019-01-19 18:09:36 +01:00
Scott Kostyshak
051eaeec8a maa-monthly.layout: declare dep maa-monthly.sty 2019-01-02 19:56:18 -05:00
Richard Kimberly Heck
fc14f23b89 New layout file for American Mathematical Monthly.
From John Perry. See bug #10803.
2018-12-29 11:48:38 -05:00