mathjax-latex icon indicating copy to clipboard operation
mathjax-latex copied to clipboard

Failed to Load: /extensions/MathZoom.js

Open Seamate opened this issue 6 years ago • 1 comments

When I load a page containing mathjax code, I see the following error at the bottom.

Failed to Load: /extensions/MathZoom.js

The Mathjax code fails to load the equations.

What I expected: I expected the page to load and display the equations. What happened instead: The page displays the raw Mathjax code instead.

Seamate avatar Jan 24 '19 04:01 Seamate

@Seamate I've found the correct answer. It happened because you only put MathJax.js on your dictionary, but MathJax requires lots of another components located in your provided MathJax.js path. For example:

  • //example.com/MathJax.js
  • //example.com/extensions/MathZoom.js
  • ...

So if you want to host your own MathJax mirror, make sure you put all these dependencies in correct location :)

For example, see https://www.bootcdn.cn/mathjax/2.7.7/

DGideas avatar Dec 16 '20 12:12 DGideas