aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc/Writers/LaTeX.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-07-15 23:25:49 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-07-15 23:25:49 +0000
commit2637e3595afef05cbd67a69b8d79682ebc7a716a (patch)
tree70df97055a84cdb317d9e8fd71cdfe4d51ddf3da /Text/Pandoc/Writers/LaTeX.hs
parent7c35c0bc253c3ca15c29adf3309f08a42b99127c (diff)
downloadpandoc-2637e3595afef05cbd67a69b8d79682ebc7a716a.tar.gz
Add preliminary support for SmallCaps inline element. (Andrea Rossato)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1327 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc/Writers/LaTeX.hs')
-rw-r--r--Text/Pandoc/Writers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Text/Pandoc/Writers/LaTeX.hs b/Text/Pandoc/Writers/LaTeX.hs
index be145922d..9b235c53a 100644
--- a/Text/Pandoc/Writers/LaTeX.hs
+++ b/Text/Pandoc/Writers/LaTeX.hs
@@ -290,6 +290,7 @@ inlineToLaTeX (Quoted DoubleQuote lst) = do
then text "\\,"
else empty
return $ text "``" <> s1 <> contents <> s2 <> text "''"
+inlineToLaTeX (SmallCaps lst) = inlineListToLaTeX lst
inlineToLaTeX Apostrophe = return $ char '\''
inlineToLaTeX EmDash = return $ text "---"
inlineToLaTeX EnDash = return $ text "--"