pandoc/test/command/ifstrequal.md
John MacFarlane 6f6ad0514d LaTeX reader: make macroDef polymorphic and allow in inline context.
Otherwise we can't parse something like
```
\lowercase{\def\x{Foo}}
```
I have actually seen tex like this in the wild.
2018-10-15 11:46:31 -07:00

197 B

% pandoc -f latex -t native
\ifstrequal{a}{b}{yes}{\emph{no}}
\newcommand{\h}[1]{\ifstrequal{#1}{a}{\'a}{#1}}
\h{a}
\h{b}
^D
[Para [Emph [Str "no"],SoftBreak,Str "\225",SoftBreak,Str "b"]]