Debian Codegraph @

texk/web2c/pdftexdir/tests/expanded.txt

raw
1 START
2 EXPANDED TEST 1
3 > \expanded=\expanded.
4 l.13 \show\expanded
5
6
7 EXPANDED TEST 2
8 > \ccc=macro:
9 ->xx,x.
10 l.20 \show\ccc
11
12
13 EXPANDED TEST 3: the
14 xx,123
15 EXPANDED TEST 4: macro param
16 > \ddd=macro:
17 #1->#1.
18 l.29 \show\ddd
19
20
21 EXPANDED TEST 5: torture
22 > ##,\aaa ,\aaa .
23 l.34 ...panded{#,\noexpand\aaa,\unexpanded{\aaa}}}
24
25
26 > ##,##.
27 l.35 ...s\expandafter{\expanded{#,\unexpanded{#}}}
28
29
30 > \aaa .
31 l.36 ...fter{\expanded\expandafter{\noexpand\aaa}}
32
33
34 > x.
35 l.37 ...{\expanded\expandafter{\unexpanded{\aaa}}}
36
37
38 > xx\aaa .
39 <inserted text> {xx\aaa }
40
41 l.38 ...pand\aaa\noexpand\noexpand\noexpand\aaa}}}
42
43
44 > \aaa .
45 <inserted text> {\aaa }
46
47 l.40 \showtokens\expanded{{\the\toks0}}
48
49
50 > \egroup=end-group character }.
51 <inserted text> \show \egroup
52
53 l.41 \expanded\bgroup\show\egroup}
54
55
56 > \foo=macro:
57 ->##.
58 l.43 \show\foo
59
60
61 END