[OS X TeX] "Too many open files" error

Gary L. Gray gray at engr.psu.edu
Sun Jul 16 16:12:38 EDT 2006

On Jul 16, 2006, at 4:04 PM, Morten Høgholm wrote:

> On Sun, 16 Jul 2006 21:58:11 +0200, Gary L. Gray
> <gray at engr.psu.edu> wrote:
>
>> We are creating the proceedings for a meeting by including
>> abstracts as individual PDF files via the pdfpages package. There
>> are over 300 abstracts in this meeting and near the end of the
>> compile we get the following error:
>>
>> /usr/local/teTeX/bin/i386-apple-darwin-current/pdflatex: ./
>> ProceedingsAbstracts/Bednarcyk-180135.pdf: Too many open files
>>
>> How do we overcome this limit in pdflatex so that we can get this
>> thing to typeset from start to finish? I have all the latest TeX
>
> Hmm, so this bug still wasn't resolved... Too bad.
>
>>
>> A quick solution would be most appreciated since we need to get
>> this thing to the printer later this week. :-)
>
> Try
>
> \let\mypdfximage\pdfximage
> \protected\def\pdfximage{\immediate\mypdfximage}

That did it! Thank you very much. I owe you a beer (or three).

All the best,

-- Gary

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/