Added failing test case for macros.
This commit is contained in:
parent
78ebbc6eef
commit
22f81f78bd
1 changed files with 18 additions and 0 deletions
|
@ -105,3 +105,21 @@ x &= y\\\end{aligned}\]
|
|||
\newcommand{\my}{\emph{a}}
|
||||
\emph{a}
|
||||
```
|
||||
|
||||
<https://tex.stackexchange.com/questions/258/what-is-the-difference-between-let-and-def>
|
||||
|
||||
```
|
||||
% 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
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue