Repository navigation
Replies: 3 comments 3 replies
|
I am in favor of supporting this. The description of the
We'd have to exclude automatic styles. There might be other differences in how styles work that we need to think about. |
|
pandoc-odt-styles-v2.patch Extension registered: Ext_styles is now allowed for odt and fodt. The earlier patch (built with Chatgpt) missed this, so -f odt+styles would still have been rejected. What I checked Syntax: all changed Haskell files parse without errors. This is syntax only, not types. What I couldn’t check Type errors: I have no Haskell toolchain, so a compile may turn up errors. Please run cabal build and then cabal test --test-options='-p ODT'. Known trade-offs Consecutive Preformatted Text paragraphs are no longer merged into one code block when the extension is on, because each sits in its own Div. If the build reports errors, paste them here and I’ll fix them. Before filing upstream, search the tracker for an existing issue and mention that the patch is tested only against these fixtures. |
Uh oh!
There was an error while loading. Please reload this page.
Pandoc’s docx reader has +styles extension. This is a feature request asking for the same in the odt reader—a parity request. Right now the pandoc writer allows writing customs styles to odt but we can't round trip making it an asymmetric feature...
The reason this becomes crucial is that except Microsoft Office, all other programs struggle to maintain fidelity in rendering docx. Whereas that's not so with odt which is cleaner by design.
It would be great if Pandoc being free and open source could support other open source initiatives.
All reactions