[comp.text.tex] OzTeX Capacity Exceeded

chase@olympus.Princeton.EDU (Chris Chase) (08/04/90)

I get the following error when using LaTeX within OzTeX:

(DRIVER.aux
! TeX capacity exceeded, sorry [buffer size=500].

The first time that I Latex the file DRIVER.tex everything is fine (that
is when
the DRIVER.aux file is created.) When I Latex the file again I get the above
error when Oztex reads in the DRIVER.aux file. That file is not
large. I believe that Oztex must be trying to read the file as one continuous
line. The error [buffer size=500] indicates that the number of characters in
a line being read from a file has been exceeded, right?

I would like help in overcoming this problem if someone could please email 
a reponse to me. By the way I am using Oztex on an SE/30 with 5 megs and
System 6.x.

Thanks in advance,
Chris Chase
chase@ee.princeton.edu
 

dhosek@sif.claremont.edu (Hosek, Donald A.) (08/04/90)

This should be in the FAQ list...

In article <1633@idunno.Princeton.EDU>, chase@olympus.Princeton.EDU (Chris Chase) writes...
>I get the following error when using LaTeX within OzTeX:

>(DRIVER.aux
>! TeX capacity exceeded, sorry [buffer size=500].

>The first time that I Latex the file DRIVER.tex everything is fine (that
>is when
>the DRIVER.aux file is created.) When I Latex the file again I get the above
>error when Oztex reads in the DRIVER.aux file. 

You have, somewhere in your document, a very long \caption
command. LaTeX writes out information for a list of figures and
list of tables even if it doesn't need to, and since it writes
out an entire caption as a single record... The fix is to replace
that caption command with a \caption with a shorter optional
argument. If you don't have a list of tables/figures, the
following works well:

\caption[]{...}

Note that you have to delete the .aux file before you can
proceed.

-dh

---
Don Hosek                         TeX, LaTeX, and Metafont Consulting and
dhosek@ymir.claremont.edu         production work. Free Estimates.
dhosek@ymir.bitnet                
uunet!jarthur!ymir                Phone: 714-625-0147