diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-01-30 11:31:50 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-30 11:31:50 +0100 |
commit | 7018003811f2b606808ddecb5c1ce12e27ad7d51 (patch) | |
tree | 9f70c8e454ee598f49a9f85f6c2e0a2ba4e629ac /pandoc.hs | |
parent | 42257b9be935b92c9118d281543c26a30f04d44b (diff) | |
download | pandoc-7018003811f2b606808ddecb5c1ce12e27ad7d51.tar.gz |
`--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.
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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"] |