I tend to use Adobe as the "Standard" that I can check ebooks against; I even have a copy on my Linux Laptop (with Wine installed) for exactly that reason.
I've just been looking at a book I created from a Gutenberg text where the endnotes behave correctly in Adobe but not in the Calibre Viewer.
These are fragments of the code together with the targets :
Code:
<p>Nos. 13 and 20 are justly attributed to the times of the Crusaders,<small><a href="../Text/Maeshowe_0010.html#f4" id="f4.1">[4]</a></small> but many of the other inscriptions
The above displays correctly in a footnote box.
Code:
<p><i>To the north-west a great treasure has been hid (but few believe that), a great treasure was hid here.</i><small><a href="../Text/Maeshowe_0010.html#f5" id="f5.1">[5]</a></small> <i>Simon sigr (victor)
This one doesn't -it follows the hypelink in the main dispay area
Code:
<p class="center"><br/>
<span class="smcap">Bot Ær Oktil at Sokua, Suo in Kotalant.</span><small><a href="../Text/Maeshowe_0010.html#f6" id="f6.1">[6]</a></small> <i>Sua Inklant.<br/>
Again this one follows the link in the main window.
These are the target endnotes :
Code:
<p><a href="../Text/Maeshowe_0009.html#f4.1" id="f4">[4]</a> Professor Munch supposes that the Jerusalem travellers, who are described in No. 13 as having broken into the how, were connected with an expedition organized by Earl Ragnvald to the Holy Land. He says “many of the northern warriors joined the Earl in 1152. They assembled in Orkney, and after passing the winter there, sailed in the spring of 1153, and after being in Spain in December of that year, reached the Holy Land in August 1154; they went thence to Constantinople, where they passed the Christmas of 1154-55, returning home by different routes. During their stay in Orkney they had frequent quarrels with the inhabitants.” As some of the inscriptions seem to indicate the existence of treasure in the tumulus, it is not unlikely that it should have been examined by these warriors, and that they afterwards inscribed their names, together with other remarks, on the walls.</p>
<p><a href="../Text/Maeshowe_0010.html#f5.1" id="f5">[5]</a> There is a similar allusion to hid treasure on the wall of a rock at Berrig, in the Star valley North Throndheim County—“gull faitu nin alna nither”—They hid some gold nine ells deep in the earth.</p>
<p><a href="../Text/Maeshowe_0010.html#f6.1" id="f6">[6]</a> This (“evidently very difficult carving,” says Professor Stephens) may be taken as a fair specimen of the Bind-rune form of writing.</p>
All of which form a continuous block of code.
So three footnotes and only one displays in the footnote box of the viewer - something odd there, also when I display the first of these (in the footnote box) the following two also appear but without the reference numbers, i.e. the problem that roger64 originally mentioned.
The book I've constructed is well in the PD and I can attach a copy if anyone wants to examine it - just yell.
It looks to me like a problem with the Calibre Viewer and how it decides just what should be displayed as a footnote, rather than being treated as a simple hypertext link.
BobC