[Pkg-haskell-commits] darcs: haskell-blogliterately: Patch around patch added to pandoc
Joachim Breitner
mail at joachim-breitner.de
Sun May 31 13:01:50 UTC 2015
Sun May 31 12:37:27 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Patch around patch added to pandoc
(1001_online_latexmathml_default.patch), which changes the types here.
A ./patches/
A ./patches/LaTeXMathML-type-change
A ./patches/series
Sun May 31 12:37:27 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Patch around patch added to pandoc
(1001_online_latexmathml_default.patch), which changes the types here.
diff -rN -u old-haskell-blogliterately/patches/LaTeXMathML-type-change new-haskell-blogliterately/patches/LaTeXMathML-type-change
--- old-haskell-blogliterately/patches/LaTeXMathML-type-change 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-blogliterately/patches/LaTeXMathML-type-change 2015-05-31 13:01:50.395907993 +0000
@@ -0,0 +1,21 @@
+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 -rN -u old-haskell-blogliterately/patches/series new-haskell-blogliterately/patches/series
--- old-haskell-blogliterately/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-blogliterately/patches/series 2015-05-31 13:01:50.395907993 +0000
@@ -0,0 +1 @@
+LaTeXMathML-type-change
More information about the Pkg-haskell-commits
mailing list