epsf gives up after a bit

Some copies of the documentation of epsf.tex seemed once to suggest that the command

snippet.latex
\input epsf

is needed for every figure included. If you follow this suggestion too literally, you get an error

snippet.latex
! No room for a new \read .

after a while; this is because each time epsf.tex is loaded, it allocates itself a new file-reading handle to check the figure for its bounding box, and there just aren't enough of these things (see no room for a new thing).

The solution is simple - this is in fact an example of misuse of macros; one only need read epsf.tex once, so change

snippet.latex
...
\input epsf
\epsffile{...}
...
\input epsf
\epsffile{...}

(and so on) with a single

snippet.latex
\input epsf

somewhere near the start of your document, and then decorate your \epsffile statements with no more than adjustments of \epsfxsize and so on.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Creative Commons Lizenzvertrag Edit this page Old revisions Sitemap Backlinks RSS feed Impressum Flattr this