Added failing command test for #4007.
commit244b42dbaf81b45a1e6d95ca4f2203ea4c2a98cd
authorJohn MacFarlane <jgm@berkeley.edu>
dateMon 30 Oct 2017, 11:00 (9 years ago)
parent601a28f
test/command/4007.mdnew file+23
@@ -0,0 +1,23 @@
1+```
2+pandoc -f latex -t native
3+\newcommand\arrow\to
4+$a\arrow b$
5+^D
6+[Para [Math InlineMath "a\\to b"]]
7+```
8+
9+```
10+pandoc -f latex -t native
11+\newcommand\pfeil[1]{\to #1}
12+$a\pfeil b$
13+^D
14+[Para [Math InlineMath "a\\to b"]]
15+```
16+
17+```
18+pandoc -f latex -t native
19+\newcommand\fleche{\to}
20+$a\fleche b$
21+^D
22+[Para [Math InlineMath "a\\to b"]]
23+```