https://bugzilla.redhat.com/show_bug.cgi?id=1340303
James Boyle unixi@freeshell.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |unixi@freeshell.org
--- Comment #15 from James Boyle unixi@freeshell.org --- Hello,
I was wondering if it were possible to get pandoc updated for FC25. I ran into an issue trying to convert and compare two documents. It seems that table data in ODT files is dropped in 1.17, but 1.19+ has the fix.
Thank you! --James
From the pandoc changelog (https://github.com/jgm/pandoc/blob/master/changelog):
* ODT reader/writer:
+ Inline code when text has a special style (Hubert Plociniczak). 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. Adapted the 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. + Infer table's caption from the paragraph (#3224, Hubert Plociniczak). 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 the `TableCaption` style for the caption paragraph. This commit follows the OpenOffice approach which allows for appending captions to table but uses a built-in style named `Table` instead of `TableCaption`. Users of a custom `reference.odt` should change the style's name from `TableCaption` to `Table`.
* ODT reader: Infer tables' header props from rows (#3199, Hubert Plociniczak). 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.