uploaded Html files not showing equations with MathJax

Re: uploaded Html files not showing equations with MathJax

by Pete Tyrer -
Number of replies: 5

Solved it by putting the link to the CDN in the html file itself.


In reply to Pete Tyrer

Re: uploaded Html files not showing equations with MathJax

by Susan Mangan -

Hello.  We are on version 2.8.7 and having same problem.  What do you mean by CDN in HTML file?  We have a calculus site has a LOT of HTML files so hoping to fix this without having to go into each one...TIA

In reply to Susan Mangan

Re: uploaded Html files not showing equations with MathJax

by Eoin Campbell -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

I think he means adding the code
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>;
to the top of each HTML file.

Average of ratings: Useful (1)
In reply to Eoin Campbell

Re: uploaded Html files not showing equations with MathJax

by Susan Mangan -

DOI ...ok thanks.  I did that and it solved my problem too.

Still have equations that are not rendering but I suspect that is for another forum discussion smile

In reply to Eoin Campbell

Re: uploaded Html files not showing equations with MathJax

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Instead of adding that code to each HTML file, you might want to try adding it to the Within HEAD box under Site administration > Appearance > Additional HTML and see if it will take care of making them all work correctly for you.

In reply to AL Rachels

Re: uploaded Html files not showing equations with MathJax

by Susan Mangan -

I will try that!  thank you.