aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc/Writers/RTF.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-11-29 08:09:31 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-11-29 08:09:31 +0000
commit03f4a665ffbf8f8aeba6b319649d6dcd0841bc1c (patch)
treebb8ce30e722a32543ca4113b6ccaa52d523747e7 /Text/Pandoc/Writers/RTF.hs
parent132186e6b0cf06ee20334d885c55e9e357e0c3b2 (diff)
downloadpandoc-03f4a665ffbf8f8aeba6b319649d6dcd0841bc1c.tar.gz
Changed all writers to handle new Math block element.
This allows TeX element to be handled differently (and in many output formats, simply ignored). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1118 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc/Writers/RTF.hs')
-rw-r--r--Text/Pandoc/Writers/RTF.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Text/Pandoc/Writers/RTF.hs b/Text/Pandoc/Writers/RTF.hs
index 3bd5c63b2..9c5e6cbd3 100644
--- a/Text/Pandoc/Writers/RTF.hs
+++ b/Text/Pandoc/Writers/RTF.hs
@@ -272,7 +272,8 @@ inlineToRTF EmDash = "\\u8212-"
inlineToRTF EnDash = "\\u8211-"
inlineToRTF (Code str) = "{\\f1 " ++ (codeStringToRTF str) ++ "} "
inlineToRTF (Str str) = stringToRTF str
-inlineToRTF (TeX str) = latexToRTF str
+inlineToRTF (Math str) = latexToRTF str
+inlineToRTF (TeX str) = ""
inlineToRTF (HtmlInline str) = ""
inlineToRTF (LineBreak) = "\\line "
inlineToRTF Space = " "