diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-11-17 09:07:25 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-11-17 09:07:25 -0800 |
commit | e690c87dc4c3ff79689d9a887a9b5e3bffbb5d37 (patch) | |
tree | 0b13d8c541f61d036481637377cc55d5dd7c32f7 /src | |
parent | 0fd2176e29bd1118d314c6179455fb78bed35aea (diff) | |
download | pandoc-e690c87dc4c3ff79689d9a887a9b5e3bffbb5d37.tar.gz |
LaTeX reader: Support `\textnormal` as span with class "nodecor".
This is needed for pandoc-citeproc.
Diffstat (limited to 'src')
-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 681dcb077..689b12c8e 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -373,6 +373,7 @@ inlineCommands = M.fromList $ , ("backslash", lit "\\") , ("slash", lit "/") , ("textbf", strong <$> tok) + , ("textnormal", spanWith ("",["nodecor"],[]) <$> tok) , ("ldots", lit "…") , ("dots", lit "…") , ("mdots", lit "…") |