git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Handle \slash command.

Closes #605.

commit784e6e65c497c0b08c356c2c496f111a8515c85c authorJohn MacFarlane <jgm@berkeley.edu> dateTue 4 Sep 2012, 23:21 (14 years ago) parentb21363f
1 file changed+1
src/Text/Pandoc/Readers/LaTeX.hs+1
src/Text/Pandoc/Readers/LaTeX.hs+1
@@ -352,6 +352,7 @@ inlineCommands = M.fromList $
352352 , ("textsubscript", subscript <$> tok)
353353 , ("textbackslash", lit "\\")
354354 , ("backslash", lit "\\")
355+ , ("slash", lit "/")
355356 , ("textbf", strong <$> tok)
356357 , ("ldots", lit "…")
357358 , ("dots", lit "…")