diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-09-02 16:01:32 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-09-02 16:01:32 -0700 |
commit | 16c44cd2a9a98c15e746d35e6ce6f66bd820fb24 (patch) | |
tree | a995088c642f103b5e10f9ddd004b66dffcfdd14 /src/Text/Pandoc | |
parent | e3e66ba47f8fa5f06008db2aa998dcb8c80a6e3f (diff) | |
download | pandoc-16c44cd2a9a98c15e746d35e6ce6f66bd820fb24.tar.gz |
Skip opts for `\si`.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 47c00c934..2d456c7d9 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -877,7 +877,7 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList , ("acfp", doAcronymPlural "full") , ("acsp", doAcronymPlural "abbrv") -- siuntix - , ("si", dosi tok) + , ("si", skipopts *> dosi tok) , ("SI", doSI tok) , ("SIrange", doSIrange tok) , ("num", doSInum) |