How do I configure MathJax for show.js when working offline?

The opens.js documentation on the MathJax section says that generally MathJax is downloaded from a remote server, and if you want to use MathJax offline, you will need to download a copy of the library and adjust the configuration value mathjax

.

The configuration I am trying to do is

math: {
    mathjax: 'MathJax/MathJax.js',
    config: 'TeX-AMS_HTML-full'
}

      

where MathJax/MathJax.js

is the relative address of the file MathJax.js

in the clone of the MathJax repository that I have locally on my computer.

When I first load the page in a presentation using equations on it (or reload it by pressing F5 in the browser), I first see the LaTeX code for the equations for a short while before seeing a render, which looks very basic and not very nice, but that's it. equally ok, but then finally I see what looks like a nice rendering of equations, but with thick frames around each character in the equations that completely messed things up.

How do I configure MathJax correctly so that it looks identical to how MathJax is loaded from a remote server?

+3


source to share





All Articles