diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-05-09 15:29:27 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-05-09 15:29:27 -0700 |
commit | af6f216c96a6ca65de0cb6ee85909ea3c70f6eda (patch) | |
tree | 3daefdec5f6aa87cdbc2ad17f6e1be76c82044eb /src/Text/Pandoc/Readers/LaTeX.hs | |
parent | 80ab208b3db7a94f8f238b12df06ee47bccf07c6 (diff) | |
download | pandoc-af6f216c96a6ca65de0cb6ee85909ea3c70f6eda.tar.gz |
Treat `\textsl` as emphasized text in LaTeX reader.
Closes #850.
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
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) |