@@ -518,7 +518,7 @@ inlineCommands = M.fromList $
518 , ("textmd", extractSpaces (spanWith ("",["medium"],[])) <$> tok)
518 , ("textmd", extractSpaces (spanWith ("",["medium"],[])) <$> tok)
519 , ("textrm", extractSpaces (spanWith ("",["roman"],[])) <$> tok)
519 , ("textrm", extractSpaces (spanWith ("",["roman"],[])) <$> tok)
520 , ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
520 , ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
521− , ("texttt", (code . stringify . toList) <$> tok)
521+ , ("texttt", ttfamily)
522 , ("sout", extractSpaces strikeout <$> tok)
522 , ("sout", extractSpaces strikeout <$> tok)
523 , ("textsuperscript", extractSpaces superscript <$> tok)
523 , ("textsuperscript", extractSpaces superscript <$> tok)
524 , ("textsubscript", extractSpaces subscript <$> tok)
524 , ("textsubscript", extractSpaces subscript <$> tok)
@@ -671,6 +671,15 @@ inlineCommands = M.fromList $
671 , ("hypertarget", braced >> tok)
671 , ("hypertarget", braced >> tok)
672 -- siuntix
672 -- siuntix
673 , ("SI", dosiunitx)
673 , ("SI", dosiunitx)
675+ , ("bshyp", lit "\\\173")
676+ , ("fshyp", lit "/\173")
677+ , ("dothyp", lit ".\173")
678+ , ("colonhyp", lit ":\173")
680+ , ("nohyphens", tok)
681+ , ("textnhtt", ttfamily)
682+ , ("nhttfamily", ttfamily)
674 ] ++ map ignoreInlines
683 ] ++ map ignoreInlines
675 -- these commands will be ignored unless --parse-raw is specified,
684 -- these commands will be ignored unless --parse-raw is specified,
676 -- in which case they will appear as raw latex blocks:
685 -- in which case they will appear as raw latex blocks:
@@ -682,6 +691,9 @@ inlineCommands = M.fromList $
682 , "pagebreak"
691 , "pagebreak"
694+ttfamily :: PandocMonad m => LP m Inlines
695+ttfamily = (code . stringify . toList) <$> tok
685mkImage :: PandocMonad m => [(String, String)] -> String -> LP m Inlines
697mkImage :: PandocMonad m => [(String, String)] -> String -> LP m Inlines
686mkImage options src = do
698mkImage options src = do
687 let replaceTextwidth (k,v) = case numUnit v of
699 let replaceTextwidth (k,v) = case numUnit v of