diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-07-19 17:18:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-07-19 17:18:35 -0700 |
commit | a7b64532f54725ebc20f066295307389b8b4cbe0 (patch) | |
tree | 83ace6cd007e1e891b3010f6b836350c0d90eadc /src/Text/Pandoc/Writers/RTF.hs | |
parent | 999b952a212af0e33183068ff4a55edc5aafde62 (diff) | |
parent | e7d8039969fd177da91b871f3bc4b73950cc7bc8 (diff) | |
download | pandoc-a7b64532f54725ebc20f066295307389b8b4cbe0.tar.gz |
Merge pull request #1438 from mpickering/master
Renamed readTeXMath' to avoid name conflict with texmath 0.6.7
Diffstat (limited to 'src/Text/Pandoc/Writers/RTF.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/RTF.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |