From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29588 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: document structure (small bug) Date: Sat, 22 Jul 2006 14:40:53 +0200 Message-ID: References: <74B0153C-8A9C-45BD-94DB-6B52CD54CDFA@science.uva.nl> <44C0CF64.7050002@elvenkind.com> <63C28589-B3A5-410D-BE33-3A07730BA871@science.uva.nl> <44C1DF93.4060609@elvenkind.com> <28439B97-4AB7-4F5D-A1C3-019A18D09DE7@science.uva.nl> <44C217D0.8000208@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153572161 27247 80.91.229.2 (22 Jul 2006 12:42:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2006 12:42:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 22 14:42:38 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G4GoT-0006Ul-NJ for gctc-ntg-context-518@m.gmane.org; Sat, 22 Jul 2006 14:42:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DB68128CB; Sat, 22 Jul 2006 14:42:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09250-01; Sat, 22 Jul 2006 14:42:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E1A8127B9; Sat, 22 Jul 2006 14:42:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 93DDE127B9 for ; Sat, 22 Jul 2006 14:42:07 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08312-05 for ; Sat, 22 Jul 2006 14:41:55 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id D76911278A for ; Sat, 22 Jul 2006 14:41:52 +0200 (CEST) Original-Received: from 118-212.uva.surfnetthuis.nl [145.98.118.212] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k6MCfmv09248; Sat, 22 Jul 2006 14:41:49 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <44C217D0.8000208@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29588 Archived-At: On Jul 22, 2006, at 14:19, Taco Hoekwater wrote: > Hans van der Meer wrote: >> >> >> No, I must be my fault, but even with the above help I cannot get it >> working. >> As far as I can figure out the value of \currentproduct seems NOT to >> guard entry to the body of \startlocalenvironment[syllabus-s]. > > This took a bit of digging, it appears to be a bug in core-job.tex. > The definition of \setvalue{\e!start\v!localenvironment} ends with: > > {\grabuntil{\e!stop\v!localenvironment}\relax}} > > but that should be: > > {\grabuntil{\e!stop\v!localenvironment}\gobbleoneargument}} > This patch repairs it. Now \startlocalenvironment[syllabus-s] is properly entered when the argument matches the product. One more bug has been ironed out. But the fact that it took so long before it surfaced is telling, obviously not many people have used this mechanism since the manual came out! Thanks for acting so fast. Hans van der Meer