tex capacity exceeded

Bernhard Kleine bernhard.kleine at gmx.net
Fri Sep 16 20:00:39 CEST 2022

Am 16.09.2022 um 10:40 schrieb Zdenek Wagner:
> 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
> packages.
> Zdeněk Wagner
> http://ttsm.icpf.cas.cz/team/wagner.shtml

Dear Markus and Denek

after increasing the memory the code compiles without error, the many
warnings in the log help me to find the faults with references and
crossreferences. I am well aware of lost braces, but if the error is
stochastic and dependent on the number of included chapters it was not
braces lacking what caused the error.

with respect to other faults in the code I can wait at the moment.


More information about the tex-live mailing list.