diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-12-30 14:10:31 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-12-30 14:10:31 +0100 |
commit | a469c600c3c7617677ba3e810fe484c1e9125cc7 (patch) | |
tree | f8544d6b27c3e5bdb93c463cdaa441e285ff0eed /debian/patches/1001_online_latexmathml_default.patch | |
parent | 8ab9360b1d2ef85a09908d32c91ff81f80d8a2f2 (diff) |
Fix patch 1001.
Diffstat (limited to 'debian/patches/1001_online_latexmathml_default.patch')
-rw-r--r-- | debian/patches/1001_online_latexmathml_default.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/1001_online_latexmathml_default.patch b/debian/patches/1001_online_latexmathml_default.patch index 2cd4c8f4c..fc29691fa 100644 --- a/debian/patches/1001_online_latexmathml_default.patch +++ b/debian/patches/1001_online_latexmathml_default.patch @@ -18,6 +18,17 @@ Last-Update: 2013-12-29 "URL") "" -- "Use LaTeXMathML script in html output" +@@ -1033,10 +1036,6 @@ + else throwIO e) + + variables' <- case mathMethod of +- LaTeXMathML Nothing -> do +- s <- readDataFileUTF8 datadir +- ("LaTeXMathML.js") +- return $ ("mathml-script", s) : variables + MathML Nothing -> do + s <- readDataFileUTF8 datadir + ("MathMLinHTML.js") --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -234,7 +234,7 @@ @@ -50,3 +61,14 @@ Last-Update: 2013-12-29 .RS .RE .TP +--- a/src/Text/Pandoc/Writers/HTML.hs ++++ b/src/Text/Pandoc/Writers/HTML.hs +@@ -133,7 +133,7 @@ + let thebody = blocks' >> footnoteSection opts notes + let math = if stMath st + then case writerHTMLMathMethod opts of +- LaTeXMathML (Just url) -> ++ LaTeXMathML url -> + H.script ! A.src (toValue url) + ! A.type_ "text/javascript" + $ mempty |