View Single Post
Old 10-18-2015, 08:32 AM   #72
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by RbnJrg View Post
Could it be possible to use a * to indicate a hyperlink to a footnote/endnote? But if all other text in the book is scrambled, who could guess/know what is the original book though the digits were unscrambled to indicate footnotes/endnotes? If noone can know what is the original book even with the numbers of footnotes/endnotes unscrambled, to me is fair to maintain the original order.
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>. I'm not saying it's not possible, there's probably a 'parser nesting technique' well known to lxml parsing experts. I just don't know it. Always willing to be educated though
jackie_w is offline   Reply With Quote