New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to new MathJax CDN by April 30 #834
Comments
Changing Mathjax url in https://github.com/brucemiller/LaTeXML/blob/master/lib/LaTeXML/resources/javascript/LaTeXML-maybeMathjax.js#L6 is straightforward. However, the problem mentioned on the announcement page is that one alternative CDN, cdnjs, recommended by the Mathjax team, does not provide automatic switching to the latest version, so the Mathjax URL would have to include reference to a specific Mathjax version, and may have to be updated every now and then. |
A different way forward here may also be to swtich to KaTeX now that I think about it. The idea of hosting any third-party javascript library in the main LaTeXML repository feels quite unnatural to me. |
But the simple solution of using a fixed version of MathJax may also be reasonable. Most/all production services would use this javascript file as a starting point template, and if they have an advanced setup for MathJax, they'll adapt the code directly. |
Yes, the original idea was that That is, I certainly have no intention of hosting, and am even rather annoyed at having to make a version choice in the example; But I guess we have to do that.... (and look for options). |
OK, patched. I'll call it closed for now, but not sure what the long term solution ought to be. |
By local installation I meant local version of Mathjax installed on individual's server/machine. One issue I had with when trying to use local installation directly (without LaTeXML-maybeMathjax.js) and using LaTeXML 0.8.1 was the difficulty with passing configuration parameters when running latexmlpost, i.e. when I tried using latexmlpost with --javascript set to the reference to the local script, I could not use configuration parameter, as latexmlpost would not accept the query string. Of course, I could link to the script already installed on my server (when I could include the query string in the URL), but this would not work for everyone. Perhaps this has changed - I haven't tried with newer versions of LaTeXML. |
We have a script using the mathjax CDN here:
https://github.com/brucemiller/LaTeXML/blob/master/lib/LaTeXML/resources/javascript/LaTeXML-maybeMathjax.js#L6
As per their announcement, this needs to be migrated away by April 30:
https://www.mathjax.org/cdn-shutting-down/
The text was updated successfully, but these errors were encountered: