Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p4TAMk6X003294 for ; Sun, 29 May 2011 12:22:47 +0200 Received: (qmail 16481 invoked by alias); 29 May 2011 10:22:41 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 29 May 2011 10:22:40 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx056) with SMTP; 29 May 2011 12:22:40 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p4TAK39g010966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 May 2011 12:20:03 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p4SM19RV000987; Sun, 29 May 2011 12:20:02 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1208437 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 29 May 2011 12:20:02 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p4TAK2rw000402 for ; Sun, 29 May 2011 12:20:02 +0200 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p4TAJptx021063 for ; Sun, 29 May 2011 12:19:55 +0200 Received: from morningstar2.demon.co.uk ([80.176.134.7] helo=palladium.local) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1QQd4F-0007kY-js; Sun, 29 May 2011 10:17:55 +0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 References: <4DE12DD9.9000805@morningstar2.co.uk> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4DE21D52.7060409@morningstar2.co.uk> Date: Sun, 29 May 2011 11:17:54 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: xparse, "while" argument type To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p4yCuwxJv6KYxPVw4M2NAdy3gvCPNqMeTIeMkIzMNKn4sS+OXVKNYHBDgaVn UGBTkUnrM4/e9GsVe3QRlM7Iah1Oy63cD98qsdPg8URgGqmEp85cAgfH6TgtJVIYrcRxUn3cA71u NeHqCxERO6nz4CO9d0nIV/MN8+vhHCyST9pdDU2p464JzbgXeqzQLQwtL4i644c2FmGug==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6772 On 28/05/2011 18:33, Bruno Le Floch wrote: > I have to say that I'm not fully keen either. The reason I'm asking > here is that I don't want to put some code out there which shows how > to add extra arguments types to xparse: as discussed earlier, this > would lead to clashes between packages, and is a bad idea. I don't > really have a use case (and I don't think that the OP's example is a > real use case). Perhaps for people who like syntax like "\input foo " > instead of "\input{foo}"? Or to grab the next word (or whatever)... The nearest I've got so far in thinking about it is something like the case where you are reading from an external table. There, however, you'd normally grab 'up to' some token (tab, space, ',', ...), then split up the input with dedicated code. I think that, like verbatim input, the idea looks a bit too specialised for coverage by xparse. Joseph