git.iko.soy/typeable/pandoc
on master help sign in
cref, sep

Adding inlineCommands

commit678aa315610e3d4e03d06dc39d79e99b587b35b5 authorWikiwide <this_herd_of_these_horses@yahoo.com> dateFri 3 Oct 2014, 11:33 (12 years ago) parent08ac338
1 file changed+2
src/Text/Pandoc/Readers/LaTeX.hs+2
src/Text/Pandoc/Readers/LaTeX.hs+2
@@ -414,6 +414,8 @@ inlineCommands = M.fromList $
414414 , ("sim", lit "~")
415415 , ("label", unlessParseRaw >> (inBrackets <$> tok))
416416 , ("ref", unlessParseRaw >> (inBrackets <$> tok))
417+ , ("sep", lit ",")
418+ , ("cref", unlessParseRaw >> (inBrackets <$> tok))
417419 , ("(", mathInline $ manyTill anyChar (try $ string "\\)"))
418420 , ("[", mathDisplay $ manyTill anyChar (try $ string "\\]"))
419421 , ("ensuremath", mathInline $ braced)