[NTG-pdftex] [pdftex-Bugs][2077] pdf inclusion of the same file fails with the 12th copy

pdftex-bugs at sarovar.org pdftex-bugs at sarovar.org
Mon Aug 4 15:25:44 CEST 2008

Bugs item #2077, was opened at 2008-08-04 14:34
>Status: Closed
Priority: 3
Submitted By: Martin Schröder (oneiros)
Assigned to: Nobody (None)
Summary: pdf inclusion of the same file fails with the 12th copy 
>Resolution: Invalid
Group: v1.40.3
Category: PDF inclusion

Initial Comment:
The included sources include the same file (hardlinked) 12 times. The
12th inclusion fails with

<use ./input/tuftecmr10-11.pdf, page 1> [11 <./input/tuftecmr10-11.pdf>]Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

!pdfTeX error: pdflatex (file ./tuftecmr10-12.pdf): xpdf: reading PDF image fai
 ==> Fatal error occurred, no output PDF file produced!

Tested with 1.40.3, 1.40.9 and trunk.


>Comment By: Martin Schröder (oneiros)
Date: 2008-08-04 15:25

Forget it, the setup is broken. %-)

The main document is called tuftecmr10-12.tex and in the 12th run it
tries to read tuftecmr10-12.pdf . This is in input/, but it is also
just being created from tuftecmr10-12.tex . So pdftex finds
./tuftecmr10-12.pdf instead of input/tuftecmr10-12.pdf; and
./tuftecmr10-12.pdf is obviously broken as it hasn't been finished


You can respond by visiting: 

More information about the ntg-pdftex mailing list