From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3219 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Projects? Date: Tue, 07 Nov 2000 10:37:52 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001107103752.01365120@pop.wxs.nl> References: <3A07AE19.E12F2F98@econ.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393966 15166 80.91.224.250 (23 Oct 2002 17:26:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:26:06 +0000 (UTC) Cc: Context Original-To: Michal Kvasnicka In-Reply-To: <3A07AE19.E12F2F98@econ.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:3219 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3219 At 08:24 AM 11/7/00 +0100, Michal Kvasnicka wrote: >Good morning. > >After long use of ConTeXt I've read the chapter two of the Great English > >Manual, and I've found projects. Let me ask some questions, please. > >1) Is it possible to have more than tree levels (e. g. can component >load >other component?)? (A theoretical question perhaps. :-) indeed components can components >2) I've read about \startlocalenvironment[names] >...\stoplocalenvironment. >How is it invoked? automatically, when an environment has local ones, these are only invoked when the calling project/product/component matches the comma separated list in many cases, modes are more handy, like in: \startmode[paper] \setuppapersize[A4][A4] \stopmode \startnotmode[paper] \setuppapersize[S6][S6] \stopmode to be used with texexec --mode=paper >3) I'd like components to be styled in a different way if they are >standing >alone than if they are typeset in the whole project. How to do it? Via >\startlocalenvironment? How? > >4) What the mechanism does precisely? the project/etc mechanism [when set up ok] can be used to run individual components. It originates in educational projects where we wanted to have common environments, several products [student/teacher/examns/etc] with for instance student materials split up in components. That way we can process an individual component in the framework of a product in ... of a project etc. Also, it makes possible to define several products using similar components but under for instance a different environment. Say that you want examns with and without answers, in which case the version with answers can have answer blocks enabled [you may want to read the chapter about moving blocks around and reusing text]. Actually all our a bit bigger projects have their files organized using this project mechanism [for instance qa manuals with some 15 products of which some 10 are composed of combinations/selections of hundreds of components]. Actually, it's a rather old mechanism which I should extend / update a bit, but it works ok. Hans Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------