From 7018003811f2b606808ddecb5c1ce12e27ad7d51 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 30 Jan 2017 11:31:50 +0100 Subject: `--mathml` and MathML in HTMLMathMethod longer take an argument. The argument was for a bridge javascript that used to be necessary in 2004. We have removed the script already. --- pandoc.hs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'pandoc.hs') diff --git a/pandoc.hs b/pandoc.hs index a5163dae5..c30507021 100644 --- a/pandoc.hs +++ b/pandoc.hs @@ -256,9 +256,6 @@ convertWithOpts opts args = do LaTeXMathML Nothing -> do s <- readDataFileUTF8 datadir "LaTeXMathML.js" return $ ("mathml-script", s) : variables - MathML Nothing -> do - s <- readDataFileUTF8 datadir "MathMLinHTML.js" - return $ ("mathml-script", s) : variables _ -> return variables variables'' <- if format == "dzslides" @@ -1110,10 +1107,9 @@ options = "" -- "Use LaTeXMathML script in html output" , Option "" ["mathml"] - (OptArg - (\arg opt -> - return opt { optHTMLMathMethod = MathML arg }) - "URL") + (NoArg + (\opt -> + return opt { optHTMLMathMethod = MathML })) "" -- "Use mathml for HTML math" , Option "" ["mimetex"] -- cgit v1.2.3