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 p4GLuwZ2029769 for ; Mon, 16 May 2011 23:57:00 +0200 Received: (qmail 5980 invoked by alias); 16 May 2011 21:56:54 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 May 2011 21:56:53 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx096) with SMTP; 16 May 2011 23:56:53 +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 p4GLsp4j002447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 May 2011 23:54:51 +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 p4GKkjKo004064; Mon, 16 May 2011 23:54:50 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1306698 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 16 May 2011 23:54:50 +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 p4GLsoGQ019811 for ; Mon, 16 May 2011 23:54:50 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p4GLsifD031886 for ; Mon, 16 May 2011 23:54:50 +0200 Received: from morse.mittelbach-online.de (p3EE3F64F.dip.t-dialin.net [62.227.246.79]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LuFsJ-1PfQsV27zL-011mcj; Mon, 16 May 2011 23:54:44 +0200 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id BC5D874F3B; Mon, 16 May 2011 23:54:41 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4DCA93CC.5020605@morningstar2.co.uk> <19920.15087.714131.100464@morse.mittelbach-online.de> <447088.31292.qm@web24704.mail.ird.yahoo.com> <4DD0BFB3.7070007@morningstar2.co.uk> <27DAD3FD-9C28-4707-9454-FBB65B66A56D@gmail.com> <4DD0D8F4.7030101@morningstar2.co.uk> <4DD11D50.6000901@residenset.net> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V02:K0:+iL2GdTVH8MNQ+y91jLSSbiywKmLITBSjT8584U+IqI Lept5ES1ysrRX4ssHx9kAB3g9DvGpld6xfq9sqB36awjdVkoXh +rJWHVPTXm+OC8zPfC9CN37CybCh6JahrsZIEOQ65gj6qwqMTr HnVERALXGGkvtnLBoneZtj7ta8eFq0ui51TiuTJHzuvbKSnAzP 8RwarmT8e1TZjCOJ6HwzQ== X-Spam-Whitelist-Provider: Message-ID: <19921.40225.730390.362395@morse.mittelbach-online.de> Date: Mon, 16 May 2011 23:54:41 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: xparse and space skipping To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4DD11D50.6000901@residenset.net> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6HRL9CJLUCw+qCfRO7IcZXhXDn3z96ZdXzNf+fT1uoT5Mups8uv7nHZ+2pJ AaophABkyNxL3+GnIniCzMwEcaD8eu824K52OkRbEYABb9+NPaDvULczpq+3GJm3KS7LGDO/rbsD ytG4KZFmNXcMOGxaZm7/oS5P4UI0x8Ck+ieC1veXT6FmtdmQ21hZUwdkCzReOwL8GselQ==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: 6762 Lars wrote > 2. Sometimes, an existing command is redefined so that an optional > argument is added at the end. In such cases, it may be preferable to make > that argument such that it does not skip spaces, for compatibility with > existing documents written under the assumption that spaces would not be > skipped at that point. In other words, if > > \bar{apa} cepa > > used to have a space, and \bar for some reason in a package needs to be > extended to support \bar{apa}[bepa], then \bar{apa} cepa should still have > that space. in this particular case it would indeed be a bad change if a package "extends" a command in this way and the result is the loss of spaces in a document. On the other hand I don't think that a package author doing this would get very happy customers > Therefore, the solution should be to provide both, but let the > space-nonskipping variants come with a big warning in the xparse > documentation, detailing why they are usually inappropriate. In > particular, such documentation should suggest the argument order > > \bar[bepa]{apa} > > as preferable to > > \bar{apa}[bepa] > > since package authors are otherwise likely to pick one at random, never > even considering the syntactical implications. This might be an option for a compromise (in fact you could even force this to be only available in the last argument at some technical cost, though I would advice to not go that far but put in big guidelines) something to think about a bit further I guess (but not tonight) frank