Quote:
Originally Posted by mrevent
The conversion of the numbers to footnote links worked great.
|
Quote:
Originally Posted by mrevent
Yet, after many hours of trying, I should give up and say that I still cannot figure out how I can move the footnote paragraphs to the end of the xhtml file or to a new xhtml. (i.e., footnotes to endnotes)
|
Send me your latest files.
A while back, I created a little Python program to move all footnotes to the bottom of the HTML file.
It's very helpful when dealing with footnotes mixed right in the middle of the text (mostly due to OCR).
* * *
And on Footnotes vs. Endnotes:
I think it's best to have Footnotes at the bottom of each HTML file. This ensures:
- each chapter is "standalone"
- Easily posted on a website as a single article, etc.
- faster load times
- Not so much of an issue nowadays, but older devices had noticeably slower load times when jumping back/forth between HTML files.
Very rarely do I do an Endnotes file. The only times I use it is when:
- There are so many notes that the ~300KB filesize limit is reached.
Like in this recent thread,
2021: "superscript code", we went off on a tangent about a 1100-page Winston Churchill book with ~5.3k endnotes + ~300 footnotes... ~800KB of only notes.
That's one of the rare ones where separate Endnotes file/s might make sense. But in all the hundreds of ebooks I've done, I've maybe only done this 5 times.