Forum Feature requests

Endnotes

conner_bw
It would be nice to see an "Endnotes" compliment to Footnotes.

I imagine a similar mechanism, except the user defines "end", and the footnotes are place there.

Example:

div.chapter > p:last-child {
  /* This is the last page of a chapter, endnotes would go here */
}


Thank you for your consideration.
mikeday
Currently this can be done with JavaScript to move the endnotes to the end of the chapter, no CSS is required. Footnotes require specific CSS, as they interact with page breaking in complex ways that can't be known in advance before the document has been formatted.
conner_bw
Of course I can respect that answer. That's what we are doing now. It works fine.

That said, this proposed JavaScript could also be a default in Prince. What I mean is that you already have a convention that says to do this:

Footnotes<span class="fn">A footnote is a note placed at
the bottom of a page of a book or manuscript that comments on or
cites a reference for a designated part of the text.</span> are
essential in printed documents and Prince knows how to generate
them. Most readers will read the footnotes before they read the text
from where the footnotes are anchored<span class="fn">Often,
the most interesting information is found in the footnotes.</span>.


Based on that, we've built code to follow that convention. We've trained users to write markup that follows that convention.

So why not:

Endnotes<span class="en">An endnote is a note placed at
the end of a chapter of a book or manuscript that comments on or
cites a reference for a designated part of the text.</span> are
essential in printed documents and Prince knows how to generate
them. Most readers will not read the endnotes before they read the text
from where the endnotes are anchored<span class="en">Often,
the most interesting information is found in the endnotes.</span>.


One less thing we have to program is one more reason to use Prince. Can't have footnotes without endnotes. ;)

Anyway, just a feature request. File under won't do. No worries.
mikeday
Perhaps we could develop a standard library of handy scripts to distribute with Prince, to help support features like endnotes, and table of contents generation. Currently there are a few examples of these, but they are scattered across the forum.