View Single Post
Old 01-13-2016, 02:36 AM   #176
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
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 View Post
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.
Doitsu is offline   Reply With Quote