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
Link to jsMath's easy/load.js only if the documentation is built with --jsmath #6512
Comments
Attachment: trac_6512_jsmath_fix.patch.gz |
comment:1
The patch removes a redundant link to jsMath. Sphinx should now include references to jsMath in its output only if
|
Author: Mitesh Patel |
This comment has been minimized.
This comment has been minimized.
comment:4
This works for me: with the patch installed, it loads jsMath when it's needed, and doesn't load it when it isn't. Positive review. |
Reviewer: David Loeffler |
Merged: sage-4.1.1.alpha0 |
comment:6
Mitesh, thank you very much for fixing this. |
comment:7
I agree that the change above looks like the correct one. Another option was to have jsmath automatically typeset the stuff in the alt parameter of the img files. Davide Cervone sent me a message with a way to do that:
The javascript code is:
|
sage -docbuild tutorial html
renders all mathematics as images, but if the jsMath library is present, its processor hides all display equations.See sage-devel.
This is a follow-up to #5799.
Component: documentation
Author: Mitesh Patel
Reviewer: David Loeffler
Merged: sage-4.1.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6512
The text was updated successfully, but these errors were encountered: