Commit Graph

1545 Commits

Author SHA1 Message Date
Thibaut Cuvelier
f52946e143 DocBook: implement subtitle for layouts that previously missed it. 2020-11-27 04:35:54 +01:00
Thibaut Cuvelier
2741d195e4 DocBook: implement title for layouts that previously missed it. 2020-11-27 04:34:33 +01:00
Thibaut Cuvelier
78d7f7d8f5 DocBook: implement standard for layouts that previously missed it. 2020-11-27 04:29:40 +01:00
Thibaut Cuvelier
a456dac340 DocBook: implement keywords for layouts that previously missed it. 2020-11-27 04:26:31 +01:00
Thibaut Cuvelier
0e4d8a8159 DocBook: implement IJMP C/D. 2020-11-27 04:16:48 +01:00
Thibaut Cuvelier
77fa9a6c42 DocBook: implement iucr. 2020-11-27 02:49:54 +01:00
Thibaut Cuvelier
5f488ed746 DocBook: deploy fix for acknowledgements. 2020-11-27 02:12:29 +01:00
Thibaut Cuvelier
587f1f5571 DocBook: implement Mathematical Monthly. 2020-11-27 01:54:00 +01:00
Thibaut Cuvelier
eeb732cd5f DocBook: implement JASA. 2020-11-26 06:55:49 +01:00
Thibaut Cuvelier
ed6fbdd249 DocBook: implement Kluwer.
Includes an assertion fix that only occurred with this example.
2020-11-26 06:41:13 +01:00
Thibaut Cuvelier
dae0640436 DocBook: implement REVTeX.
Improvements to abstract detection: it can now contain lists or anything with a higher depth.

Implement video floats.
2020-11-26 06:22:27 +01:00
Thibaut Cuvelier
1176fab1d4 DocBook: make InsetText respect tag types. 2020-11-20 18:41:03 +01:00
Thibaut Cuvelier
f426e458c4 DocBook: InsetText supports items and wrappers. 2020-11-20 18:41:02 +01:00
Thibaut Cuvelier
2c6537ff66 DocBook: ensure that <info>-related insets in the abstract are not generated in the abstract.
This helps generate more conformant DocBook files.

Also implement wrapper tags for InsetText.
2020-11-20 18:41:02 +01:00
Jean-Marc Lasgouttes
0b9c27222a Fix screen display of parts and chapters in default classes
This has been done by reading the LaTeX sources (classes.dtx) to try
to get things right

* fix font sizes of chapters and parts. Note that the labels have
  smaller size as the title itself.

* fix alignment of Part and put label on top

* add spacing between label and title.
2020-11-18 10:19:15 +01:00
Thibaut Cuvelier
5ddd82bcea DocBook: fix indentation. 2020-11-17 03:58:39 +01:00
Thibaut Cuvelier
c6fe1fbe5f DocBook: implement svglobal. 2020-11-16 20:15:34 +01:00
Thibaut Cuvelier
d64b3f5397 DocBook: implement Elsevier. 2020-11-16 06:09:03 +01:00
Thibaut Cuvelier
059b268e0d DocBook: do a little something for variable-width minipages. 2020-11-16 00:08:11 +01:00
Thibaut Cuvelier
afba0672d0 DocBook: do a little something for Sweave & co. 2020-11-15 23:54:23 +01:00
Thibaut Cuvelier
e94c7871cc DocBook: implement fancy color box. 2020-11-15 19:29:57 +01:00
Thibaut Cuvelier
39e1665194 DocBook: implement simple CV. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
f18c00418a DocBook: implement modern CV. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
045c8d6537 DocBook: remove output for some paragraphs in CVs. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
6f696151cf DocBook: implement European CV. 2020-11-14 05:46:36 +01:00
Thibaut Cuvelier
1c19a04c7a DocBook: implement EuropassCV. 2020-11-14 03:14:51 +01:00
Thibaut Cuvelier
03a8208dc5 DocBook: implement chess. 2020-11-14 00:28:45 +01:00
Thibaut Cuvelier
185f34b20e DocBook: implement aa. 2020-11-12 04:17:49 +01:00
Thibaut Cuvelier
14887dda1c DocBook: implement achemso. 2020-11-12 03:18:03 +01:00
Thibaut Cuvelier
302bed3f68 DocBook: many fixes for the user guide. 2020-11-05 02:42:03 +01:00
Thibaut Cuvelier
0ba926a3ce DocBook: implement AMS articles. 2020-11-04 22:51:18 +01:00
Thibaut Cuvelier
a42c5e3880 DocBook: implement AMS book. 2020-11-04 22:29:02 +01:00
Thibaut Cuvelier
6b3e6a6248 DocBook: basic implementation of recipe book. 2020-11-04 18:50:45 +01:00
Thibaut Cuvelier
9060509d52 DocBook: implement Braille.
Basically, nothing to do: the conversion must be performed by the DocBook-processing agent (which is not a standard feature).
2020-11-04 05:06:56 +01:00
Thibaut Cuvelier
ebfdac4fa3 DocBook: implement svmult.
More generally, ensures that paragraphs in abstracts do not have something else configured.

A major problem in making the layout more useful is that article titles are not supposed to be in TOC.
2020-11-02 04:30:39 +01:00
Thibaut Cuvelier
d9d5bb9324 DocBook: implement DIN-Brief. 2020-11-02 03:03:24 +01:00
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