WeBWorK Main Forum

Upgrading MathJax 3

Upgrading MathJax 3

by Alex Jordan -
Number of replies: 2

Now in WW 2.16, MathJax is managed through npm. My version of MJ is 3.1.2, but version 3.2 is available. What steps should I take if I would like to upgrade?

In reply to Alex Jordan

Re: Upgrading MathJax 3

by Glenn Rice -

If you want to upgrade MathJax, then from the htdocs directory run `npm uninstall mathjax` and then `npm install mathjax`.

Note that this will modify the package.json and package-lock.json files, and git will show this.

In reply to Glenn Rice

Re: Upgrading MathJax 3

by Alex Jordan -

Thanks, that worked as described.

A student reported that they couldn't see the top half of a number that appeared in a problem. The fraction 3/20 was typeset, and for them the top half of the 3 was gone. I couldn't reproduce that exactly, but in Safari, at the right zoom level, I saw the top half of the 20 disappear.

After upgrading MathJax to 3.2.0, I can no longer make the top half of the 20 disappear.