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 o1HFU4JO014163 for ; Wed, 17 Feb 2010 16:30:05 +0100 Received: (qmail 9565 invoked by alias); 17 Feb 2010 15:29:59 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 17 Feb 2010 15:29:58 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx101) with SMTP; 17 Feb 2010 16:29:58 +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 o1HFQfmQ011648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Feb 2010 16:26:41 +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 o1GN12sH006687; Wed, 17 Feb 2010 16:26:40 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 398326 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 17 Feb 2010 16:26:40 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o1HFQeTf030381 for ; Wed, 17 Feb 2010 16:26:40 +0100 Received: from csep02.cliche.se (csep02.cliche.se [195.249.40.184]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o1HFQPHN010715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Feb 2010 16:26:31 +0100 Received: from hexley.local (unknown [130.239.119.173]) by csep02.cliche.se (Postfix) with ESMTP id C5944186663 for ; Wed, 17 Feb 2010 16:26:23 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 References: <4B727378.8060704@morningstar2.co.uk> <20100210100943.GA3759@oberdiek.my-fqdn.de> <4B7298D6.7080206@morningstar2.co.uk> <20100210145258.GA18188@oberdiek.my-fqdn.de> <4B72D339.5080104@morningstar2.co.uk> <4B7AA5D7.8010104@elzevir.fr> <4B7BEB3D.8020105@residenset.net> <2D995100-34EE-4B91-BDFE-9BDCCF3A6BEC@yahoo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id o1HFQeTf030382 Message-ID: <4B7C0AAA.2000204@residenset.net> Date: Wed, 17 Feb 2010 16:26:34 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?UTF-8?B?TGFycyBIZWxsc3Ryw7Zt?= Subject: Re: String module To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <2D995100-34EE-4B91-BDFE-9BDCCF3A6BEC@yahoo.de> 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+OynZRhvlGqvET/J 3dm2vHWnQHIuidpgLhS+P7NNYz+zyHLMY9yCwFcpEP74SGx2F2+1SUI3sjCH7ntAdP+Qju/DAYyu a2z2w==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de X-Scanned-By: MIMEDefang 2.63 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 6301 Philipp Stephani skrev: > Am 17.02.2010 um 14:12 schrieb Lars Hellström: > >>> – e.g. with argument specifiers like "s" and "v" in xparse. >> Not quite that compact, but the concept of "argument processors" >> was added to xparse in part to support this kind of thing. (By "this kind of thing" I meant harmless character sequences, not \verb-style arguments.) > I have read about them, but the manual says "xparse introduces the > idea of an argument processor, which is applied to an argument after it > has been grabbed by the underlying system but before it is passed to > ⟨code⟩." so they can't be applied here – the catcode changes must be > performed before the argument is grabbed. Once it is through the input > processor, things like spaces and comments are inevitably lost. The trick is to not rely on catcode changes, but employ other methods for saying what you want. In my experience, and unless you only target one thing, you lose more in the corner cases by using \verb and \detokenize than you gain in convenience. Lars Hellström