From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15882 Path: main.gmane.org!not-for-mail From: Brooks Moses Newsgroups: gmane.comp.tex.context Subject: Re: Re: Collecting command arguments in a startstop environment Date: Mon, 02 Aug 2004 01:46:15 -0700 Sender: ntg-context-bounces@ntg.nl Message-ID: <4.3.1.2.20040802014449.01a79ed0@cits1.stanford.edu> References: <4.3.1.2.20040801223158.00b48988@cits1.stanford.edu> <4.3.1.2.20040801223158.00b48988@cits1.stanford.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1091436366 23677 80.91.224.253 (2 Aug 2004 08:46:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 08:46:06 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 02 10:45:58 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BrYSE-0004KO-00 for ; Mon, 02 Aug 2004 10:45:58 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6EACD127A0; Mon, 2 Aug 2004 10:45:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17211-05-3; Mon, 2 Aug 2004 10:45:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E3DA1279D; Mon, 2 Aug 2004 10:45:56 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4163D1279D for ; Mon, 2 Aug 2004 10:45:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17211-05-2 for ; Mon, 2 Aug 2004 10:45:54 +0200 (CEST) Original-Received: from smtp1.Stanford.EDU (unknown [171.67.16.123]) by ronja.ntg.nl (Postfix) with ESMTP id 63E1E12797 for ; Mon, 2 Aug 2004 10:45:54 +0200 (CEST) Original-Received: from Brooks1.stanford.edu (DNab42a61a.Stanford.EDU [171.66.166.26]) by smtp1.Stanford.EDU (8.12.11/8.12.11) with ESMTP id i728jpMt010018 for ; Mon, 2 Aug 2004 01:45:52 -0700 X-Sender: brooks@cits1.stanford.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Original-To: mailing list for ConTeXt users In-Reply-To: Original-References: <4.3.1.2.20040801223158.00b48988@cits1.stanford.edu> <4.3.1.2.20040801223158.00b48988@cits1.stanford.edu> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15882 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15882 At 01:37 AM 8/2/2004, you wrote: > > Anyhow, I'm finding myself wanting to do this in ConTeXt, with of > > course replacing \newenvironment with \definestartstop. > >I didn't want to fiddle with \definestartstop, but here is a quick >hack: > >-------------------------------------------------- >\long\def\foo#1{ Hello #1!} >\long\def\startfoo #1 \stopfoo{\unskip \foo{#1}} [...] Oh, that's clever. I'll have to ponder at whether it's got some drawbacks that mean it doesn't work for what I need, but it does seem promising. Thanks! - Brooks