@@ -62,7 +62,7 @@ import Text.Pandoc.Readers.LaTeX.Math (dollarsMath, inlineEnvironments,
6262import Text.Pandoc.Readers.LaTeX.Table (tableEnvironments)
6363import Text.Pandoc.Readers.LaTeX.Lang (polyglossiaLangToBCP47,
6464 babelLangToBCP47, setDefaultLanguage)
65−import Text.Pandoc.Readers.LaTeX.SIunitx
65+import Text.Pandoc.Readers.LaTeX.SIunitx (siunitxCommands)
6666import Text.Pandoc.Shared
6767import qualified Text.Pandoc.Translations as Translations
6868import Text.Pandoc.Walk
@@ -426,6 +426,7 @@ inlineCommands =
426426 M.union inlineLanguageCommands $
427427 M.union (accentCommands tok) $
428428 M.union (citationCommands inline) $
429+ M.union (siunitxCommands tok) $
429430 M.fromList
430431 [ ("emph", extractSpaces emph <$> tok)
431432 , ("textit", extractSpaces emph <$> tok)
@@ -594,14 +595,6 @@ inlineCommands =
594595 , ("Acfp", doAcronymPlural "full")
595596 , ("Acsp", doAcronymPlural "abbrv")
596597 , ("Aclp", doAcronymPlural "long")
597− -- siuntix
598− , ("si", skipopts *> dosi tok)
599− , ("SI", doSI tok)
600− , ("SIrange", doSIrange True tok)
601− , ("numrange", doSIrange False tok)
602− , ("numlist", doSInumlist)
603− , ("num", doSInum)
604− , ("ang", doSIang)
605598 -- hyphenat
606599 , ("bshyp", lit "\\\173")
607600 , ("fshyp", lit "/\173")