Page 1 of 1

Use MathJax for MathML equation rendering

Posted: Thu Feb 27, 2020 7:51 pm
by chrispitude
Currently, Oxygen uses the JEuclid library to render MathML equations. Development activity for JEuclid appears to have ended in 2010, although there are some personal Github forks floating around to fix various issues.

It would be great if Oxygen could move to the MathJax rendering library. MathJax is open-source, actively developed, and fiscally supported by many companies. MathJax recently released their 3.0 release, which was a ground-up writeup to improve both speed and API simplicity:

http://docs.mathjax.org/en/latest/upgra ... w-3.0.html

MathJax is configurable via a standardized configuration file:

http://docs.mathjax.org/en/latest/options/index.html

which could be included in a project or framework directory, then shared (or overriden) by the various Oxygen components that work with equations (editor, WebHelp, PDF Chemistry, etc.).

MathJax would also opens the door for native TeX and ASCIImath support in DITA authoring and production in Oxygen.

Re: Use MathJax for MathML equation rendering

Posted: Fri Feb 28, 2020 10:04 am
by Radu
Hi Chris,

Thanks for the suggestion, we have two issues registered for this: CH-485 (for Chemistry) and EXM-39486 (for visual editing in the Author mode).
We'll update this forum thread if we manage to use MathJax in any of these places.

Regards,
Radu