diff options
author | Wikiwide <this_herd_of_these_horses@yahoo.com> | 2014-10-03 11:33:02 +1000 |
---|---|---|
committer | Wikiwide <this_herd_of_these_horses@yahoo.com> | 2014-10-03 11:33:02 +1000 |
commit | 678aa315610e3d4e03d06dc39d79e99b587b35b5 (patch) | |
tree | a6d83ab1cbd0314ba2481adda273d1f6e68eafe5 /src | |
parent | 08ac33815b1a744ccadd99792d942355f17a62e6 (diff) | |
download | pandoc-678aa315610e3d4e03d06dc39d79e99b587b35b5.tar.gz |
cref, sep
Adding inlineCommands
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
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) |