summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWikiwide <this_herd_of_these_horses@yahoo.com>2014-10-03 11:33:02 +1000
committerWikiwide <this_herd_of_these_horses@yahoo.com>2014-10-03 11:33:02 +1000
commit678aa315610e3d4e03d06dc39d79e99b587b35b5 (patch)
treea6d83ab1cbd0314ba2481adda273d1f6e68eafe5
parent08ac33815b1a744ccadd99792d942355f17a62e6 (diff)
cref, sep
Adding inlineCommands
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 9f51e9a8f..6748f1efd 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -414,6 +414,8 @@ inlineCommands = M.fromList $
, ("sim", lit "~")
, ("label", unlessParseRaw >> (inBrackets <$> tok))
, ("ref", unlessParseRaw >> (inBrackets <$> tok))
+ , ("sep", lit ",")
+ , ("cref", unlessParseRaw >> (inBrackets <$> tok))
, ("(", mathInline $ manyTill anyChar (try $ string "\\)"))
, ("[", mathDisplay $ manyTill anyChar (try $ string "\\]"))
, ("ensuremath", mathInline $ braced)