Juergen Spitzmueller
b42c5dd7d6
Add frontispiece layout to KOMA classes
2021-01-28 10:24:28 +01:00
Juergen Spitzmueller
cc5718d1eb
Amend [6887bc5c/lyxgit]
...
Use a more specific storage command
2021-01-08 09:22:55 +01:00
Richard Kimberly Heck
6887bc5c1d
Fix bug #8921
2021-01-07 11:19:17 -05:00
Jean-Marc Lasgouttes
824d1c993a
Fixup 294e4884
: center correctly Abstract label when paragraph is empty
...
When a paragraph is empty, it was not possible to query what the left
margin would be for an hypothetical second row.
Modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.
Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.
Fixes remainder of #11939 .
2021-01-05 15:21:04 +01:00
Jean-Marc Lasgouttes
b8188e54dd
Revert "Center correctly centered top labels (e.g. abstract)"
...
This reverts commit 6c1855313c
.
2021-01-05 15:14:41 +01:00
Jean-Marc Lasgouttes
6c1855313c
Center correctly centered top labels (e.g. abstract)
...
Since the first row may be indented, it is necessary to find out what
the left margin would be on the next row (even if this next row does
not exst.
To this end, modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.
Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.
Fixes remainder of #11939 .
2021-01-05 14:53:15 +01:00
Richard Kimberly Heck
33f9cfb796
Capitalize labels of floats, etc. Fixes #11993 .
...
Patch from Daniel.
2021-01-03 14:38:52 -05:00
Jean-Marc Lasgouttes
af1ab2caa9
Update layouts to version 90
2020-12-22 16:53:15 +01:00
Scott Kostyshak
9602d24039
layouts: s/theorem-counters/theorems-counters/
...
Amends ccc7c641
.
2020-12-13 13:26:42 -05:00
Juergen Spitzmueller
b58c75b8da
Use only semantic colors in layout definitions
...
Part of #8325
2020-12-11 11:46:31 +01:00
Juergen Spitzmueller
1b137f7d95
Add contents of soul flex insets to toc
2020-12-10 14:02:30 +01:00
Richard Kimberly Heck
aa39a2aaf7
Allow listings insets to be edited externally.
2020-12-05 21:17:02 -05:00
Scott Kostyshak
f86411e15d
Amend ccc7c641
2020-12-05 19:51:40 -05:00
Richard Kimberly Heck
ccc7c641c6
Modularize counter declarations.
2020-12-05 18:41:41 -05:00
Richard Kimberly Heck
52a0ffc02f
Change name and email in some other files
2020-12-05 17:39:46 -05:00
Richard Kimberly Heck
967fba10f8
Change name and email in layout files
2020-12-05 17:14:10 -05:00
Richard Kimberly Heck
c00084e4a2
Add LaTeXName to counters that need it.
...
I'm sure I've missed some here. I tried to check the CLS files for
some of these, but since I don't use a lot of these layouts, it is
hard to catch them all.
2020-12-05 17:06:35 -05:00
Richard Kimberly Heck
88bc81d782
Update layouts
2020-12-05 16:46:33 -05:00
Thibaut Cuvelier
822a9ef573
DocBook: fix new-line behaviour of URLs.
2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
877806f208
DocBook: implement SciPoster.
2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
12d512d4e4
DocBook: implement iopart.
2020-11-28 05:08:58 +01:00
Thibaut Cuvelier
76bc063bcd
DocBook: implement IEEEtran.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
b2ec2ff1a9
DocBook: slightly change the Copernicus template to be valid DocBook.
...
This is just adding an author instead of leaving the field blank.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
5d996f4fff
DocBook: implement ectaart.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
633a617841
DocBook: implement Copernicus.
...
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
14cfcf00cb
DocBook: implement AEA and APA.
2020-11-28 00:51:35 +01:00
Thibaut Cuvelier
bd9dce3749
DocBook: bug fixes for JASA.
...
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
2020-11-27 05:53:46 +01:00
Thibaut Cuvelier
185a62e695
DocBook: in aa, fix acknowledgements.
2020-11-27 04:52:39 +01:00
Thibaut Cuvelier
a397928f78
DocBook: implement author for layouts that previously missed it.
2020-11-27 04:40:16 +01:00
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