I apologize... I feel like this has been asked a million times, and the answer is out there. But I am baffled why this isn't working.
I have a test epub. The popup endnotes and footnotes work as expected in the macOS Books desktop app. From reading the
Kobo Lab documentation, I think I've added the correct tags.
However, after I convert to kepub (either with Calibre or using the CLI kepubify version 4.0.4), instead of popups I either get full jumps or non-functional links on my Kobo Libra H2O.
Can someone please help? I've tried every permutation I can think of and the various tips on the web I've seen to no avail. With spans, without spans... etc. I have an epub where the endnotes do work after converting to kepub -- so I don't think it is a device thing. But even after looking at the code from that book in Sigil, I still can't figure out why it works in that book and not in mine.
I would deeply appreciate your help. (And so, hopefully, will the readers of the book I'm converting!)
I've attached the whole epub, but in case it is easier, here are the code snippets:
Here's an example place I want an endnote:
Code:
...
<p class="body">Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vel risus
commodo viv maecenas accumsan. Odio pellentesque diam volutpat suc poc
como sed egestas egestas. Lorem ipsum dolor sit amet consectetur. Leo vitae
turpis massa.<a href="endnotes.xhtml#massa" epub:type="noteref">[1]</a>
...
And in endnotes.xhtml:
Code:
...
<p id="massa" epub:type="endnote"><span class="endnote">[1] Lorem
ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Vel risus commodo viverra
maecenas accumsan. Odio pellentesque diam volutpat commodo sed egestas
egestas.</span></p>
...