From 244b42dbaf81b45a1e6d95ca4f2203ea4c2a98cd Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Mon, 30 Oct 2017 11:00:12 -0700 Subject: [PATCH] Added failing command test for #4007. --- test/command/4007.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/command/4007.md diff --git a/test/command/4007.md b/test/command/4007.md new file mode 100644 index 000000000..c6064e0f2 --- /dev/null +++ b/test/command/4007.md @@ -0,0 +1,23 @@ +``` +pandoc -f latex -t native +\newcommand\arrow\to +$a\arrow b$ +^D +[Para [Math InlineMath "a\\to b"]] +``` + +``` +pandoc -f latex -t native +\newcommand\pfeil[1]{\to #1} +$a\pfeil b$ +^D +[Para [Math InlineMath "a\\to b"]] +``` + +``` +pandoc -f latex -t native +\newcommand\fleche{\to} +$a\fleche b$ +^D +[Para [Math InlineMath "a\\to b"]] +```