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

Upgrade MathJax to v3 #8

Open
hno2 opened this issue Jul 31, 2020 · 5 comments
Open

Upgrade MathJax to v3 #8

hno2 opened this issue Jul 31, 2020 · 5 comments

Comments

@hno2
Copy link

hno2 commented Jul 31, 2020

Hey,

upgrading to v3 of MathJax would/seems to improve performance quite a bit.
I tried out changing the hardcoded URL in math.py and it seems to work, but I have no special settings set.
That is the problem I currently see as the settings in MathJax 3 are handled differently than in v2.

Thanks for your work!

@justinmayer
Copy link
Contributor

Hi @hno2. Is this issue something you would be willing to help out with? We could really use the assistance! 😅

@hno2
Copy link
Author

hno2 commented Aug 24, 2020

Hey @justinmayer . I will have a look soonish. Though I have no experience with MathJax Settings, but I'll see what I can do.

@justinmayer
Copy link
Contributor

@hno2: That would be great. Looking forward to it! 😁

@hno2
Copy link
Author

hno2 commented Sep 11, 2020

Hey @justinmayer, so I had a look at the settings of MathJax3 (vs MathJax v2.x). And there are some breaking changes, so I want to check in with you first to get your opinion. Implementing the MathJax3 is likely to break a couple of settings. So I am waiting for your feedback before going back to implementing them.

  • latex_preview is not implemented in MathJax3
  • MathJax_font Currently only the TeX font is available (HTML-CSS.availableFonts not implemented)
  • linebreaks are not implemented in v3 currently. The whole topic responsiveness seems to be (still) an issue
  • messageStyle is not available in MathJax3

Disregarding these issues, the change to MathJax v3 seems like a very good idea performance wise.

@justinmayer
Copy link
Contributor

Hi Simon. Please accept my sincere apologies for the absurdly-long delay in responding to your detailed assessment of the potential breaking changes in MathJax v3+. Do you know whether any of the potential breaking changes have been addressed in the intervening years? 😅

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

2 participants