Hello, Adam Aviv <a...@usna.edu> writes:
> I saw this blogpost recently about cdn.mathjax.org will be shutdown on > April 30th 2017. > > https://www.mathjax.org/cdn-shutting-down/ > > There's a replacement to use cloudflair hosting instead > > https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?... Thank you for the heads up. > Is there a plan to move the default org-mode mathjax header link over to > this by 30 April? It's a one line change in ox-htm.el for mathjax options. > I've attached that patch for convenience. However, after a bit of > grepping, there should be some changes to the documentation which refers to > using the mathjax CDN and stuff. Would you want to provide a patch for that? > On another note, the default option of using orgmode.org's hosting of > mathjax.sh should be updated to support HTTPS because most browsers block > scripts loaded under http if the page is loaded under https. Or, that > default should also change to the cloudflare cdn if it fits within the > terms of service. Perhaps that should be a discussion for another thread, > though. > > -aja > > -- > Adam J. Aviv, PhD > *Asst. Professor* > *Computer Science* > *U.S. Naval Academy* > *(410) 293- 6655* > From 80e5b49bd1666418a58124e74d7098fd4d5fcae5 Mon Sep 17 00:00:00 2001 > From: Adam Aviv <a...@usna.edu> > Date: Wed, 12 Apr 2017 09:16:31 -0400 > Subject: [PATCH] Fixing link to mathjax cdn as cdn.mathjax.org is shutting > down Apirl 30, 2017 > > --- > lisp/ox-html.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/ox-html.el b/lisp/ox-html.el > index 251e1be..70d3bde 100644 > --- a/lisp/ox-html.el > +++ b/lisp/ox-html.el > @@ -1160,7 +1160,7 @@ See `format-time-string' for more information on its > components." > ;;;; Template :: Mathjax > > (defcustom org-html-mathjax-options > - '((path > "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" ) > + '((path > "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML" > ) > (scale "100") > (align "center") > (font "TeX") Have you signed FSF papers? Otherwise, you need to include "TINYCHANGE" at the end of your commit message before I can apply it. Regards, -- Nicolas Goaziou