Am 19.11.2012 um 10:35 schrieb Hans Hagen <pra...@wxs.nl>:

> On 11/19/2012 9:47 AM, Wolfgang Schuster wrote:
>> 
>> Am 19.11.2012 um 09:30 schrieb H. Özoguz <h.oezo...@mmnetz.de>:
>> 
>>> Is there an equivalent of the LaTeX "\includeonly" ? - I'm working on books 
>>> (nearly only on books), so such a command would speed up my work.
>> 
>> No there isn’t.
>> 
>> 
>> @Hans: With with \includeonly and \excludeonly command you can specify which 
>> external files should be included in the document by the \inlcude{…} (a 
>> special version of \input{…}) command.
>> 
>> When you add \includeonly{one,three} in the following example only the files 
>> “one.tex” and “three.tex” will be included and the other two are ignored. 
>> With \excludeonly{two,three} the files “one.tex” and “four.tex” are read but 
>> two and three are ignored.
>> 
>> \startproduct mydocument
>> 
>> \component one
>> \component two
>> \component three
>> \component four
>> 
>> \stopproduct
> 
> \startproduct mysmalldocument
> 
> \component one
> \component three
> 
> \stopproduct

This doesn’t the same because with \includeonly the chapter/figure/page/etc. 
counters from the skipped files are honored like they do with single component 
files from Thomas request.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to