| 1 |
\batchmode |
| 2 |
\long\def\typeout#1{\immediate\write-1{#1}} |
| 3 |
\def\ { }% |
| 4 |
\output{\deadcycles0\setbox0\box255} |
| 5 |
\def\E#1{} |
| 6 |
\typeout{*** \string\par\ in non-\string\long\ cmd.} |
| 7 |
\E{a |
| 8 |
|
| 9 |
b} |
| 10 |
\E{c\par d} |
| 11 |
|
| 12 |
\outer\def\F{hoge} |
| 13 |
\typeout{*** \string\outer\ cmd in \string\message\ and \string\write.} |
| 14 |
\immediate\write-1{\F} |
| 15 |
\message{\F} |
| 16 |
|
| 17 |
\typeout{*** \string\outer\ cmd in conditionals.} |
| 18 |
\iftrue a\F |
| 19 |
\else b\F |
| 20 |
\fi |
| 21 |
|
| 22 |
\typeout{*** \string\outer\ cmd in alignment preambles.} |
| 23 |
\halign{#\F&#\cr a&d\cr} |
| 24 |
|
| 25 |
\typeout{*** \string\par\ in math mode.} |
| 26 |
$ x+1 = |
| 27 |
|
| 28 |
a\par b$ |
| 29 |
|
| 30 |
$$\eqno{a}\par$$ |
| 31 |
|
| 32 |
$$ aaa\par$$ |
| 33 |
|
| 34 |
\typeout{*** \string\pdfprimitive\ and non-primitive.} |
| 35 |
\ifdefined\primitive |
| 36 |
\primitive\batchmode |
| 37 |
\primitive\hoge |
| 38 |
\else |
| 39 |
\pdfprimitive\batchmode |
| 40 |
\pdfprimitive\hoge |
| 41 |
\fi |
| 42 |
|
| 43 |
\typeout{===============} |
| 44 |
\suppresslongerror=1 |
| 45 |
\suppressoutererror=1 |
| 46 |
\suppressmathparerror=1 |
| 47 |
|
| 48 |
\typeout{*** \string\par\ in non-\string\long\ cmd.} |
| 49 |
\E{a |
| 50 |
|
| 51 |
b} |
| 52 |
\E{c\par d} |
| 53 |
|
| 54 |
\typeout{*** \string\outer\ cmd in \string\message\ and \string\write.} |
| 55 |
\immediate\write-1{\F} |
| 56 |
\message{\F} |
| 57 |
|
| 58 |
\typeout{*** \string\outer\ cmd in conditionals.} |
| 59 |
\iftrue a\F |
| 60 |
\else b\F |
| 61 |
\fi |
| 62 |
|
| 63 |
\typeout{*** \string\outer\ cmd in alignment preambles.} |
| 64 |
\halign{#\F&#\cr a&d\cr} |
| 65 |
|
| 66 |
\typeout{*** \string\par\ in math mode.} |
| 67 |
$ x+1 = |
| 68 |
|
| 69 |
a\par b$ |
| 70 |
|
| 71 |
$$\eqno{a}\par$$ |
| 72 |
|
| 73 |
$$ aaa\par$$ |
| 74 |
|
| 75 |
\bye |
| 76 |
|