Even though several apps offer popup footnote support, neither the epub2 nor the epub3 standards require footnotes to be displayed as popups.
Quote:
Originally Posted by roger64
When you look at the Calibre code, it seems that some fixed tags or attributes have been added to the usual return links.
|
AFAIK, Kovid uses a heuristic algorithm that considers all links to targets with backlinks as popups in Calibre. I.e., no special HTML code other than <sup>1</sup> for the footnote text is required.
If I understand your other post correctly, your problem is that your favorite OpenOffice/LibreOffice epub plugin doesn't generate backlinks for footnotes/endnotes.
The obvious solution would be to save your .odt files as .docx files and to convert them with Calibre.
If your OpenOffice/LibreOffice generated .docx files don't contain footnotes/endnotes with backlinks, it's a OpenOffice/LibreOffice .docx filter issue and should be reported to the OpenOffice/LibreOffice developers.
In the meantime, you could use regular expressions to add the required footnote backlinks to the footnote definitions.
IMHO, writing a plugin for this would be overkill.