Thread: Kobo Bug thread
View Single Post
Old 02-20-2019, 07:50 AM   #1061
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,204
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Unless the person who created the book made correct use of the epub3 footnote structure, it is indeed going to be hit and miss. I have looked at ~50 "epub3" ebooks that have footnotes. I don't need to use more than a hand's worth of fingers to count the number where I saw the correct syntax for an epub3 footnote being used never mind being used correctly.

Open the epub in Sigil or calibre's editor and look for code similar to:

Code:
<a href="#footnote1" epub:type="noteref" >1</a>
and

Code:
<aside id="footnote1" epub:type="footnote" >
Footnote text
</aside>
and in the header for the epub file look for the <html> tag where you should see xmlns:epub="http://www.idpf.org/2007/ops"

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" >
You may want to check such site as the Daisy kb for items like Notes for more information including adding a return link.

And please note that nothing in the epub3 specs requires footnotes to be popups. I have looked through those specs several times and it appears that how to display footnotes is left as an exercise to the programmers of the rendering engine.
What is the correct way to do footnotes that works in epub 2 & as a popup in epub 3 on a Kobo? <aside> is not ePub 2 compatible and will not work if used in an ePub 2 viewer.

Last edited by JSWolf; 02-28-2019 at 11:10 AM.
JSWolf is offline   Reply With Quote