git.iko.soy/typeable/pandoc
on master help sign in
Treat `\textsl` as emphasized text in LaTeX reader.

Closes #850.

commitaf6f216c96a6ca65de0cb6ee85909ea3c70f6eda authorJohn MacFarlane <jgm@berkeley.edu> dateThu 9 May 2013, 15:29 (13 years ago) parent80ab208
1 file changed+1
src/Text/Pandoc/Readers/LaTeX.hs+1
src/Text/Pandoc/Readers/LaTeX.hs+1
@@ -363,6 +363,7 @@ inlineCommands :: M.Map String (LP Inlines)
363363inlineCommands = M.fromList $
364364 [ ("emph", emph <$> tok)
365365 , ("textit", emph <$> tok)
366+ , ("textsl", emph <$> tok)
366367 , ("textsc", smallcaps <$> tok)
367368 , ("sout", strikeout <$> tok)
368369 , ("textsuperscript", superscript <$> tok)