git.iko.soy/typeable/pandoc
on master help sign in
Added failing test case for macros.
22f81f7John MacFarlane
test/command/macros.md+18
@@ -105,3 +105,21 @@ x &= y\\\end{aligned}\]
105\newcommand{\my}{\emph{a}}
105\newcommand{\my}{\emph{a}}
106\emph{a}
106\emph{a}
107```
107```
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+