"links" to nested math environments fails
Opened this issue · 1 comments
pkra commented
A math environment can frequently be nested in another math environment, e.g., a proof is structured "Claim 1" (being a theorem environment) followed by "Proof of Claim 1" (being a proof environment).
"Links" to nested math environment do not work correctly, scrolling too high (usually). As far as I could tell, this is caused by the following.
The offsetParent
of the inner math environment is the outer math environment which breaks this which in turn affects the behavior of all "links" (events) to the inner math environment; most importantly, links in the TOC will be scrolling to the wrong position.
I'll probably try to figure this one out but pointers or caveats would be helpful.