Discussion:
Tex capacity exceeded
b***@tasc.infm.it
2005-10-20 22:29:48 UTC
Permalink
Hi,
I'm writing my master thesis with pdftex and this evening I got
the "TeX capacity exceeded" error.
I copied hereafter the last part of my .log file;
what should I do? Should I ask a wizard and how?

Thanks,

Cecilia
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
(capitolo4.tex [78]
Capitolo 4.

Underfull \hbox (badness 10000) in paragraph at lines 9--13

[]


LaTeX Warning: Reference `cap.4.1' on page 79 undefined on input line 28.

[79

]

LaTeX Warning: Reference `cap.4.2' on page 80 undefined on input line 30.


LaTeX Warning: Reference `cap.4.3' on page 80 undefined on input line 32.


Underfull \hbox (badness 10000) in paragraph at lines 30--35

[]


LaTeX Warning: Reference `cap.4.4' on page 80 undefined on input line 45.


LaTeX Warning: Reference `cap.4.5' on page 80 undefined on input line 51.


LaTeX Warning: Reference `cap.4.6' on page 80 undefined on input line 55.

[80]
Underfull \hbox (badness 10000) in paragraph at lines 77--83

[]


Underfull \hbox (badness 10000) in paragraph at lines 85--94

[]

[81]

LaTeX Warning: Reference `cap.4.2' on page 82 undefined on input line 128.

[82]
Overfull \hbox (8.27782pt too wide) in paragraph at lines 137--141
[]\OT1/cmr/m/n/12 Una so-lu-zio-ne po-treb-be es-se-re rap-pre-sen-ta-ta dal-l'
u-ti-liz-zo del mo-du-lo FAST-
[]


LaTeX Warning: Reference `cap.4.2' on page 83 undefined on input line 149.


Underfull \hbox (badness 10000) in paragraph at lines 142--150

[]


LaTeX Warning: Reference `4_1' on page 83 undefined on input line 151.

[83]
! TeX capacity exceeded, sorry [input stack size=5000].
\@inmathwarn ***@warning {Command \protect #1
invalid in math mode}\fi
l.188 \includegraphics[width=6.7cm]{mobilità_a}
&
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.


Here is how much of TeX's memory you used:
2958 strings out of 95496
33347 string characters out of 1189233
195513 words of memory out of 1194151
5732 multiletter control sequences out of 60000
15563 words of font info for 57 fonts, out of 1000000 for 2000
14 hyphenation exceptions out of 4999
5000i,17n,4000p,753b,310s stack positions out of
5000i,500n,10000p,200000b,32768s
PDF statistics:
355 PDF objects out of 300000
0 named destinations out of 300000
146 words of extra memory for PDF output out of 65536
! ==> Fatal error occurred, the output PDF file is not finished!
Reinhard Kotucha
2005-10-22 22:29:43 UTC
Permalink
It is more helpful to have the source code of your document.
We usually don't need the complete document but it would be helpful to
have everything before \begin{document} and at least some lines before
the error occurred. In your case, for instance, lines 160...188.

If you can make the whole file available (by http, for instance) that
would be best.
Post by b***@tasc.infm.it
l.188 \includegraphics[width=6.7cm]{mobilità_a}
&
I have no idea what went wrong, but I would avoid non-ASCII
characters in file names.

Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover mailto:***@web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
Nelson H. F. Beebe
2005-10-24 11:56:04 UTC
Permalink
Cecilia Blasetti <***@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:

http://www.math.utah.edu/pub/dosmacux/
ftp://ftp.math.utah.edu/pub/dosmacux/

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

-------------------------------------------------------------------------------
- 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: ***@math.utah.edu -
- 155 S 1400 E RM 233 ***@acm.org ***@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
Loading...