tex capacity exceeded

Zdenek Wagner zdenek.wagner at gmail.com
Fri Sep 16 10:40:05 CEST 2022

pá 16. 9. 2022 v 10:27 odesílatel Markus Kohm <komascript at gmx.info> napsal:
> Am Freitag, 16. September 2022, 10:13:27 CEST schrieb Bernhard Kleine:
> > While the old tex.conf files
> > were deleted when new texlive distribution came forward
> That's the reason for not to overwrite the texmf.cnf of the distribution but
> use a local or user file. See also `texdoc texlive`  and `texdoc kpathsea`.
> You can find all currently used texmf.cnf files using
>     kpsewhich -a texmf.cnf
> Usually the one in …/texmf-dist/web2c contain also a lot of documentation and
> also the lines:
> | % If you modify this original file, YOUR CHANGES WILL BE LOST when it is
> | % updated.  Instead, put your changes -- and only your changes, not an
> | % entire copy! -- in ../../texmf.cnf.  That is, if this file is
> | % installed in /some/path/to/texlive/2022/texmf-dist/web2c/texmf.cnf,
> | % put your custom settings in /some/path/to/texlive/2022/texmf.cnf.
> | % (Below, we use YYYY in place of the specific year.)
> BTW: 16 chapter and 600 pages are usually not a problem (e.g., the KOMA-Script
> book hat more chapters and more pages). Problems are often memory leaks
> because of mistakes in the document code. So increasing TeX capacities is
> often just poking around the symptoms instead of eliminating the causes.

I agree with Markus that this is not a large book, I typeset such
books quite often. What I suspect is an endless loop caused probably
by a fragile macro in a caption or a sectioning command. Examine your
.toc, .lot, .lof files or possibly files used by hyperref or other

Zdeněk Wagner

More information about the tex-live mailing list.