Skip to content

Commit 017449d

Browse files
committed
Test \{,re}newcommand arguments
Closes jgm#4470
1 parent 220dde4 commit 017449d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

test/command/4470.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
```
2+
% pandoc -r latex -w plain
3+
\newcommand{\foo}{123}\renewcommand\foo{456}\foo
4+
^D
5+
456
6+
```
7+
8+
```
9+
% pandoc -r latex -w plain
10+
\newcommand\foo{123}\renewcommand\foo{456}\foo
11+
^D
12+
456
13+
```
14+
15+
```
16+
% pandoc -r latex -w plain
17+
\newcommand{\foo}{123}\renewcommand{\foo}{456}\foo
18+
^D
19+
456
20+
```
21+
22+
```
23+
% pandoc -r latex -w plain
24+
\newcommand\foo{123}\renewcommand{\foo}{456}\foo
25+
^D
26+
456
27+
```

0 commit comments

Comments
 (0)