From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9573 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: [NTG-context] Fully object-oriented section Date: Fri, 18 Oct 2002 20:55:54 +0200 Sender: ntg-context-admin@ref.vet.uu.nl Message-ID: <829347200.20021018205554@iol.it> References: <157877251.20021017222850@iol.it> <1494380849.20021017232714@iol.it> <20021018204447.A857@scaprea> 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 1035399881 4126 80.91.224.250 (23 Oct 2002 19:04:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:04:41 +0000 (UTC) Cc: ntg-context@ntg.nl Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g9IJ0de06648 for ; Fri, 18 Oct 2002 21:00:39 +0200 (MEST) Original-Received: from ref.vet.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Fri, 18 Oct 2002 21:00:26 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id EC09110AEA; Fri, 18 Oct 2002 21:00:21 +0200 (MEST) Original-Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by ref.ntg.nl (Postfix) with ESMTP id 9E3D210AD7 for ; Fri, 18 Oct 2002 20:59:15 +0200 (MEST) Original-Received: from [151.29.128.211] (151.29.128.211) by smtp3.libero.it (6.5.028) id 3DA3111B004E00A2; Fri, 18 Oct 2002 20:59:06 +0200 X-Mailer: The Bat! (v1.60q) Business X-Priority: 3 (Normal) Original-To: Simon Pepping In-Reply-To: <20021018204447.A857@scaprea> Errors-To: ntg-context-admin@ref.vet.uu.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk 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:9573 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9573 Friday, October 18, 2002 Simon Pepping wrote: SP> This is without the outer grouping. I think the outer grouping is SP> necessary; when I use \start \stop commands I expect them to make a SP> group. Right indeed. SP> Could not you do without the if statement? SP> \def\dostartpart[#1]#2{% SP> \bgroup SP> \the\everybeforestartpart SP> \part[#1]{#2}% SP> \the\everyafterstartpart SP> } SP> \def\stoppart{\the\everystoppart\egroup} I'm not sure if this works. I've had problems with some arguments which behave differently depending on whether the argumet is not there or is empty, so I prefer to keep on the safe side. -- Giuseppe "Oblomov" Bilotta _______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://ref.ntg.nl/mailman/listinfo/ntg-context