@@ -518,7 +518,7 @@ inlineCommands = M.fromList $
518518 , ("textmd", extractSpaces (spanWith ("",["medium"],[])) <$> tok)
519519 , ("textrm", extractSpaces (spanWith ("",["roman"],[])) <$> tok)
520520 , ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
521− , ("texttt", (code . stringify . toList) <$> tok)
521+ , ("texttt", ttfamily)
522522 , ("sout", extractSpaces strikeout <$> tok)
523523 , ("textsuperscript", extractSpaces superscript <$> tok)
524524 , ("textsubscript", extractSpaces subscript <$> tok)
@@ -671,6 +671,15 @@ inlineCommands = M.fromList $
671671 , ("hypertarget", braced >> tok)
672672 -- siuntix
673673 , ("SI", dosiunitx)
674+ -- hyphenat
675+ , ("bshyp", lit "\\\173")
676+ , ("fshyp", lit "/\173")
677+ , ("dothyp", lit ".\173")
678+ , ("colonhyp", lit ":\173")
679+ , ("hyp", lit "-")
680+ , ("nohyphens", tok)
681+ , ("textnhtt", ttfamily)
682+ , ("nhttfamily", ttfamily)
674683 ] ++ map ignoreInlines
675684 -- these commands will be ignored unless --parse-raw is specified,
676685 -- in which case they will appear as raw latex blocks:
@@ -682,6 +691,9 @@ inlineCommands = M.fromList $
682691 , "pagebreak"
683692 ]
684693
694+ttfamily :: PandocMonad m => LP m Inlines
695+ttfamily = (code . stringify . toList) <$> tok
696+
685697mkImage :: PandocMonad m => [(String, String)] -> String -> LP m Inlines
686698mkImage options src = do
687699 let replaceTextwidth (k,v) = case numUnit v of