From 329b61ff5cbad6297d1ceea5da7f045613e27ec5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 24 Jul 2017 11:16:43 +0200 Subject: LaTeX reader: support etoolbox's ifstrequal. --- test/command/ifstrequal.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/command/ifstrequal.md (limited to 'test/command') diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md new file mode 100644 index 000000000..4ad04d2e1 --- /dev/null +++ b/test/command/ifstrequal.md @@ -0,0 +1,10 @@ +``` +% 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"]] +,Para [Str "\225",SoftBreak,Str "b"]] +``` -- cgit v1.2.3