Hi Becky,
Here are samples from LitRes, a large Russian e-book store: one book, a Russian translation of an English novel, in two of the EPUB downloads LitRes offers for it, the standard EPUB and the "EPUB for iOS".
I scrambled them with a small script of my own that works like ScrambleEbook: every letter becomes a random letter of the same alphabet and case, and the markup, ids, classes, CSS and file structure stay. Each excerpt has the OPF, NCX, CSS, the three chapters with the references and the notes file. Images, fonts and the other chapters are removed, and the title, author and identifiers are scrambled or zeroed. The iOS OPF lists fonts and a unicode_fonts.css that LitRes's own download does not contain.
Both are EPUB 2 with the FB2 namespace (xmlns:fb) and no epub:type.
References, standard EPUB:
Code:
<a href="contentnotes0.html#n_1" id="back_n_1"><sup>[1]</sup></a>
EPUB for iOS:
Code:
<sup xmlns:epub="http://www.idpf.org/2007/ops"><a style="margin-left: 5px; font-size: 12px;" class="fn" href="contentnotes0.html#n_1" id="back_n_1">[1]</a></sup>
The notes are in one file at the end of the book, outside the linear reading order (linear="no"). Each note has a heading with its number before it and a "Вернуться" ("Back") link to the reference at the end (note text replaced here):
Code:
<h1 id="idm47" class="master">1</h1>
<div style="text-align: justify" class="hsection1" id="n_1"><p class="b">Note text.</p><p class="b page-break-after:always"><a href="content4.html#back_n_1">Вернуться</a></p></div>
On a Kindle Paperwhite, testing a book with the same structure converted by calibre to AZW3 and sideloaded: the reference opens a pop-up, because the reference and the note link to each other. The Kindle ignores epub:type in a sideloaded AZW3 and shows the text from the note target up to the next link, so the pop-up shows the note, its "Вернуться" link, the next note's number heading and the next note. Notes that start with their number as a link back, with no heading and no back link after them, show cleanly.
I collected this while writing a calibre plugin that reshapes notes for Kindle pop-ups,
https://www.mobileread.com/forums/sh...d.php?t=376545