From 22f81f78bdc14b30a266ecf470447cd5be989364 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 14 Oct 2018 22:50:47 -0700 Subject: Added failing test case for macros. --- test/command/macros.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/command') diff --git a/test/command/macros.md b/test/command/macros.md index 50393543a..0c91944a1 100644 --- a/test/command/macros.md +++ b/test/command/macros.md @@ -105,3 +105,21 @@ x &= y\\\end{aligned}\] \newcommand{\my}{\emph{a}} \emph{a} ``` + + + +``` +% pandoc -f latex -t plain +\def\bar{hello} +\let\fooi\bar +\def\fooii{\bar} +\fooi +\fooii + +\def\bar{goodbye} +\fooi +\fooii +^D +hello+hello + +hello+goodbye +``` + -- cgit v1.2.3