Quote:
Originally Posted by 413Michele
Wouldn't this leave the footnote in the main text? Or would I need to also add something like display:none; in the CSS?
|
Shoving footnotes at the end of each HTML file has multiple advantages:
- Each chapter's HTML is completely independent.
- Easily copy/pastable/usable elsewhere.
- A device doesn't need to load any other files.
- This was much more important on the older, much slower devices. Used to be a noticeable delay hopping back/forth.
- Keeps filesizes smaller.
- ~300 KB is the max filesize recommended. (Older devices could crash.)
- [...]
(I described a lot more details back in
2013: "A link to jump back to the original start point?". Just ignore my backwards footnote/endnote description.)
Quote:
Originally Posted by 413Michele
Wouldn't this leave the footnote in the main text? Or would I need to also add something like display:none; in the CSS?
|
If you want an endnotes file, adjust the code slightly.
Chapter 2:
Code:
<p>This is an example.<a href="../Text/endnotes.xhtml#fn2.1" id="ft2.1">[1]</a></p>
endnotes.xhtml:
Code:
<p class="footnote"><a href="../Text/Chapter02.xhtml#ft2.1" id="fn2.1">[1]</a> An example footnote.</p>
I recommend appending the Chapter# to your link
ids. This allows you to have unique names throughout the entire book.
Quote:
Originally Posted by 413Michele
Wouldn't this leave the footnote in the main text?
|
So? I still don't get this argument.
This was all discussed/described in the 2013 thread.
Just skip your eyes right over the footnotes or press the "next page" button a few times.
What the heck do you do while reading a physical book?
Quote:
Originally Posted by 413Michele
Or would I need to also add something like display:none; in the CSS?
|
No. Don't ever do that. That'll cause many more problems.
This is partly why EPUB3 introduced all the <aside> +
epub:type="footnote" stuff. This would allow readers to set their own preferred settings.
(Like, instead of popup footnotes, KOReader allows you to have a footer area that displays at the bottom of your screen.)
If you don't want footnotes "in the way", then use an endnotes file.
But I think advantages of footnotes >>> endnotes.