That leaves endnotes at the end of chapters, or endnotes together at the end of the ebook. I think we're all agreed that footnotes at the bottom of the page and not possible in ebooks because 'pages' are of different sizes depending on screen and font size. Would it not be fair to say that footnotes are increasingly an 'old-fashioned' concept. With the speed ereaders link to notes, does it really matter that, what in paper versions were footnotes (page-related), are re-designated end-notes ? So I do not use anything that is not valid XHTML 1.1. That's a minor task with a print book, but I think a bit of a nuisance with an ebook.īecause 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. But this means that the user has to page through the already read footnotes to get to the next chapter. It is possible to put the footnotes at the end of the chapter just by putting them in a separate div. I prefer a separate footnote file at the end of the ebook. The link in the footnotes is put in a paragraph because each footnote is on a new line. The link in the text is put in a span because some footnote references occur in the middle of a paragraph. To return to the text the user clicks on this link, and it takes him or her back to the text. This takes him or her to in the footnotes - the second line above. The user sees in Chapter 1 and clicks on it. 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?įor what it is worth here is how I do it:Ĭ2F01 is the first footnote in chapter 2, and C2N01 is the first entry in Footnotes.html Is this true? If not, how do I add footnotes. I've been told that footnotes are not really possible in epub, so would need to use endnotes. I'm going to be making several books that if it was in pbook form would need a footnote on several of the pages. It's in XHTML, which is what ePub is based on - conversion should be dead simple.
#HOW TO MAKE A FOOTNOTE BY YOURSELF CODE#
You can find the book I took this code from here.
Still, to each his own: the concept should help you do what you want. With everything fairly well classed, I can control layout pretty granularly. The advantage is that I can automate it, and that it is readable.
Note that my structural tagging is pretty strict: it may not suit you. Whenever you're at an endnote, you can page down (or up) as well - you're not pinned in another document, as you might be if each endnote were its own document. If you're paging through the book, you will eventually come to the Endnotes section, and you can page down through the notes sequentially. (The image actually says "return", just as an image - this allows me to theme it, along with all the other images I use.) You click on the little "return" image to return to your original spot. The effect is that when you click the original link, you jump to a page that contains only the note you're trying to read. (I should probably just select images with the class "Return", now that I re-read it. Code: div#Endnotes ul li a.EndNoteBackLink img Which, if you're unfamiliar with CSS, puts a page-break after the link back to the original endnote link.