[DHG_packages] 01/01: Resurrect patch LaTeXMathML-type-change

Joachim Breitner nomeata at moszumanska.debian.org
Wed Jun 1 13:29:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch LTS-6
in repository DHG_packages.

commit f299ec4115883fe349a1bdf2e6d6ab761c3b8503
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Jun 1 15:02:07 2016 +0200

    Resurrect patch LaTeXMathML-type-change
---
 .../debian/patches/LaTeXMathML-type-change          | 21 +++++++++++++++++++++
 p/haskell-blogliterately/debian/patches/series      |  1 +
 2 files changed, 22 insertions(+)

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 0000000..75a2b07
--- /dev/null
+++ b/p/haskell-blogliterately/debian/patches/LaTeXMathML-type-change
@@ -0,0 +1,21 @@
+Index: haskell-blogliterately/src/Text/BlogLiterately/Transform.hs
+===================================================================
+--- haskell-blogliterately.orig/src/Text/BlogLiterately/Transform.hs	2016-06-01 15:02:00.895700793 +0200
++++ haskell-blogliterately/src/Text/BlogLiterately/Transform.hs	2016-06-01 15:02:00.887700587 +0200
+@@ -520,7 +520,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)
+@@ -533,6 +533,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 0000000..be1224f
--- /dev/null
+++ b/p/haskell-blogliterately/debian/patches/series
@@ -0,0 +1 @@
+LaTeXMathML-type-change

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list