## WeBWorK Main Forum

### mathjax does not work in solution part

by Andras Balogh -
Number of replies: 2

We recently upgraded to WeBWorK 2.16 and mathjax seems to work in general.

But in the solution part it does not work at all. It does not show any math formulas in any solutions.

### Re: mathjax does not work in solution part

by Danny Glin -

Mathjax is displaying properly in solutions on my 2.16 installation.  Here are a few things to check:

• Did you do the 'npm install' step from the installation instructions? (I'm assuming that you did since mathjax is working elsewhere)
• Did you restart apache after upgrading?
• Try clearing your browser cache, or doing a shift-reload of the page in question
• Check the error console in your browser to see if there are any messages that might point to what is going wrong
$webworkURLs{MathJax} = "https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-MML-AM_HTMLorMML-full"; Changing it to$webworkURLs{MathJax} = "\$webworkURLs{htdocs}/mathjax/es5/tex-chtml.js";