diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-06-01 12:41:24 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-06-01 12:41:24 +0200 |
commit | d7b1dd93a943405afbbfda6ff089a1436ebc5038 (patch) | |
tree | a53f2c1f40e4a9aee24ba0a7d063af1cd93b50d0 /debian/patches | |
parent | baf30611d49e450350fabc9e55d4e7c3cc2b9502 (diff) |
Unfuzz patches.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/1001_online_latexmathml_default.patch | 26 | ||||
-rw-r--r-- | debian/patches/2001_avoid_missing_files.patch | 6 |
2 files changed, 16 insertions, 16 deletions
diff --git a/debian/patches/1001_online_latexmathml_default.patch b/debian/patches/1001_online_latexmathml_default.patch index 9294785b5..12c16cd51 100644 --- a/debian/patches/1001_online_latexmathml_default.patch +++ b/debian/patches/1001_online_latexmathml_default.patch @@ -1,10 +1,10 @@ Description: use online LaTeXMathML.js by default Author: Jonas Smedegaard <dr@jones.dk> -Last-Update: 2013-12-29 +Last-Update: 2016-06-01 --- a/pandoc.hs +++ b/pandoc.hs -@@ -790,8 +790,11 @@ +@@ -797,8 +797,11 @@ , Option "m" ["latexmathml", "asciimathml"] (OptArg @@ -18,7 +18,7 @@ Last-Update: 2013-12-29 "URL") "" -- "Use LaTeXMathML script in html output" -@@ -1225,9 +1228,6 @@ +@@ -1235,9 +1238,6 @@ else throwIO e) variables' <- case mathMethod of @@ -30,7 +30,7 @@ Last-Update: 2013-12-29 return $ ("mathml-script", s) : variables --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs -@@ -290,7 +290,7 @@ +@@ -291,7 +291,7 @@ data EPUBVersion = EPUB2 | EPUB3 deriving (Eq, Show, Read, Data, Typeable, Generic) data HTMLMathMethod = PlainMath @@ -41,18 +41,18 @@ 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 -@@ -142,7 +142,7 @@ +@@ -141,7 +141,7 @@ + let notes = reverse (stNotes st) 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 + let math = case writerHTMLMathMethod opts of +- LaTeXMathML (Just url) -> ++ LaTeXMathML url -> + H.script ! A.src (toValue url) + ! A.type_ "text/javascript" + $ mempty --- a/man/pandoc.1 +++ b/man/pandoc.1 -@@ -1016,14 +1016,10 @@ +@@ -1026,14 +1026,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 f3ad008cb..babfb4398 100644 --- a/debian/patches/2001_avoid_missing_files.patch +++ b/debian/patches/2001_avoid_missing_files.patch @@ -1,10 +1,10 @@ Description: avoid missing files during build Author: Jonas Smedegaard <dr@jones.dk> -Last-Update: 2014-12-21 +Last-Update: 2016-06-01 --- a/pandoc.cabal +++ b/pandoc.cabal -@@ -93,7 +93,6 @@ +@@ -94,7 +94,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 -@@ -139,7 +138,6 @@ +@@ -140,7 +139,6 @@ tests/mediawiki-reader.wiki tests/rst-reader.rst tests/s5-basic.html |