[tex-k] Re: [NTG-pdftex] bug in pdfetex (re \immediate)?

Heiko Oberdiek oberdiek at uni-freiburg.de
Sun Oct 16 00:07:24 CEST 2005


Hello,

On Sat, Oct 15, 2005 at 08:37:02PM +0400, Vladimir Volovich wrote:

> 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.

This is indeed a bug, I have put my analysis and bug fix
as bug report 437 on the pdftex web site.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 



More information about the tex-k mailing list