diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-30 11:00:12 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-30 11:04:40 -0700 |
commit | 244b42dbaf81b45a1e6d95ca4f2203ea4c2a98cd (patch) | |
tree | ad78ad9b1e194d327478cbea686a8e3e8bec5a42 /test/command | |
parent | 601a28fd3610f74a9353450bf3031eba4d94e73f (diff) | |
download | pandoc-244b42dbaf81b45a1e6d95ca4f2203ea4c2a98cd.tar.gz |
Added failing command test for #4007.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4007.md | 23 |
1 files changed, 23 insertions, 0 deletions
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"]] +``` |