View Single Post
Old 07-29-2021, 02:22 PM   #70
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by mrevent View Post
The conversion of the numbers to footnote links worked great.


Quote:
Originally Posted by mrevent View Post
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.

Last edited by Tex2002ans; 07-29-2021 at 02:25 PM.
Tex2002ans is offline   Reply With Quote