Added failing command test for #4007.

This commit is contained in:
John MacFarlane 2017-10-30 11:00:12 -07:00
parent 601a28fd36
commit 244b42dbaf

23
test/command/4007.md Normal file
View file

@ -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"]]
```