public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Modification of value taken on by template variable for MathJax
Date: Mon, 16 Oct 2017 14:58:20 -0700	[thread overview]
Message-ID: <20171016215820.GC21256@protagoras> (raw)
In-Reply-To: <24402d52-bf93-fa93-8062-e6134c642425-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

You can supply an argument to the --mathjax option.

    pandoc --mathjax='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js'

The dev version uses this by default.

+++ R (Chandra) Chandrasekhar [Oct 17 17 00:10 ]:
>Pardon me if this has been answered, but I have just become aware that 
>the default MathJax CDN has shut down.
>
>The website
>
>https://www.mathjax.org/cdn-shutting-down/
>
>states
>
>"The MathJax CDN shut down on April 30, 2017!
>Please check our announcement for migration help."
>
>The Pandoc HTML5 header has this:
>
><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full" 
>type="text/javascript"></script>
>
>and the recommendation from the above website is to use instead:
>
><script type="text/javascript" async
>
>src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?...">
></script>
>
>How does one implement this change through the (modified) default 
>template for HTML5?
>
>Thanks.
>
>Chandra
>
>-- 
>You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/24402d52-bf93-fa93-8062-e6134c642425%40gmail.com.
>For more options, visit https://groups.google.com/d/optout.


      parent reply	other threads:[~2017-10-16 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 18:40 R (Chandra) Chandrasekhar
     [not found] ` <24402d52-bf93-fa93-8062-e6134c642425-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-16 21:58   ` John MACFARLANE [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171016215820.GC21256@protagoras \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.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.
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 NNTP newsgroup(s).