From af6f216c96a6ca65de0cb6ee85909ea3c70f6eda Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 9 May 2013 15:29:27 -0700 Subject: Treat `\textsl` as emphasized text in LaTeX reader. Closes #850. --- src/Text/Pandoc/Readers/LaTeX.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 7e84f5538..37dd02e63 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -363,6 +363,7 @@ inlineCommands :: M.Map String (LP Inlines) inlineCommands = M.fromList $ [ ("emph", emph <$> tok) , ("textit", emph <$> tok) + , ("textsl", emph <$> tok) , ("textsc", smallcaps <$> tok) , ("sout", strikeout <$> tok) , ("textsuperscript", superscript <$> tok) -- cgit v1.2.3