Thibaut Cuvelier
ac46456b28
DocBook: simplify precooked bibliography code.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
6a4d3dbef7
DocBook: remove useless includes.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
d8651cc60b
More functions in anonymous namespace.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
25f72d392c
DocBook: fine tuning of new lines.
2020-09-19 20:43:37 +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
72c304a629
DocBook: make openParTag/closeTag use paragraphs instead of layouts.
...
Not useful per se, but will be next with checking whether the wrapper tags should be opened/closed.
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
Thibaut Cuvelier
1a09086ec2
Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication.
...
Maybe these functions should move to ParagraphList.h/cpp?
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
4d78fe5957
Slight code-consistency improvements.
2020-09-19 20:43:36 +02:00
Thibaut Cuvelier
a852706bf0
DocBook: allow empty paragraphs before the <info> section.
2020-09-19 20:43:36 +02:00
Thibaut Cuvelier
348297520f
Revert "DocBook: allow empty paragraphs before the <info> section."
...
This reverts commit c6937cece9
.
2020-08-03 22:58:15 +02:00
Thibaut Cuvelier
ab4f22beb9
Revert "Slight code-consistency improvements."
...
This reverts commit 6bcc0155b6
.
2020-08-03 22:57:41 +02:00
Thibaut Cuvelier
dedeb885f8
Revert "Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication."
...
This reverts commit 20d65b9d97
.
2020-08-03 22:57:22 +02:00
Thibaut Cuvelier
fe8aff31fd
Revert "DocBook: use DocBookItemTag within paragraphs."
...
This reverts commit 49b998f99b
.
2020-08-03 22:57:11 +02:00
Thibaut Cuvelier
21c92c8a12
Revert "DocBook: make openParTag/closeTag use paragraphs instead of layouts."
...
This reverts commit 3d7c802c22
.
2020-08-03 22:56:55 +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
c2be69187c
Revert "DocBook: eat a bit of that spaghetti code."
...
This reverts commit 25bcbe7666
.
2020-08-03 22:56:16 +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
25bcbe7666
DocBook: eat a bit of that spaghetti code.
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
3d7c802c22
DocBook: make openParTag/closeTag use paragraphs instead of layouts.
...
Not useful per se, but will be next with checking whether the wrapper tags should be opened/closed.
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
20d65b9d97
Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication.
...
Maybe these functions should move to ParagraphList.h/cpp?
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
6bcc0155b6
Slight code-consistency improvements.
2020-08-03 16:04:57 +02:00
Thibaut Cuvelier
c6937cece9
DocBook: allow empty paragraphs before the <info> section.
2020-08-03 16:04:57 +02:00
Thibaut Cuvelier
875f7d42e2
DocBook: avoid generating empty paragraphs instead of new pages.
...
As this required to first generate the paragraph before outputting it if necessary, tests like XMLStream::isTagOpen no more worked properly. This also refactors table handling to get rid of that case (and make code easier to read).
2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
8d115413c1
DocBook: fix delimitation of bibliographies.
2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
5324566013
DocBook: use the right key when generating bibiomixed.
2020-08-01 03:39:53 +02:00
Thibaut Cuvelier
44ef3fadee
DocBook: fix encoding issues with complex ERT.
2020-07-31 20:17:38 +02:00
Thibaut Cuvelier
acdead0487
DocBook: better condition for abstracts.
2020-07-31 01:20:08 +02:00
Thibaut Cuvelier
6434b666bf
DocBook: don't output abstract if it would have no content.
...
Restore a change from e709a662
(reverted by d75ff993
) that was mixed into another commit.
Also, add a TODO for InsetIndex.
2020-07-31 00:55:00 +02:00
Thibaut Cuvelier
e153477bca
DocBook: Kornel's patch to get rid of many assertions
2020-07-30 23:22:41 +02:00
Thibaut Cuvelier
d75ff9931d
Revert "Support the mathbbm font."
...
This reverts commit e709a6626e
.
2020-07-28 18:01:38 +02:00
Thibaut Cuvelier
e709a6626e
Support the mathbbm font.
...
Should just be able to read formulae, not add it from the GUI, as it's mostly redundant with mathds and mathbb.
2020-07-27 03:15:00 +02:00
Thibaut Cuvelier
a874173660
DocBook: can finally generate "Developing LyX" without validation errors.
...
This also removes many warnings when generating this document.
2020-07-26 04:59:30 +02:00
Thibaut Cuvelier
e0b8bac36e
DocBook: fix issues with nested labeling lists.
2020-07-26 04:44:04 +02:00
Thibaut Cuvelier
88e00a0b7b
DocBook: fix issues with nested description lists.
2020-07-25 23:51:32 +02:00
Thibaut Cuvelier
459c17fb14
DocBook: use xml:id instead of just id.
...
Amend 62af830f
.
2020-07-25 19:00:56 +02:00
Thibaut Cuvelier
5de60e3c77
DocBook: implementation of LATEX_BIB_ENVIRONMENT.
...
Fixes endless loops when such environments were used.
Add Kornel's test case that triggers an infinite loop when generating as DocBook 5
2020-07-25 17:37:13 +02:00
Thibaut Cuvelier
e0a4dfa7d3
DocBook: avoid skipping paragraphs in <info>.
2020-07-20 03:41:44 +02:00
Thibaut Cuvelier
fb45f7b8c9
DocBook: don't update counters when generating, as they are not used in DocBook.
...
This also removes a warning in the console in some cases where counters are updated when they don't exist...
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
51939801f5
DocBook: better handling of paragraphs containing notes in the abstract.
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
6b701f945e
DocBook fonts: fix issue 1732
2020-07-19 21:00:25 +02:00