From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Mathjax CDN to shutdown April 30th 2017 Date: Sat, 15 Apr 2017 18:22:20 +0200 Message-ID: <87inm5hc8z.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czQSv-0003e5-75 for Emacs-orgmode@gnu.org; Sat, 15 Apr 2017 12:22:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czQSu-0002P0-0s for Emacs-orgmode@gnu.org; Sat, 15 Apr 2017 12:22:25 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47441) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czQSt-0002NN-Qx for Emacs-orgmode@gnu.org; Sat, 15 Apr 2017 12:22:23 -0400 In-Reply-To: (Adam Aviv's message of "Wed, 12 Apr 2017 09:41:05 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adam Aviv Cc: Emacs-orgmode@gnu.org Hello, Adam Aviv 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 > 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