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 o1HFEbax012166 for ; Wed, 17 Feb 2010 16:14:38 +0100 Received: (qmail 5191 invoked by alias); 17 Feb 2010 15:14:32 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 17 Feb 2010 15:14:31 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx054) with SMTP; 17 Feb 2010 16:14: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 o1HFBZak003790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Feb 2010 16:11:36 +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 o1GN12rB006687; Wed, 17 Feb 2010 16:11:35 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 398107 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 17 Feb 2010 16:11:35 +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 o1HFBZK9028345 for ; Wed, 17 Feb 2010 16:11:35 +0100 Received: from ueamailgate03.uea.ac.uk (ueamailgate03.uea.ac.uk [139.222.128.32]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o1HFBPll003291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Feb 2010 16:11:29 +0100 Received: from ueams02.uea.ac.uk (ueams02.uea.ac.uk [139.222.131.131]) by ueamailgate03.uea.ac.uk (8.13.8/8.13.8) with ESMTP id o1HFBPMr007361 for ; Wed, 17 Feb 2010 15:11:25 GMT Received: from [139.222.203.76] by ueams02.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NhlYj-0005BX-AO for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 17 Feb 2010 15:11:25 +0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 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> <4B7C044A.50006@morningstar2.co.uk> <4B7C05BB.8030403@morningstar2.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, outgoing) X-CanIt-Geo: No geolocation information available for 139.222.131.131 X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 42935480 - 87f87d4c94cd - 20100217 X-Scanned-By: MIMEDefang 2.63 on 85.214.41.38 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.128.32 Message-ID: <4B7C071E.2080407@morningstar2.co.uk> Date: Wed, 17 Feb 2010 15:11:26 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: String module To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4B7C05BB.8030403@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4WX0t+AtsdW2ORvUlAfcdSIdQlIL3FTSFQDxQiodii41fjuqHQd8jelXgy3 MmJ3btkX5rSzFn9hFaFIkN3F60IXoQiiC2/fgzDMa2Sr9P5SXQm9Ht9JSeZtUVRZ8Ll4+eY8TRy+ si13Q==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: 6300 On 17/02/2010 15:05, Joseph Wright wrote: > I should add that the issue was *if* you could include verbatim input > using \NewDocumentCommand (as the last argument). The problem is not so > much getting things right for one argument but dealing with the various > cases: > - Several arguments with only the last optional > - Verbatim w.r.t. only some characters (some can be handled with > \scantokens, some cannot) > - Dealing entirely properly with nested functions (and making sure that > the limitations are clear). I should also add that perhaps having something like \DeclareVerbatimCommand is at least as sensible as \DeclareExpandableDocumentCommand. If others agree I'm sure we can look at it (starting with the suggested code and then trying to break it!). -- Joseph Wright