aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-05-09 15:29:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-05-09 15:29:27 -0700
commitaf6f216c96a6ca65de0cb6ee85909ea3c70f6eda (patch)
tree3daefdec5f6aa87cdbc2ad17f6e1be76c82044eb /src/Text/Pandoc
parent80ab208b3db7a94f8f238b12df06ee47bccf07c6 (diff)
downloadpandoc-af6f216c96a6ca65de0cb6ee85909ea3c70f6eda.tar.gz
Treat `\textsl` as emphasized text in LaTeX reader.
Closes #850.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
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)