emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Adam Aviv <aviv@usna.edu>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Mathjax CDN to shutdown April 30th 2017
Date: Sat, 15 Apr 2017 18:22:20 +0200	[thread overview]
Message-ID: <87inm5hc8z.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJV1HczHx84qejbeG6Fk55s240=bMW-5a8aGNV3r=Aks91kNrA@mail.gmail.com> (Adam Aviv's message of "Wed, 12 Apr 2017 09:41:05 -0400")

Hello,

Adam Aviv <aviv@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 <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")

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

  parent reply	other threads:[~2017-04-15 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=87inm5hc8z.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=Emacs-orgmode@gnu.org \
    --cc=aviv@usna.edu \
    /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).