diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-02 12:27:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-02 12:27:15 -0700 |
commit | f39c44f0badc832acfd3fcb317940b4aafa26e20 (patch) | |
tree | aba983fbe8be63f9f32a10bf18fd1bef8057db3c /test | |
parent | 041cfbd5eeffd2bc79447c4894652fc3c108c40d (diff) | |
download | pandoc-f39c44f0badc832acfd3fcb317940b4aafa26e20.tar.gz |
Add test for #5836.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5836.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/5836.md b/test/command/5836.md new file mode 100644 index 000000000..fbd5492e1 --- /dev/null +++ b/test/command/5836.md @@ -0,0 +1,19 @@ +``` +% pandoc -f markdown -t latex +\newcommand{\vara}{\alpha} +\newcommand{\varb}{b} +$\vara \varb$ +^D +\newcommand{\vara}{\alpha} +\newcommand{\varb}{b} + +\(\alpha b\) +``` +``` +% pandoc -f latex -t latex +\newcommand{\vara}{\alpha} +\newcommand{\varb}{b} +$\vara \varb$ +^D +\(\alpha b\) +``` |