[texhax] Tex capacity exceeded

Nelson H. F. Beebe beebe at math.utah.edu
Mon Oct 24 13:56:04 CEST 2005

Cecilia Blasetti <blasetti at tasc.infm.it> asks about an error report
from a LaTeX file.

The error "TeX capacity exceeded" that you reported seems to come from
the \includegraphics command.  This is almost always due to importing
a graphics file from a Mac OS system, where CR marks line ends, onto a
Windows or Unix system where line ends are CR LF or LF respectively,
or the reverse.  In either case, the file is one big line to TeX, and
its input line buffer overflows.

The fix is simple (correct the line terminators).  This set of tools
makes it easy:


They can handle batches of files, and importantly, preserve file

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -

More information about the texhax mailing list