diff options
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 0c73918d3..2e116191e 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -1234,7 +1234,9 @@ inlineToLaTeX (Quoted qt lst) = do csquotes <- liftM stCsquotes get opts <- gets stOptions if csquotes - then return $ "\\enquote" <> braces contents + then return $ case qt of + DoubleQuote -> "\\enquote" <> braces contents + SingleQuote -> "\\enquote*" <> braces contents else do let s1 = if not (null lst) && isQuoted (head lst) then "\\," |