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
Disable MathJax when output panel is hidden #25
Comments
Hi, can you provide info about your hardware configuration and the content of the document (an example would be nice). Thx. |
It's a bit complicated. I could disable all the markdown conversion. The problem is that html export (save and publish) relies on the preview and would have to be disabled when the panel is hidden... not nice. |
How about triggering a typesetting when exporting (and wait for it to finish)? See this discussion for some suggestions regarding MathJax. |
Hi @pkra |
Yes, I can imagine. Not sure if this is a real alternative, but you could also switch the MathJax output-renderer to MathML when hiding the output panel. MathML-output won't be readable except on Firefox, but will eliminate speed issues. See http://docs.mathjax.org/en/latest/api/hub.html#api-hub for the APIs. Of course, you'd still have to make sure that everything's re-typeset as HTML-CSS before exporting, so I'm not sure that this actually helps... |
BTW, this is certainly a workaround for @fgdorais -- switch the renderer manually to MathML. |
Or disable MathJax in Settings->Extensions... |
Just did. |
@pkra Thank you for your answer. I tried what you recommended but without much success... So I just opened an issue in MathJax. |
@benweet it's a lot faster now. Editing the most problematic document on my samsung chromebook is not impossible anymore. |
Closing as too old. |
I was recently editing a math-heavy document. Since the output panel re-renders the whole document after each edit, the math processing eventually slowed things down to a crawl. I expected that hiding the output panel would disable math processing and allow me to edit at normal speed, but it looks like math is still being processed when the output panel is hidden.
The text was updated successfully, but these errors were encountered: