git.iko.soy/typeable/pandoc
on master help sign in
Merge branch 'patch-1' of https://github.com/Wikiwide/pandoc into Wikiwide-patch-1
8a3363aJohn MacFarlane
src/Text/Pandoc/Readers/LaTeX.hs+2
@@ -416,6 +416,8 @@ inlineCommands = M.fromList $
416 , ("ref", unlessParseRaw >> (inBrackets <$> tok))
416 , ("ref", unlessParseRaw >> (inBrackets <$> tok))
417 , ("noindent", unlessParseRaw >> return mempty)
417 , ("noindent", unlessParseRaw >> return mempty)
418 , ("textgreek", tok)
418 , ("textgreek", tok)
419+ , ("sep", lit ",")
420+ , ("cref", unlessParseRaw >> (inBrackets <$> tok)) -- from cleveref.sty
419 , ("(", mathInline $ manyTill anyChar (try $ string "\\)"))
421 , ("(", mathInline $ manyTill anyChar (try $ string "\\)"))
420 , ("[", mathDisplay $ manyTill anyChar (try $ string "\\]"))
422 , ("[", mathDisplay $ manyTill anyChar (try $ string "\\]"))
421 , ("ensuremath", mathInline $ braced)
423 , ("ensuremath", mathInline $ braced)