View Single Post
Old 07-03-2010, 04:35 AM   #8
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
Quote:
Originally Posted by ghostyjack View Post
I'm going to be making several books that if it was in pbook form would need a footnote on several of the pages.

I've been told that footnotes are not really possible in epub, so would need to use endnotes. Is this true? If not, how do I add footnotes.

If it is true and I need to add endnotes, then how do I do this? Also, how do I make it go back to the originating page?
For what it is worth here is how I do it:

<span id="C2F01"></span><a href="Footnotes.html#C2N01">[1]</a>

<p id="C1N01"><a href="Chapter01.html#C1F01">[1]</a> whatever the footnote is</p>

C2F01 is the first footnote in chapter 2, and C2N01 is the first entry in Footnotes.html

The user sees [1] in Chapter 1 and clicks on it. This takes him or her to [1] in the footnotes - the second line above. To return to the text the user clicks on this link, and it takes him or her back to the text.

The link in the text is put in a span because some footnote references occur in the middle of a paragraph. The link in the footnotes is put in a paragraph because each footnote is on a new line.

I prefer a separate footnote file at the end of the ebook. It is possible to put the footnotes at the end of the chapter just by putting them in a separate div. But this means that the user has to page through the already read footnotes to get to the next chapter. That's a minor task with a print book, but I think a bit of a nuisance with an ebook.

Because of what little experience I have in web design I am a little obsessional about making sure that the ebooks I prepare validate according to the W3C standards, and that the ebook validates according to ePubcheck. So I do not use anything that is not valid XHTML 1.1.

I hope this helps. Regards, Alex

Last edited by AlexBell; 07-03-2010 at 04:38 AM. Reason: Fixed a typo
AlexBell is offline   Reply With Quote