Open crystalfp opened 8 years ago
The same problem happens with latex output only if you don't pass to pandoc the command line --chapter
Obvious, because footnote numbering restarts each chapter and not every section.
The solution seems to insert in the DOCX file a "Section Break (continuous)" before each Level 1 header and set "number footnotes per section". This second setting could be obviated with a template document, but the first one no because the break is not part of the heading. Is it possible to add an option to pandoc to add (in the DOCX writer) the section break before each level 1 header? One possible way is to overload the --chapter
option to work in DOCX writer adding the break. Thanks! mario
I'm writing a long book in markdown and converting it to DOCX and EPUB3. In EPUB3 the footnotes numbering is restarted at each top level chapter. I think this is the correct behavior. Instead in the DOCX output the notes are numbered sequentially in the whole book. Is it possible to have the footnotes numbered by chapter also in DOCX? Seems there is no way to reconcile the behavior between the two formats (at least my google investigation comes out empty). Thanks for clarifying! mario
Using pandoc 1.16.0.2 on Windows 7 64bits