diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-24 22:13:27 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-26 17:23:56 -0800 |
commit | 0cc7625d98e018d7ff01de14ee1fdd44639d27f7 (patch) | |
tree | e78ddb6522547e23a5159e85df69573a97e3cb59 /src/Text/Pandoc/Writers/LaTeX.hs | |
parent | d3667f9aac2e8436f9446f4200fd9c7c13da50dd (diff) | |
download | pandoc-0cc7625d98e018d7ff01de14ee1fdd44639d27f7.tar.gz |
Adjusted writers to use "tex".
Diffstat (limited to 'src/Text/Pandoc/Writers/LaTeX.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 131aaddfc..101ae628a 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -362,6 +362,7 @@ inlineToLaTeX (Str str) = return $ text $ stringToLaTeX str inlineToLaTeX (Math InlineMath str) = return $ char '$' <> text str <> char '$' inlineToLaTeX (Math DisplayMath str) = return $ "\\[" <> text str <> "\\]" inlineToLaTeX (RawInline "latex" str) = return $ text str +inlineToLaTeX (RawInline "tex" str) = return $ text str inlineToLaTeX (RawInline _ _) = return empty inlineToLaTeX (LineBreak) = return "\\\\" inlineToLaTeX Space = return space |