From 16c44cd2a9a98c15e746d35e6ce6f66bd820fb24 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 2 Sep 2020 16:01:32 -0700 Subject: Skip opts for `\si`. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3