From c3d2572c5f4d4bdb6604d40846e7453deb6b6778 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 10 May 2018 12:10:35 -0700
Subject: [PATCH] Use texmath-0.11.

---
 pandoc.cabal              | 2 +-
 stack.lts9.yaml           | 2 +-
 stack.yaml                | 2 +-
 test/epub/features.native | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index 5010215f2..9100f113f 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -358,7 +358,7 @@ library
                  safe >= 0.3 && < 0.4,
                  zip-archive >= 0.2.3.4 && < 0.4,
                  HTTP >= 4000.0.5 && < 4000.4,
-                 texmath >= 0.10 && < 0.11,
+                 texmath >= 0.10 && < 0.12,
                  xml >= 1.3.12 && < 1.4,
                  split >= 0.2 && < 0.3,
                  random >= 1 && < 1.2,
diff --git a/stack.lts9.yaml b/stack.lts9.yaml
index 9507d961d..c4cc3caf7 100644
--- a/stack.lts9.yaml
+++ b/stack.lts9.yaml
@@ -27,5 +27,5 @@ extra-deps:
 - tagsoup-0.14.6
 - pandoc-types-1.17.4.2
 - haddock-library-1.5.0.1
-- texmath-0.10.1.2
+- texmath-0.11
 resolver: lts-9.14
diff --git a/stack.yaml b/stack.yaml
index 9c59e5e44..5f96a78d9 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -21,7 +21,7 @@ extra-deps:
 - pandoc-types-1.17.4.2
 - cmark-gfm-0.1.3
 - hslua-module-text-0.1.2.1
-- texmath-0.10.1.2
+- texmath-0.11
 ghc-options:
    "$locals": -fhide-source-paths -XNoImplicitPrelude
 resolver: lts-10.10
diff --git a/test/epub/features.native b/test/epub/features.native
index 6a400721f..3b9535e26 100644
--- a/test/epub/features.native
+++ b/test/epub/features.native
@@ -70,7 +70,7 @@
  ,Div ("content-mathml-001.xhtml#mathml-026",["section","ctest"],[])
   [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-026"],Str "BiDi,",Space,Str "RTL",Space,Str "and",Space,Str "Arabic",Space,Str "alphabets"]
   ,Para [Str "Tests",Space,Str "whether",Space,Str "right-to-left",Space,Str "and",Space,Str "Arabic",Space,Str "alphabets",Space,Str "are",Space,Str "supported."]
-  ,Plain [Math DisplayMath "{d\\left( s \\right)} = \\left\\{ \\begin{matrix}\n{\\sum\\limits_{{\\lbrack?\\rbrack} = 1}^{S}s^{\\lbrack?\\rbrack}} & {\\text{\1573\1584\1575\1603\1575\1606}s > 0} \\\\\n{\\int_{1}^{S}{s^{\\lbrack?\\rbrack}s}} & {\\text{\1573\1584\1575\1603\1575\1606}s \\in m} \\\\\n{T\\pi} & {\\text{\1594\1610\1585\1584\1604\1603}\\left( \\text{\1605\1593}\\pi \\simeq 3,141 \\right)} \\\\\n\\end{matrix} \\right."]
+  ,Plain [Math DisplayMath "{\1583\\left( \1587 \\right)} = \\left\\{ \\begin{matrix}\n{\\sum\\limits_{\1646 = 1}^{\1589}\1587^{\1646}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 > 0} \\\\\n{\\int_{1}^{\1589}{\1587^{\1646}\1569\1587}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 \\in \1605} \\\\\n{{\1591\1575}\\pi} & {\\text{\1594\1610\1585\1584\1604\1603}\\left( \\text{\1605\1593}\\pi \\simeq 3,141 \\right)} \\\\\n\\end{matrix} \\right."]
   ,Para [Str "The",Space,Str "test",Space,Str "passes",Space,Str "if",Space,Str "the",Space,Str "rendering",Space,Str "looks",Space,Str "like",Space,Str "the",Space,Str "following",Space,Str "image:"]]
  ,Div ("content-mathml-001.xhtml#mathml-027",["section","ctest"],[])
   [Header 2 ("",[],[]) [Span ("",["nature"],[]) [Str "[REQUIRED]"],SoftBreak,Span ("",["test-id"],[]) [Str "mathml-027"],Str "Elementary",Space,Str "math:",Space,Str "long",Space,Str "division",Space,Str "notation"]