View Single Post
Old 06-02-2020, 05:36 PM   #1
graatch
Enthusiast
graatch began at the beginning.
 
graatch's Avatar
 
Posts: 43
Karma: 10
Join Date: Apr 2018
Device: Samsung Galaxy Tab S2, iPad 2 (Bluefire Reader); fire hd 10, Windows
Different footnote/link behavior resulting from epub formatting -- how?

I originally posted here and regarding Moonreader, since there are epub programs which ignore this distinction entirely, but it certainly seems to be a result of something in the epub formatting, no?

https://www.mobileread.com/forums/sh...d.php?t=330267

In Moonreader sometimes footnote links ‘jump’ to a different part of the text and at other times the footnote link just brings up the note (in a nice yellow "sticky note", as of the last update) without jumping you around -- in what's brought up you have the option to 'open' the destination which then takes you there. For me a book full of footnotes in the former style is borderline unreadable as it’s too easy to be moved to different parts of the text. I’ve been looking and looking at hrefs in html and epub, as well as the offending files in Sigil, and for the life of me I can’t figure out what causes a link to do one rather than the other.




So, for example, in my epub of Macbeth:



"Nothing afeard" brings up a popup, which is good, whereas "what thyself didst make" jumps to the note at the end of the file, which is not good.

The underlying formatting is this ugliness:

Quote:
<br/>********<a id="aa1s3l99"></a><a class="hlink" href="../Text/Footnote.htm#a1s3l99">Nothing afeard<sup>99</sup></a> of <a id="aa1s3l99a"></a><a class="hlink" href="../Text/Footnote.htm#a1s3l99a">what thyself didst make</a>,<br/>
and the footnotes:

Quote:
<p class="footnote" id="a1s3l99"><a class="hlink" href="../Text/Shak_9781588368331_epub_c01_r1.htm#aa1s3l99"><stro ng><sup>99</sup> Nothing afeard</strong></a> not at all afraid **</p>
<p class="footnote" id="a1s3l99a"><a class="hlink" href="../Text/Shak_9781588368331_epub_c01_r1.htm#aa1s3l99a"><str ong>what … make</strong></a> i.e. slaughter on the battlefield (<strong>strange images of death</strong>)**</p>

It seems the only difference is that one receives a numeral in superscript and the other doesn't? What am I missing?
graatch is offline   Reply With Quote