Added failing test case for macros.
commit22f81f78bdc14b30a266ecf470447cd5be989364
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 14 Oct 2018, 22:50 (8 years ago)
parent78ebbc6
test/command/macros.md+18
@@ -105,3 +105,21 @@ x &= y\\\end{aligned}\]
105105\newcommand{\my}{\emph{a}}
106106\emph{a}
107107```
108+
109+<https://tex.stackexchange.com/questions/258/what-is-the-difference-between-let-and-def>
110+
111+```
112+% pandoc -f latex -t plain
113+\def\bar{hello}
114+\let\fooi\bar
115+\def\fooii{\bar}
116+\fooi +\fooii
117+
118+\def\bar{goodbye}
119+\fooi +\fooii
120+^D
121+hello+hello
122+
123+hello+goodbye
124+```
125+