28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C.4. T E X error messages 427<br />

the text processing. This message appears when one of these buffers is<br />

full <strong>and</strong> can no longer be used. The name of the buffer <strong>and</strong> its maximum<br />

size are printed in the square brackets of the error indica<strong>to</strong>r. With this<br />

message, the T E X processing is terminated. The source of this problem is<br />

hardly ever due <strong>to</strong> insufficient memory, no matter how much complicated<br />

text is being processed, but rather <strong>to</strong> an error in the text itself. The<br />

methods described in Section C.6 may be applied <strong>to</strong> try <strong>to</strong> detect the true<br />

error.<br />

The following descriptions of the various buffers should help <strong>to</strong> decide<br />

whether the s<strong>to</strong>rage capacity allotted <strong>to</strong> T E X really is <strong>to</strong>o small <strong>and</strong> <strong>to</strong><br />

explain what one might do <strong>to</strong> correct this.<br />

buffer size The problem here can be that the text in the argument of a sectioning,<br />

\caption, \addcontentsline, or \add<strong>to</strong>contents comm<strong>and</strong> is<br />

<strong>to</strong>o long. The message then normally appears when the \end{document}<br />

comm<strong>and</strong> is processed, but may also arise at one of \tableofcontents,<br />

\lis<strong>to</strong>ffigures, or \lis<strong>to</strong>ftables. The way <strong>to</strong> avoid this is <strong>to</strong> use the<br />

optional argument for the short form of the heading text (Sections 3.3.3<br />

<strong>and</strong> 7.4). Indeed, such a long entry in the table of contents is a nuisance<br />

anyway <strong>and</strong> should be shortened. After the correction has been made in the<br />

input text, the previous L AT E X.aux file must be deleted before reprocessing.<br />

This problem can occur on a PC if a word processing program has been<br />

used <strong>to</strong> generate the input text instead of a text edi<strong>to</strong>r. Some of these<br />

programs put an entire paragraph in<strong>to</strong> a single line even though the text<br />

on the moni<strong>to</strong>r is broken up in<strong>to</strong> lines.<br />

exception dictionary The list of hyphenation exceptions that have been entered<br />

with the \hyphenation comm<strong>and</strong>s has become <strong>to</strong>o large. Words<br />

used less frequently should be removed <strong>and</strong> their possible word divisions<br />

indicated explicitly with the \- comm<strong>and</strong>.<br />

hash size The source file contains <strong>to</strong>o many comm<strong>and</strong> definitions or uses <strong>to</strong>o<br />

many cross-reference markers. This does not mean that the input text<br />

really needs all these comm<strong>and</strong>s, for it may be that the user has developed<br />

a large collection of private comm<strong>and</strong>s that are s<strong>to</strong>red in a single file <strong>and</strong><br />

read in<strong>to</strong> every document, whether they are all applicable or not.<br />

input stack size An overflow of this buffer is probably due <strong>to</strong> a mistake in a<br />

comm<strong>and</strong> definition. For example, the comm<strong>and</strong> defined with<br />

\newcomm<strong>and</strong>{\com}{One more \com}<br />

produces One more {One more {...One more \com}...}} going on for<br />

ever, since it continually calls itself. Actually, it does not go on for ever,<br />

but only until this buffer is full.<br />

main memory size This buffer contains the text for the page currently being<br />

processed. It also overflows if a recursively defined comm<strong>and</strong> has been<br />

called. However, the more usual reasons are: (1) a large number of very<br />

complicated comm<strong>and</strong>s have been defined on one page; (2) there are <strong>to</strong>o

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!