aboutsummaryrefslogtreecommitdiff
path: root/test/writer.opendocument
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21Use pretty-simple to format native output.John MacFarlane1-42/+35
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2019-10-30Use latest doclayout.John MacFarlane1-1/+2
Closes #5863.
2019-06-12OpenDocument writer: Avoid duplicate attributes.John MacFarlane1-1/+1
We use the innermost attribute in nested cases. Closes #4634.
2019-06-08Roll back automatic figure/table numbering in ODT/OpenDocument.John MacFarlane1-1/+1
This was added in pandoc 2.7.2, but it makes it impossible to use pandoc-crossref. So this has been rolled back for now, until we find a good solution to make this behavior optional (or a creative way to let pandoc-crossref and this feature to coexist). See #5474.
2019-02-25Shared.compactify: Avoid mixed lists.John MacFarlane1-1/+0
This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix.
2018-11-22OpenDocument writer: small amendment to #5095.John MacFarlane1-189/+189
Level one lists should start at 0.5in rather than 0.75in. (At least this is how LibreOffice behaves for me with a new document.)
2018-11-22ODT writer: Fix list indentationNils Carlson1-189/+189
Previously lists were indented by half an inch on the first line for each level of nesting. This resulted in lists that looked like this: 1. The first line of the list point text the second line of the same list point. Fix this and bring style into line with libreoffice standards: 1. The first line of the list point text the second line of the list point text.
2018-10-03OpenDocument writer: Implement figure numbering in captions (#4944)Nils Carlson1-1/+1
Figure captions are now numbered 1, 2, 3, ... The format in the caption is "Figure 1: <caption>" and so on. This is necessary in order for libreoffice to generate an Illustration Index (Table of Figures) for included figures.
2018-10-02OpenDocument writer: improve bullet/numbering alignment.John MacFarlane1-189/+567
This patch eliminates the large gap we used to have between bullet and text, and also ensures that numbers in numbered lists will be right-aligned. Closes #4385.
2018-05-14Make internal links work in ODT/OpenDocument.John MacFarlane1-44/+53
This adds proper bookmarks to the headers with non-null IDs. Closes #4358.
2017-12-28improve formatting of formulas in OpenDocumentoltolm1-0/+2
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-4/+0
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-04-01OpenDocument writer: wider labels for lists.John MacFarlane1-189/+189
This avoids overly narrow labels for ordered lists with () delimiters. However, arguably it creates overly wide labels for bullets. Also, lists now start flush with the margin, rather than indented. Fixes #2421.
2017-03-15OpenDocument writer: use more widely available bullet characters.John MacFarlane1-102/+102
The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+1539