aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-09-02 16:01:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-09-02 16:01:32 -0700
commit16c44cd2a9a98c15e746d35e6ce6f66bd820fb24 (patch)
treea995088c642f103b5e10f9ddd004b66dffcfdd14 /src
parente3e66ba47f8fa5f06008db2aa998dcb8c80a6e3f (diff)
downloadpandoc-16c44cd2a9a98c15e746d35e6ce6f66bd820fb24.tar.gz
Skip opts for `\si`.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
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)