While compiling a very large document recently in xelatex and tex4ht I have observed that tex4ht doesn't handle write streams the same as xelatex. I am trying to prepare a MWE to troubleshoot my problem that started when I added another type of glossary to my document. But I am unable to reproduce the problem in smaller documents.
I don't think it is is specifically a glossaries problem because the addition of this sixth glossary doesn't break in a MWE with only 1 example term of each. My broken project has nearly 10 thousand entries in a variety of files loaded before the \begin{document}. I am unaware of any entry limit in glossaries that would force a cap on the number of entries that can be searched within but I suppose this could be possible and difficult to isolate unless known about in advance.
I make pretty full use of TeX automations as a whole:
- cross references to document hierarchy using
\ref{} - cross references to figures, tables, and equations using
\cref{} - bibliography management for distinct parts, chapters, and sections using
bibunits - table of contents and lists for all other types of objects
- Six distinct types of glossaries, and the corresponding
\makeindex, and\makeglossariesandprintglossary[]calls for appearance customization - I am sure there are others I use that I am missing.
I have tried to force write calls by including at least one of each in a MWE but I am unable to crash my MWE.
Could anyone provide any advice regarding:
- what other types of package calls create a
new \write? - Or what causes distinct
new \writecalls to be made multiple times from the same package. - Or point me to documentation that describes
tex4htlimitations regardingnew \write? - Maybe all this is unnecessary if
tex4htcan be forced to permit extranew \writestreams...
tex4htsurely uses some extra\writesfor cross referencing – michal.h21 Mar 29 '15 at 00:07writeproblem? – cfr Mar 29 '15 at 00:24! No room for a new \write . \alloc@ ...else \errmessage {No room for a new #2} fi \fi l.73 \end{document} ?and according to numerous questions on this site, this usually is awriteproblem associated withglossaries– EngBIRD Mar 29 '15 at 00:32etexandscrwfile. If I can find this question again, I will post as a comment for interests sake. – EngBIRD Mar 29 '15 at 00:38morewritesor not, so I avoid them like the plague. It is using 'Do Not Use' functions i.e. internal stuff which it is better not to use. But, any solution is going to have to interfere with some important, low level stuff.scrwfileredirects everything to the.auxfile. That's messing with stuff, too. If it works...! – cfr Mar 29 '15 at 00:51