X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["854" "Wed" "24" "November" "1999" "10:39:22" "+0100" "Hans Aberg" "haberg@MATEMATIK.SU.SE" nil "19" "Re: xparse package" "^Date:" nil nil "11" nil nil nil nil nil] nil) Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id KAA00513 for ; Wed, 24 Nov 1999 10:40:47 +0100 (MET) Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <4.D0E71D24@mail.listserv.gmd.de>; Wed, 24 Nov 1999 10:40:40 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 445333 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 24 Nov 1999 10:40:17 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id KAA02365 for ; Wed, 24 Nov 1999 10:40:13 +0100 (MET) Received: from knatte.tninet.se (knatte.tninet.se [195.100.94.10]) by relay.uni-heidelberg.de (8.9.1b+Sun/8.9.1) with SMTP id KAA25154 for ; Wed, 24 Nov 1999 10:40:22 +0100 (MET) Received: (qmail 29071 invoked from network); 24 Nov 1999 10:40:20 +0100 Received: from du147-226.ppp.su-anst.tninet.se (HELO ?195.100.226.147?) (195.100.226.147) by knatte.tninet.se with SMTP; 24 Nov 1999 10:40:20 +0100 X-Sender: haberg@pop.matematik.su.se Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: Reply-To: Mailing list for the LaTeX3 project Date: Wed, 24 Nov 1999 10:39:22 +0100 From: Hans Aberg Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: xparse package Status: R X-Status: X-Keywords: X-UID: 3436 A more general variation of the argument specificator o[\x] could be that if the argument is not present, then the command \x is executed. Then \x should be a command declared with \DeclareDocumentCommand, but the argument specificator should have the corresponding o[\x] removed. So, for example, in \DeclareDocumentCommand \Initial {o[\InitialNoLeading]mo[\InitialNoTrailing]} { \MakeInitial {#1}{#2}{#3} } one should also have the declarations \DeclareDocumentCommand \InitialNoLeading {mo} \DeclareDocumentCommand \InitialNoTrailing {om} where the ``o'' argument specificators can have new optional argument if so needed. Hans Aberg * Email: Hans Aberg * Home Page: * AMS member listing: