View Single Post
Old 10-18-2015, 09:45 AM   #75
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,804
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jackie_w View Post
It's difficult to see a moral objection to that (I've been wrong before, though) but it's not immediately obvious to me how to do it with the html parser. If the link was simple like:
<a href="...">1</a> it would be easy to do, but if there was lots of rats nesting like this
<a href="..."><span...> <sup ...><span ...>1</span> </sup></a>
then it would be harder to associate the 1 with the <a> tag rather than the innermost <span>.
Ok, I can understand that You started this thread as a "kobo thread" (thinking in Kobo books though your utility is useful for any ebook). Since ereaders now are supporting several epub3 features (ADE now has almost full support of epub3), maybe you could maintain the numbers unscrumbled when you find something like:

Code:
    <p>something <a epub:type="noteref" href="#fn01">1</a></p>
    …
    <aside id="fn01" epub:type="footnote">
        Some footnote content
    </aside>
In those cases, is doubtless that numbers belong to a footnote. What do you say?
RbnJrg is offline   Reply With Quote