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

support user switching mathjax renderer (e.g. SVG) #29

Open
cben opened this issue Sep 23, 2014 · 2 comments
Open

support user switching mathjax renderer (e.g. SVG) #29

cben opened this issue Sep 23, 2014 · 2 comments
Labels

Comments

@cben
Copy link
Owner

cben commented Sep 23, 2014

used to be very broken?
currently seems mostly harmless (but not all math gets re-rendered).
At least CM widgets must be re-measured for correctness.

@cben cben added the bug label Sep 23, 2014
@cben
Copy link
Owner Author

cben commented Mar 22, 2015

HTML-CSS <-> SVG switching seems to work mostly fine (Chrome and FF on linux).
Although cursor positioning is somewhat off (should call .changed() on the CM widgets).

But MathML in FF works immediately but any further rendering (or reload) results in the math disappearing (empty widget in the DOM). This also makes it tricky to go back to a working renderer; the only remaining math you can right-click is the Mathdown logo on top :-)

@cben
Copy link
Owner Author

cben commented Mar 22, 2015

Related: in SVG and MathML modes, the math is always black, instead of adapting the surrounding color of lists, quotations etc.

For SVG, https://groups.google.com/forum/#!topic/mathjax-users/--UzmyRg0Zw suggests \color or CSS targetting svg { stroke: ... fill: ... }.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant