From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4754 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Environments, Projects, Products, Components Date: Wed, 30 May 2001 13:40:08 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <15816128813.20010530134008@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035395393 28384 80.91.224.250 (23 Oct 2002 17:49:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:49:53 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:4754 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4754 Hello, I'm getting the first attempts to structured ConTeXt, and I needed some clarifications. As I see it, it goes like this: environments are more or less the equivalent of LaTeX2e classes. Projects are collection of material (say, Calculus books) Products are the single books (say, Calculus, Advanced Calculus) Components are the single chapters of the various books. If this is correct, I'd like to know if it is possible to structure components in such a way that they can be recycled. I mean: imagine that I'm writing two books, BookA and BookB, and imagine that both books have a chapter in common, say ChapFoo. If I was thinking of the single books, I would write: (booka.tex) \startproduct booka \component chapbar \component chapfoo \stopproduct (chapfoo.tex) \startcomponent chapfoo \product booka \starttext the text for this chapter \stopttext \stopcomponent But now, what if I say (bookb.text) \startproduct bookb \component chapquuz \component chapfoo \stopproduct ? Shouldn't I change chapfoo.tex so that it says \product bookb? Any clarification appreciated. -- Giuseppe "Oblomov" Bilotta