Re: [NTG-context] Typesetting products and components

2005-02-15 Thread Hans Hagen
Peter Münster wrote: On Mon, 14 Feb 2005, Randall Skelton wrote: Is it possible to determine if texexec is being run on a product or a component and have optional processing similar to different modes? \ifx\currentproduct\empty no product defined \else the product is \currentproduct \fi ah, that'

Re: [NTG-context] Typesetting products and components

2005-02-15 Thread Hans Hagen
Randall Skelton wrote: generated for the set of components. Is it appropriate to want to do this or have I misunderstood the role of projects, products and components entirely. as long as you understand the logic behind your choices it;s ok I'll add a system mode: (put this in cont-new.tex) \start

Re: [NTG-context] Typesetting products and components

2005-02-15 Thread Peter Münster
On Mon, 14 Feb 2005, Randall Skelton wrote: > Is it possible to determine if texexec is being run on a product or a > component and have optional processing similar to different modes? \ifx\currentproduct\empty no product defined \else the product is \currentproduct \fi Cheers, Peter -- http:/

[NTG-context] Typesetting products and components

2005-02-14 Thread Randall Skelton
Is it possible to determine if texexec is being run on a product or a component and have optional processing similar to different modes? I have a large project comprising quarterly reports and technical notes. Essentially, I have the following structure: project = MyProject |- product = Report