Curtis Osterhoudt wrote:
> Hi, all,    Upon compiling my LyX document, which contains lots of
> Includes, a Table of Contents, Index, Lists of Figures and Tables, etc.,
> the LyX frontend reports that there's "No room for a new \write"
> (similarly, using pdflatex from the command line on the .tex file fails).
> I've done a little searching online; most if not all of the documents I've
> found reference the Memoir class (which I'm not using; this happens to be a
> Koma-script Report master document), but it seems that it's actually more
> of an underlying TeX problem, and I simply have too many Indices, Lists,
> etc.  

Seems so. TeX is limited in this regard (to 16 \write streams). Cf.
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=noroom

> As an attempt to remedy this, and get a nicely compiled document, 
> I've gone through each of the constituent files and deleted the any
> "Index"es or "Bibliography"[ies] which are in "comment" boxes (I put them
> in originally to test indices and bibliographies for each individual file).

That won't help. Things in comment boxes are skipped by LaTeX anyway.

> However, this does not solve the problem, and I *still* get "No room for a
> new \write" and "Bad number {16}" as error messages from LyX.     Has
> anyone run into this, and solved it? The documentation for the Memoir class
> says I have no recourse but to rearrange my document. How do people write
> books with this TeX limitation? Would it help to switch to TeX Live or
> something?      Thanks!               Curtis O.

There's no way to get rid of this limitation. You probably have to comment out 
the remaining Bibliographies, Indexes etc. by and by and see if that helps. 
Rearranging the document might indeed help as well, since the problem is not 
necessarily too many objects, but that too many write streams are used (TeX 
does not necessarily need one stream per object).

HTH,
Jürgen

> _________________________________________________________________
> 3D maps are here!  Get amazing views of major cities.
> http://maps.live.com/?wip=51



Jürgen

Reply via email to