diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2015-05-31 15:37:27 +0300 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2015-05-31 15:37:27 +0300 |
commit | e1f3121c4a98570fd053b91cdc294c07aecd1052 (patch) | |
tree | 5de6873eef4c125a424b6165021d478899626362 /p/haskell-blogliterately | |
parent | 70eb95deeb819091f0b0849b1424e6d887a59a12 (diff) | |
download | DHG_packages-e1f3121c4a98570fd053b91cdc294c07aecd1052.tar.gz |
haskell-blogliterately: Patch around patch added to pandoc
(1001_online_latexmathml_default.patch), which changes the types here.
Diffstat (limited to 'p/haskell-blogliterately')
-rw-r--r-- | p/haskell-blogliterately/debian/patches/LaTeXMathML-type-change | 20 | ||||
-rw-r--r-- | p/haskell-blogliterately/debian/patches/series | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/p/haskell-blogliterately/debian/patches/LaTeXMathML-type-change b/p/haskell-blogliterately/debian/patches/LaTeXMathML-type-change new file mode 100644 index 000000000..fe66b69a0 --- /dev/null +++ b/p/haskell-blogliterately/debian/patches/LaTeXMathML-type-change @@ -0,0 +1,20 @@ +Index: BlogLiterately-0.7.1.11/src/Text/BlogLiterately/Transform.hs +=================================================================== +--- BlogLiterately-0.7.1.11.orig/src/Text/BlogLiterately/Transform.hs 2015-05-31 14:36:10.327456141 +0200 ++++ BlogLiterately-0.7.1.11/src/Text/BlogLiterately/Transform.hs 2015-05-31 14:37:02.896410284 +0200 +@@ -368,7 +368,7 @@ + } + mathOption opt + | opt `isPrefixOf` "latexmathml" || +- opt `isPrefixOf` "asciimathml" = LaTeXMathML (mathUrlMaybe opt) ++ opt `isPrefixOf` "asciimathml" = LaTeXMathML (mathUrl latexmathmlURL opt) + | opt `isPrefixOf` "mathml" = MathML (mathUrlMaybe opt) + | opt `isPrefixOf` "mimetex" = + WebTeX (mathUrl "/cgi-bin/mimetex.cgi?" opt) +@@ -381,6 +381,7 @@ + webTeXURL = "http://chart.apis.google.com/chart?cht=tx&chl=" + mathJaxURL = "http://cdn.mathjax.org/mathjax/latest/MathJax.js" + ++ "?config=TeX-AMS-MML_HTMLorMML" ++ latexmathmlURL = "http://math.etsu.edu/LaTeXMathML/LaTeXMathML.js" + + urlPart = drop 1 . dropWhile (/='=') diff --git a/p/haskell-blogliterately/debian/patches/series b/p/haskell-blogliterately/debian/patches/series new file mode 100644 index 000000000..be1224f8c --- /dev/null +++ b/p/haskell-blogliterately/debian/patches/series @@ -0,0 +1 @@ +LaTeXMathML-type-change |