emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Mathjax CDN to shutdown April 30th 2017
@ 2017-04-12 13:41 Adam Aviv
  2017-04-12 13:57 ` Adonay Felipe Nogueira
  2017-04-15 16:22 ` Nicolas Goaziou
  0 siblings, 2 replies; 6+ messages in thread
From: Adam Aviv @ 2017-04-12 13:41 UTC (permalink / raw)
  To: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1065 bytes --]

Hi all,

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?...

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.

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*

[-- Attachment #1.2: Type: text/html, Size: 1889 bytes --]

[-- Attachment #2: 0001-Fixing-link-to-mathjax-cdn-as-cdn.mathjax.org-is-shu.patch --]
[-- Type: application/octet-stream, Size: 857 bytes --]

From 80e5b49bd1666418a58124e74d7098fd4d5fcae5 Mon Sep 17 00:00:00 2001
From: Adam Aviv <aviv@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")
-- 
2.10.1 (Apple Git-78)


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-16  7:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-12 13:41 Mathjax CDN to shutdown April 30th 2017 Adam Aviv
2017-04-12 13:57 ` Adonay Felipe Nogueira
2017-04-15 16:37   ` Nicolas Goaziou
2017-04-15 16:22 ` Nicolas Goaziou
2017-04-15 20:41   ` Adam Aviv
2017-04-16  7:01     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).