From e08c26c77726891b3e2eafae4ab055c56f150d98 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 9 May 2016 13:39:06 -0700 Subject: [PATCH] Change default mathjax setup to use TeX-AMS_CHTML configuration. This is designed for cases where the input is always TeX and maximal conformity with TeX is desired. It seems to be smaller and load faster than what we used before. See #2858. --- pandoc.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandoc.hs b/pandoc.hs index fb5e24823..c77b34265 100644 --- a/pandoc.hs +++ b/pandoc.hs @@ -836,7 +836,7 @@ options = , Option "" ["mathjax"] (OptArg (\arg opt -> do - let url' = fromMaybe "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML" arg + let url' = fromMaybe "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML" arg return opt { optHTMLMathMethod = MathJax url'}) "URL") "" -- "Use MathJax for HTML math"