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
Replace MathJax with KaTeX #6507
Comments
Hello @vojtechjelinek @NishealJ, should you think it should be done in GSoC project Upgrade Third Party Libs ? |
Hi @vojtechjelinek @import-keshav, We are using MathJax v2.6.0 and the latest is v2.7.X they have mentioned preview speed improvements in their changelog, lets upgrade Mathjax and see if there is any significant difference. If not we will move to kaTex ? |
Comparison between KaTeX and MathJax should be done, in terms of rendering speed, the library size, simplicity and then we should decide on that comparison. |
Hi @vojtechjelinek & @import-keshav, I’ve upgraded MathJax to 2.7.5, i dint find any noticeable change after upgrade in terms of speed and library size. I’ve added upgrading MathJax to 2.7.5 in my GSOC proposal for the project Upgrade Third-party Libraries. Can i also an alternative option of moving into KaTex with a detailed design and comparison docs? |
Hi, Seems like there is no KaTex plugin for CKEditor-4 & CKEditor-5 they only have it for MathJax. |
@NishealJ You can analyze it in your GSoC proposal. |
Hi @vojtechjelinek , @import-keshav , @NishealJ this seems familiar to what we're trying to do. If you can enlighten about what all did you try & related info/suggestions, do tell me. |
Hi @Vinit-Dantkale, Mathjax, as you know, is a library that helps in displaying mathematics eqs better similar to kaTeX we currently use Mathjax(I believe) the problem with Mathjax is that the library files are really heavy read here and it renders comparatively slower than KaTex see this to know more. We dint move to KaTex yet because our RTE i.e CKeditor4 it has an inbuilt plugin for MathJax but there is no plugin for KaTex hence, it will be difficult to input Katex through RTE also you've to migrate it too, we also looked for a converter but it dint help, there might be some possibilities now(make SVG Images). @seanlip might help you to know more, Also I see two projects which may make structural changes to the RTE parallelly so please make sure that you know all your blocker beforehand. |
KaTeX seems to be far quicker alternative for MathJax. We should investigate if the formats used in MathJax are the same as in KaTeX (probably yes) and then try to replace MathJax with KaTeX.
Possible replacement for #2506
The text was updated successfully, but these errors were encountered: