-
-
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
(enhancement) proposal for footnotes #1720
Comments
Relevant pandoc-discuss thread: https://groups.google.com/forum/#!topic/pandoc-discuss/HxmpFK-Ydus |
@jgm, there is another issue with not being able to place Using I’m afraid that this feature is essential for longer documents that require only one series of footnotes. |
It's tough to see how to fix this. Currently we generate HTML for each "chapter" (that is, each split-up section, whatever level that is) as an independent document. So the numbers are going to start with 1 in each chapter. It wouldn't be enough just to move the actual notes; the numbering would still be off. You can force everything to be in one chapter using |
Well, this is what I want to avoid: having all the document in a single chapter. Isn’t it possible to have |
+++ Pablo Rodríguez [Mar 09 17 11:38 ]:
Isn’t it possible to have #footnotes the same way we have #references?
This would be an alternative approach for footnotes. The best way to
have endnotes as many books have.
The issue is not just the location, but the numbering, as
mentioned above.
|
If numbering is problematic, wouldn’t it be possible to create a global variable that keeps track of footnote numbering between chapters? Sorry if my proposal is stupid, but this is the simplest fix that comes to my mind to fix the issue. |
I would propose something like At the moment I have to unzip the epub file afterwards and take out every footnote section from every chapter and place it in the last chapter or, in the Anyways, I'm inexpressible grateful for pandoc, thank you for your work. 🙏 |
@nnmrts, I think the proposal is reasonable, given the facts:
Unless there is a way to locate And if we already have |
I was just wondering this myself, but there doesn't seem to have been activity on this for a while. |
@jgm, I reported this 6 years ago. Any news about the original report? |
If there were news, you would read it here, so no need to ask. |
@jgm, I honestly thought this issue was simply forgotten. |
Mostly forgotten, yes. But it's still the case that if there were news, it would be here. By the way, you may have missed that
|
BTW: My use case was a journal format that required notes before the bibliography, not after. I edited the resulting HTML manually. |
Similar to #1612, I think it would be interesting that the user were able to place footnotes in the document.
My proposal doesn’t intend to change the default way footnotes are handled. It is an improvement, optional for the user to deploy.
Right now, footnotes in HTML documents are placed at the end of the first level section, such as in:
How about being able to add a first–level title that places all footnotes in the document at the given location?
A minimal sample would be:
Similar to the table of contents, harcoding a title for footnotes should be avoided. The ttitle for footnotes could be specified as a YAML field, such as in:
Another way to implement it would be to use a first–level title that contains an special identifier, such as in:
Two important remarks for both approaches:
#footnotes
identifier should be allowed in the title for footnotes.The text was updated successfully, but these errors were encountered: