I'm currently using a Sage, but I had the same issue with my Forma. I read my books as kepubs, not epubs. Footnotes don't work reliably. It's not a matter of the triggering footnote number not being selected correctly. It's just that the footnotes seem to get handled randomly. Usually, even though the note is short enough, the popup doesn't happen. When it does pop up, the popped up footnote doesn't end where the footnote ends: it just keeps going for some indefinite bit of text. Many times, even jumping from the source of the footnote to the target doesn't happen (but then, my footnotes are right below their references, so maybe the Kobo THINKS it's already at the footnote location. The footnotes work in the Calibre Editor and Viewer without problem.
My epubs are EPUB3, and the <html> line at the top of the file includes the xmlns:epub="http://www.idpf.org/2007/ops" phrase to enable the epub:type attributes.
My footnote source looks like this:
Code:
<a id="fn1" href="#fn1a" epub:type="noteref"><sup>1</sup></a>
and, immediately below the paragraph where that's located, my footnote target looks like this:
Code:
<aside id="fn1a" class="footnote" epub:type="footnote">
<p><a href="#fn1"><sup>1</sup></a>…thenote….</p>
</aside>
I've even tried these with divs in place of the asides and without the paragraph mark. It makes no difference. I can't see anything wrong with what I'm using: some kind of block structure to hold the footnote, ids to come back or go to, hrefs to do the coming or going, the required epub attributes, some formatting, the standard sups that footnotes usually use and the actual note.
Can anyone see the problem?
Here's Kobo's documentation on footnotes:
and here's what that says:
Quote:
Footnotes/Endnotes Are Fully Supported Across Kobo Platforms
Footnotes and endnotes on the eInk (except for the original Kobo reader and the Kobo Wi-Fi) and iOS platforms will display as a pop-up box containing the content being linked to. The pop-up boxes also contain links to the HTML sections containing the reference material. On iOS, the footnote pop-up will render more than just plain text, including images, links and other content in the footnote or endnote. On the Desktop, Android and Windows platforms users will not see a pop-up but can simply follow the link to HTML section with the reference text.
It is strongly recommended that reference notes use the appropriate ePub:type identifying attribute for footnotes and endnotes (note: this markup is only valid in EPUB3 files and cannot be used in ePub2). This attribute is currently supported on Kobo's iOS platform and its use is the best way to ensure that footnotes and endnotes will display as intended on iOS as well as future releases on other platforms. All links using the footnote or endnote attribute will display within a pop-up on Kobo's iOS platform.
Ex.
<span id="fn0005fn" epub:type="footnote">Text linking to footnote or endnote.</span>
Warning: Hyperlinked content not using the epub:type attribute footnote or endnote will display as a pop-up on Kobo's iOS and eInk platforms in cases where all the following criteria are met.
The link references a location in the EPUB and also references a specific node within the HTML. Ex.
<a href=“chapter.html#uniqueID”>link text</a>
Where chapter.html is a file within this EPUB and where uniqueID is the id of a node within that html document.
The content in the node is nine characters or more once stripped of the HTML tags. Ex.
<p id="uniqueID">123456789</p>
The node being linked to is less than or equal to 5000 characters.
The location being linked to comes after the location being linked from. Ex. A reference in Chapter 2 links to a location at the end of the file titled Endnotes or a reference at the beginning of Chapter 2 links to a location at the end of Chapter 2.
|
EDIT 1: I've attached a little booklet I produced which includes footnotes. See the footnote chapter if you download it. There are four footnotes in there. Not one produces a popup. The first one doesn't even jump to the footnote, though the other three do. The footnotes are roughly 600 characters long: well below the 5,000 characters specified as the limit for popups.
EDIT 2: I've updated the attached booklet with some new footnote attempts. In the very first footnote, I changed it to be under 500 characters instead of 5,000 just in case someone had a oopsie with a zero. It made no difference. I also added chapters with footnotes at the end of the chapter instead of inline. Again, no difference. And, for gravy, I set the footnotes up as endnotes and created another chapter to use them. Ditto. No difference. Twelve differently placed footnotes and not one works correctly. Yet, I'm reading an actual book right now where the identically formatted footnotes work just fine (well, mostly).