Quote:
Originally Posted by RbnJrg
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