Thibaut Cuvelier
17b06f5336
DocBook: streamline code to handle sections.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
f219fe1cd7
DocBook: streamline code to handle abstracts.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
a8da31e5e0
DocBook: fix handling of index end-of-range.
2020-09-19 20:43:38 +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
39ad6e84f0
DocBook: improve equation formatting (new lines for block equations).
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
8656fbd520
DocBook: start splitting environment handling in two, to have proper things for lists.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
1bd49f9c39
DocBook: make all make* functions have the same argument order.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
fc0999a422
DocBook: partially remove use of bpit/epit in docbookParagraphs and docbookSimpleAllParagraphs.
...
This will help with the next refactoring to be much cleaner (only work with iterators, don't maintain twice the same information).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
bfc67c59b4
XML: use the new mechanisms for CR detection with errors.
...
This helps tracking down line problems even in the presence of errors.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
52b2d3f683
DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.
...
Before, it directly wrote to the XMLStream, but it made implementation of new lines tricky. Now, it returns the XML for each sub-paragraph (delimited by new lines) as a string, so that the caller can adopt a more precise behaviour (such as in lists).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
faaf780bed
DocBook: fix compilation issues.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
3d348818e0
DocBook: Coverity potential problem for precooked bibliographies.
2020-09-19 20:43:38 +02:00
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
bdea21a87e
DocBook: improve comments.
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
27a44f8e48
XML: memorise if the last thing that is getting output is a line feed.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
360139a091
DocBook: documentation for the new tags.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
6998e76495
DocBook: define new arguments in layouts to configure new-line behaviour.
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
9184ae14f0
A few more constants to avoid copies
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
c92e0bc5e7
DocBook: fix for ordering.
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
ad18c19492
DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.
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
Juergen Spitzmueller
7470305720
de.po
2020-09-19 08:58:35 +02:00
Yuriy Skalko
6b85dd5ac0
Separate string for translation
2020-09-19 08:47:35 +02:00
Daniel Ramoeller
9a1f732664
Show slanted caret (cursor) when text style emphasis/italics/slanted.
...
Fixes for bug #11428 . Emphasis is used regularly and it is helpful to
see whether the next text will be written emphasized directly from the
cursor.
This is also implemented in MS Word and Google docs but not in
LibreWriter.
Also fixes the caret for RTL languages whose width was previously
extended into the wrong direction.
2020-09-18 13:27:06 +02:00
José Matos
5154400b64
Avoid crash when string only has one char
2020-09-18 01:09:36 +01:00
José Matos
d0a27e3afc
Whitespace cleanup
2020-09-18 01:07:39 +01:00
Yuriy Skalko
e36fda8375
Update UserGuide
2020-09-17 17:24:14 +02:00
Yuriy Skalko
cd933534bd
Increment preferences format to 34: rename Cyrillic *.kmap files
2020-09-17 15:05:31 +02:00
Juergen Spitzmueller
40159fd2ab
Fixup graphics height conversion when special is non-empty
2020-09-17 08:43:04 +02:00
Juergen Spitzmueller
6ad1c359fc
Fix Makefile.am after 821603def3
2020-09-17 08:00:54 +02:00
Yuriy Skalko
821603def3
Fix Cyrillic keyboard map files
2020-09-17 07:50:05 +02:00
Yuriy Skalko
06aed96f34
Update Russian localization
2020-09-17 07:21:02 +02:00
Juergen Spitzmueller
cfc3b3675b
Account for Windows paths ( #11975 )
2020-09-17 07:17:36 +02:00
Jean-Marc Lasgouttes
b96b876403
Revert "Show toolbar context menu only when clicking on the toolbar"
...
Something is wrong.
This reverts commit f25253f89a
.
2020-09-16 16:54:33 +02:00
Daniel Ramoeller
f25253f89a
Show toolbar context menu only when clicking on the toolbar
...
Previsouly it was on the whole application window, except on disabled toolbar
buttons.
Fix for bug #11949
2020-09-16 11:18:57 +02:00
Scott Kostyshak
5542ccd3f9
ctests: invert 'wontfix' failing lyx2lyx tests
...
We decided looking into it wasn't worth the time. Note that the
tests are only about formats 2.0.x and 1.6.x. For discussion, see:
https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn
2020-09-15 19:38:25 -04:00