![]() |
#1 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 766
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
Kobo and Footnotes. Again.
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> Code:
<aside id="fn1a" class="footnote" epub:type="footnote"> <p><a href="#fn1"><sup>1</sup></a>…thenote….</p> </aside> Can anyone see the problem? Here's Kobo's documentation on footnotes: and here's what that says: Quote:
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). Last edited by enuddleyarbl; 03-18-2023 at 12:53 PM. |
|
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 50592
Join Date: Oct 2010
Device: Kobo Libre H20
|
Have you made any progress on this? I'm in the same boat, and completely baffled. Pop ups work in my epub when I look at it in Books for macOS, but they don't work after converting to kepub.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 766
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
Not really. I just tested that sample book of mine again and not one of those 12 footnotes appears as a popup as a kepub on my Sage with the latest firmware. Most will actually jump to the footnote, though. I *thought* even that didn't work, before. But, I could be mis-remembering.
|
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,607
Karma: 165170966
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
One issue with Kobo's endnote implementation is that if the amount of characters from the start of the footnote to the end of the file is > 5,000 characters, it will not do a popup. This results in oddities such as the first 5 endnotes not popping up and the remaining 11 endnotes showing as popups in one book I was reading.
|
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 50592
Join Date: Oct 2010
Device: Kobo Libre H20
|
Quote:
So strange. I've checked the header elements, css, everything I can think of. There's some factor here that isn't obvious that is tripping us up. Someone with access to the render code needs to tell us what's really going on! It's not as simple at the Kobo labs epub_spec says. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,241
Karma: 16537488
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
The problem is with your NAV/NCX. Kobos (at least for kepubs) are very picky about TOCs. If you stick to the golden rule for NAV/NCX your Kobo reading life will run more smoothly, i.e. make sure that there is a one-to-one relationship between HTML files in the epub and TOC entries in the NAV/NCX. Using your sample epub3, as an example:
It's possible that item 2 may be less important than item 1 but I'm not sure. I've just enforced the one-to-one rule on all my epubs/kepubs for years. I've attached an edited version of your sample epub3. Use your normal method of transforming it to kepub and you should see that all the footnotes/endnotes now pop-up as expected. Last edited by jackie_w; 07-31-2023 at 10:57 AM. Reason: reworded for clarity |
|
![]() |
![]() |
![]() |
#7 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 50592
Join Date: Oct 2010
Device: Kobo Libre H20
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,241
Karma: 16537488
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
![]() I'm afraid I don't know anything about Sigil's nav/ncx generation capabilities, I use the calibre Editor plus a home-grown editor utility for nav/ncx fine-tuning. I never include an inline TOC page in any of my books. All those densely-packed hyperlinks are a PITA when trying to read on a phone. |
|
![]() |
![]() |
![]() |
#9 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,450
Karma: 102739837
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Code:
<p class="block_11"><a href="index_split_005.html#id_ch1" class="text_1">Chapter 1: An Unexpected Case</a></p> Code:
.block_11 { display: block; font-family: "Droid Sans", sans-serif; margin-bottom: 8pt; margin-left: 16pt; margin-right: 0; margin-top: 3pt; padding-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; text-indent: 0 } The only things at all manually edited were some large images Code:
image-height: auto; image-width: 90%; The wordprocessor doesn't do em, so pt is next best. I use cm when editing for PDFs. |
|
![]() |
![]() |
![]() |
#10 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 50592
Join Date: Oct 2010
Device: Kobo Libre H20
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,607
Karma: 165170966
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Since you are using epub:type, you are using ePub 3. The nav.xhtml file is the navigation document for an ePub3. An ePub3 can have a toc.ncx for backwards compatibility with an ePub2 renderer which needs the toc.ncx file.
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,241
Karma: 16537488
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Yes, what DNSB said, and calibre's Editor automatically keeps NAV and NCX synchronised in an epub3. I always keep both in the book because I'm never sure (particularly with Android reading apps) how well epub "standards" are followed - a belt and braces approach.
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,241
Karma: 16537488
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Introducing any wordprocessing app into my epub cleanup workflow seems similarly unnecessary. Editing the epub directly in a proper epub editor works fine, on its own, for me. |
|
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,605
Karma: 16300090
Join Date: Sep 2022
Device: Kobo Libra 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#15 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,607
Karma: 165170966
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Personally, I would just tap in the middle of the cover image and then tap on the ToC link in the bottom left corner. This also has the advantage that exiting the ToC leaves me on the page I was reading. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Libra Kobo Libra H20 is AWFUL with footnotes! | usernameforbidde | Kobo Reader | 5 | 10-18-2022 01:56 PM |
Footnotes and text links... how to do? (Kobo Epub) | Koboder | Writers' Corner | 2 | 02-20-2022 08:55 AM |
Footnotes do not work (Kobo Clara HD) | hans1234 | Kobo Reader | 2 | 01-06-2021 12:30 PM |
Kobo H2O - solution to footnotes | Percivale | Kobo Reader | 21 | 10-30-2015 01:46 AM |
Footnotes on Kobo android app | lcelliot | Android Devices | 5 | 03-22-2013 11:18 AM |