-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
footnotes numbered by chapter in docx writer #2773
Comments
The same problem happens with latex output only if you don't pass to pandoc the command line |
I know this is an old issue but I was wondering if this has been solved in the meanwhile. I have tried changing the setting to "number footnotes per section" in the docx template document I'm using but it does not solve the problem. I have also tried applying a filter creating section bibliographies (https://github.com/pandoc-ext/section-bibliographies). That does what it says but does not restart footnote numbering as hoped for. |
You could probably use a Lua filter to do this. (Adding
This is not a bad idea. |
When `--top-level-division=chapter` is used, a paragraph with section properties is inserted before each level-1 heading. By default, this causes the new heading to start on a new page (though this default can be adjusted in Word). This change should also make it possible to number footnotes by chapter (#2773), though that change isn't yet made.
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
The text was updated successfully, but these errors were encountered: