summaryrefslogtreecommitdiff
path: root/debian/patches/1001_online_latexmathml_default.patch
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-01-18 23:41:22 +0530
committerJonas Smedegaard <dr@jones.dk>2016-01-18 23:41:22 +0530
commitc2728076485e13e15569c913df999646ec545e07 (patch)
tree6b1635fb03db5493184c5993e88d1155dbae4888 /debian/patches/1001_online_latexmathml_default.patch
parent7dacf8bbc4451199308cc20d5cff0d3799f2ec37 (diff)
Unfuzz patches.
Diffstat (limited to 'debian/patches/1001_online_latexmathml_default.patch')
-rw-r--r--debian/patches/1001_online_latexmathml_default.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/1001_online_latexmathml_default.patch b/debian/patches/1001_online_latexmathml_default.patch
index 034d97a90..9294785b5 100644
--- a/debian/patches/1001_online_latexmathml_default.patch
+++ b/debian/patches/1001_online_latexmathml_default.patch
@@ -4,7 +4,7 @@ Last-Update: 2013-12-29
--- a/pandoc.hs
+++ b/pandoc.hs
-@@ -792,8 +792,11 @@
+@@ -790,8 +790,11 @@
, Option "m" ["latexmathml", "asciimathml"]
(OptArg
@@ -18,7 +18,7 @@ Last-Update: 2013-12-29
"URL")
"" -- "Use LaTeXMathML script in html output"
-@@ -1227,9 +1230,6 @@
+@@ -1225,9 +1228,6 @@
else throwIO e)
variables' <- case mathMethod of
@@ -30,8 +30,8 @@ Last-Update: 2013-12-29
return $ ("mathml-script", s) : variables
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
-@@ -281,7 +281,7 @@
- data EPUBVersion = EPUB2 | EPUB3 deriving (Eq, Show, Read, Data, Typeable)
+@@ -290,7 +290,7 @@
+ data EPUBVersion = EPUB2 | EPUB3 deriving (Eq, Show, Read, Data, Typeable, Generic)
data HTMLMathMethod = PlainMath
- | LaTeXMathML (Maybe String) -- url of LaTeXMathML.js
@@ -41,7 +41,7 @@ Last-Update: 2013-12-29
| WebTeX String -- url of TeX->image script.
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
-@@ -140,7 +140,7 @@
+@@ -142,7 +142,7 @@
let thebody = blocks' >> footnoteSection opts notes
let math = if stMath st
then case writerHTMLMathMethod opts of
@@ -52,7 +52,7 @@ Last-Update: 2013-12-29
$ mempty
--- a/man/pandoc.1
+++ b/man/pandoc.1
-@@ -999,14 +999,10 @@
+@@ -1016,14 +1016,10 @@
.SS Math rendering in HTML
.TP
.B \f[C]\-m\f[] [\f[I]URL\f[]], \f[C]\-\-latexmathml\f[][\f[C]=\f[]\f[I]URL\f[]]