[tex-live] bug in pdfetex (re \immediate)?

Vladimir Volovich vvv at vsu.ru
Sat Oct 15 18:37:02 CEST 2005


Hi!

consider the following Plain TeX file:

\immediate\immediate\openout1=test.out
\immediate\write1 {line 1}
\immediate\write1 {line 2}
\immediate\closeout1

\bye

(it was reduced from a real-life example).

if i process it with vanilla TeX engine (i.e. not with pdfetex, but
with TeX), you get what i expect: two lines are written to the file
test.out, and there are no pages of output (no DVI file generated).

however, if i process this file with pdfetex, i do not get what i
would expect: instead, the lines are written to terminal, test.out is
created and is empty, and there is also a 1-page PDF file generated.

the bug goes away if i remove the second \immediate, but as i said
this is a simplified example converted from a real-life usage.

Best,
v.



More information about the tex-live mailing list