----- Original Message ----
From: Steve Litt <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Sent: Tuesday, March 27, 2007 9:07:37 AM
Subject: Re: A quick LaTeX question

On Tuesday 27 March 2007 10:29, curtis osterhoudt wrote:
> Hi, LyXers. I should really be asking this on a LaTeX list, but I thought
> I'd find out if anyone has quick answers:
>
>     I'm running into the dreaded "No room for a new \write" problem. I'm at
> the worrisome stage of removing packages from inclusion in the preamble to
> see if that helps at all. But I know that there are many packages which
> claim they *must* be loaded last, or before another package, etc. Does
> anyone know of a site which is somewhat up-to-date where the _order_ of
> inclusion of many common packages is listed?
>
>         Thanks!
>                 Curtis O.

Hi Curtis,

I can't answer your question, and am not familiar with your specific error 
message, but if you can't find it, here's how I'd approach the problem...

I'd start by exporting to LaTeX, compiling to dvi, and see if it still 
happens. If not, inspect what LyX is doing differently. If it still occurs, 
save a copy of the LaTeX file for further experimentation, and continue.

I'd remove almost all the body, titlepage, etc, leaving just a sentence of 
standard environment text. Does it still occur? If so you're right, it's 
probably a packages thing -- remove packages.

If eliminating the body removes the symptom, put back half the body. If the 
symptom comes back, remove half of that half. Keep half splitting the thing 
until you find a sentence, phrase, ERT or whatever that can toggle the 
symptom. Then try to reduce the document body to just that sentence, phrase, 
ERT or whatever. At that point the problem will probably be obvious.

The reason I suggested exporting to LaTeX is so you don't need to include LyX 
in your change/compile/observe cycle, and if you change your layout file you 
don't need to reconfigure and exit from LyX. 

Like I said, you may solve it before needing to resort to any of this, but 
IMHO that's your backup plan, and I'm sure it will work.

SteveT
 
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/

(Legal Disclaimer) Follow these suggestions at your own risk.



=============  response follows =================

Thanks for your response, Steve, and the good advice. Most of it I'd tried 
already, of course  :-)



    What's really frustrating is that this error is what I'd call a
problem of the whole, rather than the parts. I can go through my
document and successively comment out different portions, and things
work fine. It's when everything is called together that the error crops
up (it's apparently a fundamental limitation in the way TeX was
originally written, and there's not  any really tricky way around it
other that's not tremendously painful, as far as I can tell).



    I'll keep hacking away. Too bad my dissertation is due in a couple of days!



      Thanks all.
 
/*************************************************************
          Down with categorical imperative!

[EMAIL PROTECTED]      or     [EMAIL PROTECTED]
*************************************************************/





 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

Reply via email to