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 p06HHbc1031902 for ; Thu, 6 Jan 2011 18:17:39 +0100 Received: (qmail 29801 invoked by alias); 6 Jan 2011 17:17:32 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 06 Jan 2011 17:17:31 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx032) with SMTP; 06 Jan 2011 18:17:31 +0100 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 p06HFa2w017373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Jan 2011 18:15:37 +0100 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 p06FGB2m001194; Thu, 6 Jan 2011 18:15:26 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 806473 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 6 Jan 2011 18:15:26 +0100 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 p06HFQxt018096 for ; Thu, 6 Jan 2011 18:15:26 +0100 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p06HFLEC007312 for ; Thu, 6 Jan 2011 18:15:25 +0100 Received: from morse.mittelbach-online.de (p3EE3E158.dip.t-dialin.net [62.227.225.88]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MM2UC-1PgN522lQa-007iJZ; Thu, 06 Jan 2011 18:15:21 +0100 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id D93D272F07; Thu, 6 Jan 2011 18:15:17 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 References: <1713005794.1189899.1293724895711.JavaMail.fmail@mwmweb012> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V02:K0:dMBJInSjYqDBUt+oKIWqWGSVVhiuPyozUrVdaoFqt2h 3RL1PHo8uGoGuYLt/u+XuB+PgTiDThzylhkgbFym2UyLFXAlvx dLE6uqKMmxIAbww62+51IJ0OCWiolO9FYa6FKuJCtSj2ldPBzP og1g6iKWoo1C3Cw6bjFlflKoq7MD5EnCksAnI1xYEqFpNzZXM6 lWkG/Ka8pQEpyyxr1AepQ== X-Spam-Whitelist-Provider: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p06HFQxt018097 Message-ID: <19749.63653.743551.563511@morse.mittelbach-online.de> Date: Thu, 6 Jan 2011 18:15:17 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: variable opt arg delimiters [was: Defining a ...] To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <1713005794.1189899.1293724895711.JavaMail.fmail@mwmweb012> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7bnSLVW+CwI5D12EFi8O0kjG6WQoWUyJZa/tsAeZ e++4A==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: 6538 Uwe Lueck writes: > I wrote: > > A better proposal than using different category codes is > > programming macros with optional arguments obeying > > a convention that makes a choice of delimiters available to users. > > Any macro package replacing \@ifnextchar[ by some > > \ifx\let@token\opt@arg@delim could be run this way. > > > > If no LaTeXY will adopt this, I will call it LüTeX :-) > > I had thought of posting such a "feature request" earlier, > refrained from it for not having found a good idea how > to implement it. If I now found it so simple, I must have > overlooked a problem ... > > [...] > > Maybe this already is in xparse? Sorry, I cannot afford more right now ... Uwe xparse offer a fairly general snytax including variable delimiters and default values per argument and more. Perhaps you should *indeed* have a look at it one day :-) and it could be easily used on top of 2e if so desired what is not offered right now is mandatory arguments with arbitrary delimiters on the left or right, though one could achieve even those in an emergency using "u" argument type twice (I guess) frank