ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster@gmail.com>
Subject: Re: Equivalent of Includeonly?
Date: Mon, 19 Nov 2012 11:55:53 +0100	[thread overview]
Message-ID: <09C96BF7-B1ED-4B90-AABD-0C9789F3DDA9@gmail.com> (raw)
In-Reply-To: <50A9FD67.5000302@wxs.nl>


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

> On 11/19/2012 9:47 AM, Wolfgang Schuster wrote:
>> 
>> Am 19.11.2012 um 09:30 schrieb H. Özoguz <h.oezoguz@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	other threads:[~2012-11-19 10:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19  8:30 "H. Özoguz"
2012-11-19  8:47 ` Wolfgang Schuster
2012-11-19  8:56   ` Schmitz Thomas A.
2012-11-19  9:33     ` Hans Hagen
2012-11-19 11:47       ` Thomas A. Schmitz
2012-11-19 12:41         ` Hans Hagen
2012-11-20 10:25           ` Thomas A. Schmitz
2012-11-19  9:35   ` Hans Hagen
2012-11-19 10:55     ` Wolfgang Schuster [this message]
2012-11-19 11:12       ` Herbert Voss
2012-11-19  9:30 ` Marco Patzer
     [not found] <mailman.246.1353317095.2161.ntg-context@ntg.nl>
2012-11-19  9:47 ` "H. Özoguz"
2012-11-19 10:25   ` Herbert Voss
     [not found] <mailman.5.1353322801.15079.ntg-context@ntg.nl>
2012-11-20  8:20 ` "H. Özoguz"
2012-11-20  8:35   ` Herbert Voss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09C96BF7-B1ED-4B90-AABD-0C9789F3DDA9@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).