[tex4ht] missing sections and missing last chapter from large build. tex4ht hard limits on number of chapters and sections allowed?

Nasser M. Abbasi nma at 12000.org
Fri May 13 16:55:58 CEST 2022


hello Michal;

ps. I am emailing this also to tex4ht mailing list. Thought it might be useful.

You mentioned at tex stackexchange you just found a hard limit
in tex4ht source code on how many files it can generate.

This is good finding, this explains why I have not been able to get
complete build from this large file.

The following build used a maximum iteration of 7 in the build file.

I thought this will be enough. But it is still missing
links at the end. For weeks I've been trying to find why
that is. I thought I need more iterations.

It stops at one chapter 50. There are 51 chapters now.
So missing the last chapter.

And chapter 50 shows first section only. There are 8 more.

This is a link to zip file of the latest build.

The zip file that has the PDF file and the HTML files so you can see.
it is in this folder.

https://12000.org/tmp/05132022/

It is about 180 MB.

Looking at the content, I see the largest NNNN in
insu*.htm (subsection and subsections file2 is numbered
insu9419.htm and the largest inseNNNN in inse*.htm is
ine99.htm (sections).

And for chapters, it is inch50.htm.

My book has 51 chapters now. And chapter 51 is missing
from the HTML webpage.

The PDF file included in the zip file has all chapters
and all sections so you can see what is missing by
comparing to the HTML table of content shown.

I hope that you will be able to increase this limit.

May be 30 years ago there was a need to put limits on
these things, but now, I see no need for such limits. I
have 50 terra byets of disk space.

Please let me know if you need additional information
and will email it to you.

Thanks
--Nasser


More information about the tex4ht mailing list.