Thibaut Cuvelier
4ea841fe24
DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
...
I gave up on G-Brief, it's too far from the other classes.
2020-11-01 04:41:16 +01:00
Thibaut Cuvelier
78e1297e82
DocBook: implement French letter.
2020-11-01 03:51:15 +01:00
Thibaut Cuvelier
d8e097686a
DocBook: implement Hollywood layout.
2020-11-01 02:53:03 +01:00
Thibaut Cuvelier
661c5d256b
DocBook: support for <info> tags in inner sections.
...
Previously, this code only worked correctly for the root tag.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
f2b7f8a089
DocBook: generate chapter metadata in <info>, for Springer mono.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
149e1ccc02
DocBook: add DocBookSection parameter for styles that define new sections and implement argument parameters; improve Springer support.
...
For elements that should behave like sections (for now, mostly prefaces).
A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement).
2020-10-30 01:59:34 +01:00
Richard Kimberly Heck
bd142885a6
Update layouts
2020-10-25 11:43:32 -04:00
Thibaut Cuvelier
957ac2f0c6
DocBook: Springer, more features implemented.
2020-10-20 02:34:02 +02:00
Thibaut Cuvelier
c896bf19c9
DocBook: implement svjour (still partial).
2020-10-18 09:00:01 +02:00
Thibaut Cuvelier
d5319e1689
DocBook: implement APA.
2020-10-16 19:12:37 +02:00
Thibaut Cuvelier
d721f5c6bd
DocBook: make report output a book.
...
Reports are allowed to have chapters, which implies that this must be a DocBook book.
2020-10-16 18:40:07 +02:00
Kornel Benko
a0f0220348
Amend 0536193c
: Remove requirement of revsymb4-1.sty.
...
Fixes #12005 , reported and indicated a fix by 'ert'
2020-10-15 12:16:30 +02:00
Thibaut Cuvelier
0bd2978ac9
DocBook: add DocBookInnerTag and family.
...
This allows old DocBook documents to be valid when output.
2020-10-07 06:05:22 +02:00
Thibaut Cuvelier
1a054e4571
DocBook: restore the old DocBook support.
2020-10-07 05:33:56 +02:00
Thibaut Cuvelier
4b63a9715d
DocBook: support for Labeling
2020-10-03 16:17:39 +02:00
Richard Kimberly Heck
444285aca2
Fix bug #11986
2020-09-28 22:34:52 -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
Thibaut Cuvelier
6c51cabd35
DocBook: fix output in Layout::write.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
08a58242c1
DocBook: better output with the Linguistics module.
...
One issue left: <table> output within an <informaltable>, that does not make sense... I'm debugging it.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
632bad62c9
DocBook: do a little something for shapepar.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
ca1ca4326b
DocBook: implement theorems.
...
This is a minimal implementation, as DocBook lacks a serious way of encoding all of this. Maybe a <formalpara> could do the trick, but I'd need to find a way to shoehorn a title through the styles (i.e. a first complete tag):
Theorem: Bla bla
<formalpara>
<title>Theorem</title>
<para>Bla bla</para>
</formalpara>
This would also only be a solution for single-paragraph things, as formalpara only allows one paragraph. Or a sidebar, but it's semantically very remote.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
e3da8b65f6
DocBook: several missing features for Additional.lyx.
...
Includes: semantic markup (sorry about noun: Additional.lyx uses it to mark menus; there is something better in DocBook, but it looks like the LaTeX equivalent is really for person names), boxes, info layouts.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
19734ea454
DocBook: implement LyX-Code.
...
This is quite ugly.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
ff2e4ec7e6
DocBook: support Full Width from Tufte Book.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6d246bba69
DocBook: fix margin notes.
...
They were nested twice in <sidebar>. Also fixes a new line issue.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6688b076cc
DocBook: fixes in lists.
...
Actually output something when list item is empty. XMLStream discarded the sequence StartTag/EndTag (nothing in between).
New-line behaviour around term in description lists.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
5b01c80635
DocBook: fix titles in KOMA Script.
2020-09-19 20:43:39 +02:00
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