path: root/data/odt
Commit message (Collapse)AuthorAge
* [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 Writer: Figure captionsNikolay Yakimov2015-04-12
| | | | | | | | | | | | | | | Works pretty much the same as Word writer. Following styles are used for figures: Figure -- for figure with empty caption FigureWithCaption (based on Figure) -- for figure with caption FigureCaption (based on Caption) -- for figure captions Also, TableCaption (based on Caption) is used for table captions. We need FigureWithCaption to set keepWithNext, in order to keep caption with figure.
* Add unpacked reference dataNikolay Yakimov2015-03-28
* Added --reference-odt option.fiddlosopher2009-12-31
| | | | | | | | | | | This allows the user to customized the styles used in pandoc-generated ODTs. The user may also put a default reference.odt in the ~/.pandoc directory. We have removed the old data/odt directory and replaced it with a reference.odt. git-svn-id: 788f1e2b-df1e-0410-8736-df70ead52e1b
* Indented and line-broke styles.xml so it can be modified more easily.fiddlosopher2009-12-31
| | | | git-svn-id: 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved odt-styles -> odt. Changed ODT module to look at user data first.fiddlosopher2009-12-31
So if the user has an odt-styles directory in ~/.pandoc, it will be used instead of the default. git-svn-id: 788f1e2b-df1e-0410-8736-df70ead52e1b