From c2728076485e13e15569c913df999646ec545e07 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 18 Jan 2016 23:41:22 +0530 Subject: Unfuzz patches. --- debian/patches/1001_online_latexmathml_default.patch | 12 ++++++------ debian/patches/2001_avoid_missing_files.patch | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'debian/patches') 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[]] diff --git a/debian/patches/2001_avoid_missing_files.patch b/debian/patches/2001_avoid_missing_files.patch index d25e38f08..f3ad008cb 100644 --- a/debian/patches/2001_avoid_missing_files.patch +++ b/debian/patches/2001_avoid_missing_files.patch @@ -4,7 +4,7 @@ Last-Update: 2014-12-21 --- a/pandoc.cabal +++ b/pandoc.cabal -@@ -99,7 +99,6 @@ +@@ -93,7 +93,6 @@ -- stylesheet for EPUB writer data/epub.css -- data for LaTeXMathML writer @@ -12,7 +12,7 @@ Last-Update: 2014-12-21 data/MathMLinHTML.js -- data for dzslides writer data/dzslides/template.html -@@ -143,7 +142,6 @@ +@@ -139,7 +138,6 @@ tests/mediawiki-reader.wiki tests/rst-reader.rst tests/s5-basic.html -- cgit v1.2.3