On Sunday 21 March 2004 18:26, David Kastrup wrote:

> That would mean that I could start an included file chapter2.tex
> with
>
>   \includeonly[mainfile]{chapter2}
>
> and compilation of chapter2.tex would then instead compile mainfile
> with \includeonly{chapter2} active.
>
> Something like that.  This would make working with \includeonly a lot
> more convenient.

Doesn't askinclude.sty do something like this?
Then you can just say "latex mainfile"
and specify chapter 2 once -
it remembers your choice on subsequent occasions,
unless you change it.

But I'm sure you know all that - you probably wrote asking.sty .

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland