From: Adam Aviv <aviv@usna.edu>
To: Emacs-orgmode@gnu.org
Subject: Mathjax CDN to shutdown April 30th 2017
Date: Wed, 12 Apr 2017 09:41:05 -0400 [thread overview]
Message-ID: <CAJV1HczHx84qejbeG6Fk55s240=bMW-5a8aGNV3r=Aks91kNrA@mail.gmail.com> (raw)
[-- 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)
next reply other threads:[~2017-04-12 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 13:41 Adam Aviv [this message]
2017-04-12 13:57 ` Mathjax CDN to shutdown April 30th 2017 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJV1HczHx84qejbeG6Fk55s240=bMW-5a8aGNV3r=Aks91kNrA@mail.gmail.com' \
--to=aviv@usna.edu \
--cc=Emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).