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

Morten Høgholm morten.hoegholm at gmail.com
Sun Jul 16 16:04:50 EDT 2006

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 updates from
> gwTeX.

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}

--
Morten
------------------------- 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/