Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"links" to nested math environments fails #157

Open
pkra opened this issue Mar 23, 2016 · 1 comment
Open

"links" to nested math environments fails #157

pkra opened this issue Mar 23, 2016 · 1 comment

Comments

@pkra
Copy link
Contributor

pkra commented Mar 23, 2016

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.

@pkra
Copy link
Contributor Author

pkra commented Mar 31, 2016

I've proposed a fix at #160.

pkra added a commit to AmerMathSoc/lens that referenced this issue Apr 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant