From e7d8039969fd177da91b871f3bc4b73950cc7bc8 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Sat, 19 Jul 2014 18:10:51 +0100 Subject: Renamed readTeXMath' to avoid name conflict with texmath 0.6.7 Also removed deprecated readTeXMath. --- src/Text/Pandoc/Writers/Docbook.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Text/Pandoc/Writers/Docbook.hs') diff --git a/src/Text/Pandoc/Writers/Docbook.hs b/src/Text/Pandoc/Writers/Docbook.hs index ba6a92a08..25c1e156e 100644 --- a/src/Text/Pandoc/Writers/Docbook.hs +++ b/src/Text/Pandoc/Writers/Docbook.hs @@ -299,8 +299,8 @@ inlineToDocbook opts (Math t str) $ fixNS $ removeAttr r Left _ -> inlinesToDocbook opts - $ readTeXMath' t str - | otherwise = inlinesToDocbook opts $ readTeXMath' t str + $ texMathToInlines t str + | otherwise = inlinesToDocbook opts $ texMathToInlines t str where (dt, tagtype) = case t of InlineMath -> (DisplayInline,"inlineequation") DisplayMath -> (DisplayBlock,"informalequation") -- cgit v1.2.3