aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-30 11:31:50 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-30 11:31:50 +0100
commit7018003811f2b606808ddecb5c1ce12e27ad7d51 (patch)
tree9f70c8e454ee598f49a9f85f6c2e0a2ba4e629ac /pandoc.hs
parent42257b9be935b92c9118d281543c26a30f04d44b (diff)
downloadpandoc-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.hs10
1 files changed, 3 insertions, 7 deletions
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"]