@nqk
Thanks for your quite interesting EPUB. I observe also that solutions 2 and 3 work fine for the Calibre viewer (only one note displayed).
However, with Epubcheck, this EPUB triggers 16 errors, mainly because it's an EPUB2 with "incorrect" EPUB3 tags and attributes (noteref, aside, epub-type, etc.).
As such I am afraid that this solution can't be "officially" recommended for EPUB2 books which form the majority of our libraries.
What is curious is that the Calibre Editor does not support EPUB3 while some EPUB3 features like this one seems to fit the Viewer the best.
The idea to insert the id in the p tag does not seem good either because sometimes the a tag can be quite far away from the opening paragraph tag. Maybe putting the id in an attached or encapsulated "dummy" span (I mean just created for this purpose) would do it.
I really would feel better if we had some advice coming from Kovid Goyal on this endnote display topic.
Last edited by roger64; 01-22-2016 at 03:58 AM.
Reason: dummy span
|