Replies: 4 comments 2 replies
-
|
You are right, I don't see the section elements. This was supposed to be added by commit cf662b7 |
Beta Was this translation helpful? Give feedback.
-
|
This was modified by 529b6d1 which might have changed the behavior inadvertently? |
Beta Was this translation helpful? Give feedback.
-
|
The problem was that the new commit moved thigs to blocksToOpenXML, but this operates recursively on every block list, and so thus in particular on a block list inside a section Div. The result is that the first sectPr was omitted from every section, not just from the whole document. |
Beta Was this translation helpful? Give feedback.
-
|
I have pushed a fix. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation for
--top-level-divisionsays:But this
test.mddocument:When run through
pandoc -f markdown -t docx --top-level-division chapter -o test.docx test.mdproduces a docx file with no section breaks. Does "section break" in this context mean something different than it does to MS Word (Selecting Insert -> Break -> Section Break)? Or am I doing something wrong with the way I'm setting it up?This is Pandoc 3.9 installed via Homebrew.
Beta Was this translation helpful? Give feedback.
All reactions