pelican-plugins / render-math

Pelican plugin that renders mathematics via the MathJax JavaScript engine
Other
30 stars 7 forks source link

Upgrade MathJax to v3 #8

Open hno2 opened 4 years ago

hno2 commented 4 years ago

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 commented 4 years ago

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

hno2 commented 4 years ago

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 commented 4 years ago

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

hno2 commented 4 years ago

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.

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

justinmayer commented 3 weeks ago

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? 😅