> Could not the default remain 65536 pages, but have some user configuration > parameter they can change? This way there is no backwards compatibility > issues. right? > > I don't know too much about this, maybe Karl or someone else can have some suggestions.
> > Do you mean this something I need to do just when > compiling to HTML? or will also be applied to PDF generation? > i.e. can I wrap the above inside \ifdefined\HCode? If so, > then I will definitely try it. > > Yes, I forgot about this. You should definitely use conditionals for that. > > https://tug.org/pipermail/tex4ht/2023q4/003515.html > > "it should be possible to remove the 2^16 page limit in tex4ht. > > I think your original error happened in LuaTeX, so it would need to be fixed here. > Sure, most likely it is possible. And if you want to rearrange the logic > in tex4ht-c.tex / tex4ht.c so it doesn't use the stated postamble value, > patches are welcome :). As I said, it's just not something I think is > crucial enough to spend time on." > > I looked at tex4ht-c.tex but it is over my head what needs to change. > It is better to work with the literate sources, as there will be some extra comments, but even with that it is quite complicated to understand. I don't understand it at all :) https://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-c.tex?revision=1391&view=markup Best, Michal
