From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14706 Path: main.gmane.org!not-for-mail From: Mari Voipio Newsgroups: gmane.comp.tex.context Subject: using \localenvironment Date: Wed, 11 Feb 2004 15:44:52 +0200 (EET) Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1076507183 13834 80.91.224.253 (11 Feb 2004 13:46:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2004 13:46:23 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Feb 11 14:46:12 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aqugu-0007OK-00 for ; Wed, 11 Feb 2004 14:46:12 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 644AF10B13; Wed, 11 Feb 2004 14:44:36 +0100 (MET) Original-Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by ref.ntg.nl (Postfix) with ESMTP id 191C010B13 for ; Wed, 11 Feb 2004 14:43:21 +0100 (MET) Original-Received: from sirppi.helsinki.fi (localhost [127.0.0.1]) by sirppi.helsinki.fi (8.12.10/8.12.10) with ESMTP id i1BDiqZ8020355 for ; Wed, 11 Feb 2004 15:44:52 +0200 (EET) Original-Received: from localhost (mvoipio@localhost) by sirppi.helsinki.fi (8.12.10/8.12.10/Submit) with ESMTP id i1BDiqaL006663 for ; Wed, 11 Feb 2004 15:44:52 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: mvoipio owned process doing -bs Original-To: ConTeXt Mailing List Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: mari.voipio@iki.fi List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14706 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14706 I've finally managed to set up my first project (a project file, an environment file, a product file and two components). It works quite reasonably, but only until I try to introduce a local environment that would only apply to this product (and not the 3-4 others I expect this project to contain at a later date). I do not understand how to make it work. First I tried to make a local environment as a part of my environment file, like this: \startlocalenvironment[gl-01] \setupheadertexts[Start-up instructions][GL-01] \stoplocalenvironment If I understand correctly, I could implement this local environment by adding the command \localenvironment[gl-01] somewhere - but where: in the project file before or after the name of the product in question or in the product file somewhere? I also tried making a separate file gl-01_env.tex which says \startlocalenvironment \setupheadertexts[Start-up instructions][GL-01] \stoplocalenvironment Now it could be implemented by giving the command \localenvironment gl-01_env but again, I'm at loss as to where the command should be given. An additional problem seems to be that my ConTeXt is old enough (if it ain't broke, don't fix it - so updates are pending) to be subject to missing English synonyms; however, the fix suggested in (using Dutch equivalents for some commands) doesn't seem to work for me, possible because of the problems above; I haven't yet managed to figure out which command goes where. I would be grateful indeed if I got a simple example on how to implement one local environment to one product and another one to another product. Or, if there's another manual for the project structure (not the beginner's manual or the big one, both have the same text without any examples, neither has definitions on the localenvironment commands), just give me a pointer... >From the very frozen north, Mari