@@ -680,6 +680,8 @@ inlineCommands = M.fromList $
680 , ("nohyphens", tok)
680 , ("nohyphens", tok)
681 , ("textnhtt", ttfamily)
681 , ("textnhtt", ttfamily)
682 , ("nhttfamily", ttfamily)
682 , ("nhttfamily", ttfamily)
684+ , ("textcolor", textcolor)
683 ] ++ map ignoreInlines
685 ] ++ map ignoreInlines
684 -- these commands will be ignored unless --parse-raw is specified,
686 -- these commands will be ignored unless --parse-raw is specified,
685 -- in which case they will appear as raw latex blocks:
687 -- in which case they will appear as raw latex blocks:
@@ -756,6 +758,12 @@ dosiunitx = do
756 emptyOr160 unit,
758 emptyOr160 unit,
761+textcolor :: PandocMonad m => LP m Inlines
765+ spanWith ("",[],[("style","color: " ++ color)]) <$> tok
759lit :: String -> LP m Inlines
767lit :: String -> LP m Inlines
760lit = pure . str
768lit = pure . str