Hi
Since touch screens have been introduced some years ago, endnotes display on e-ink readers has been a recurrent hit-and-miss nightmare. From small anchors some years ago, I now use little billboards, hoping that the reader will catch the links accurately... Sometimes I go but do not come back.
This is a proposal for a new plugin: to transform normal endnotes (or footnotes) into pop-up endnotes. This pop-up feature seems to have been first implemented within docx and has been ported to Calibre converted EPUBs and the Calibre viewer some few months ago.
I had first looked for information because I am interested to add this feature to the converter I usually use. I now think it would be maybe easier - and quicker - to add it as a complementary feature, triggered by a plugin.
When you look at the Calibre code, it seems that some fixed tags or attributes have been added to the usual return links. If some expert was so kind as to look at it, he could tell us if this transformation could be made easily -or not.
On this thread you'll find an example of the Calibre code used for a pop-up endnote.
On thinking about it, there could be two steps:
- cleaning all the cruft around the return endnotes (mostly within the
a tag), leaving only the
href and
id attributes
- rebuilding them and adding a new css class that could be used as a default and further customized