summaryrefslogtreecommitdiff
path: root/tests/odt
Commit message (Collapse)AuthorAge
* Moved tests/ -> test/.John MacFarlane2017-02-04
|
* Test case for issue #3223 (#3308)hubertp-lshift2016-12-13
|
* Test case for bug 2752 (#3306)hubertp-lshift2016-12-13
|
* [odt] Infer table's caption from the paragraph (#3224)hubertp-lshift2016-11-26
| | | | | | | | | | | | | | | ODT's reader always put empty captions for the parsed tables. This commit 1) checks paragraphs that follow the table definition 2) treats specially a paragraph with a style named 'Table' 3) does some postprocessing of the paragraphs that combines tables followed immediately by captions The ODT writer used 'TableCaption' style name for the caption paragraph. This commit follows the open office approach which allows for appending captions to table but uses a built-in style named 'Table' instead of 'TableCaption'. Any users of odt format (both writer and reader) are therefore required to change the style's name to 'Table', if necessary.
* Inline code when text has a special styleHubert Plociniczak2016-11-08
| | | | | | | | | | | | When a piece of text has a text 'Source_Text' then we assume that this is a piece of the document that represents a code that needs to be inlined. Addapted an odt writer to also reflect that change; previously it was just writing a 'preformatted' text using a non-distinguishable font style. Code blocks are still not recognized by the ODT reader. That's a separate issue.
* [odt] Infer tables' header props from rows (#3199)hubertp-lshift2016-11-01
| | | | | | | ODT reader simply provided an empty header list which meant that the contents of the whole table, even if not empty, was simply ignored. While we still do not infer headers we at least have to provide default properties of columns.
* Image with a caption needs special formattingHubert Plociniczak2016-10-19
| | | | | Latex Writer only handles captions if the image's title is prefixed with 'fig:'.
* Merge pull request #3166 from hubertp-lshift/bug/3134John MacFarlane2016-10-18
|\ | | | | Issue 3143: Don't duplicate text for anchors
| * Issue 3143: Don't duplicate text for anchorsHubert Plociniczak2016-10-18
| | | | | | | | | | When creating an anchor element we were adding its representation as well as the original content, leading to text duplication.
* | Merge pull request #3165 from hubertp-lshift/feature/odt-imageJohn MacFarlane2016-10-18
|\ \ | | | | | | [odt] images parser
| * | Infer caption from the text following the imgHubert Plociniczak2016-10-17
| |/ | | | | | | | | | | | | Frame can contain other frames with the text boxes. This is something that has not been considered before and meant that the whole construction of images was broken in those cases. Also the captions were fixed/ignored.
* / Added tests and a corner case for starting numberHubert Plociniczak2016-10-14
|/ | | | | | | | | Review revealed that we didn't handle the case when the starting point is an empty string. While this is not a valid .odt file, we simply added a special case to deal with it. Also added tests for the new feature.
* Updated tests for link attribute changes.mb212015-08-07
|
* Added odt readerMarLinn2015-07-23
Fully implemented features: * Paragraphs * Headers * Basic styling * Unordered lists * Ordered lists * External Links * Internal Links * Footnotes, Endnotes * Blockquotes Partly implemented features: * Citations Very basic, but pandoc can't do much more * Tables No headers, no sizing, limited styling