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/RTF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers/RTF.hs') diff --git a/src/Text/Pandoc/Writers/RTF.hs b/src/Text/Pandoc/Writers/RTF.hs index 5c8c49f3e..fe241b8d7 100644 --- a/src/Text/Pandoc/Writers/RTF.hs +++ b/src/Text/Pandoc/Writers/RTF.hs @@ -332,7 +332,7 @@ inlineToRTF (Quoted DoubleQuote lst) = "\\u8220\"" ++ (inlineListToRTF lst) ++ "\\u8221\"" inlineToRTF (Code _ str) = "{\\f1 " ++ (codeStringToRTF str) ++ "}" inlineToRTF (Str str) = stringToRTF str -inlineToRTF (Math t str) = inlineListToRTF $ readTeXMath' t str +inlineToRTF (Math t str) = inlineListToRTF $ texMathToInlines t str inlineToRTF (Cite _ lst) = inlineListToRTF lst inlineToRTF (RawInline f str) | f == Format "rtf" = str -- cgit v1.2.3