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 o1HF8Wx2011559 for ; Wed, 17 Feb 2010 16:08:35 +0100 Received: (qmail 24202 invoked by alias); 17 Feb 2010 15:08:27 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 17 Feb 2010 15:08:26 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx111) with SMTP; 17 Feb 2010 16:08:26 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o1HF5f6L002585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Feb 2010 16:05: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 o1GN12qV006687; Wed, 17 Feb 2010 16:05:40 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 398041 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 17 Feb 2010 16:05:40 +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 o1HF5eGw027865 for ; Wed, 17 Feb 2010 16:05:40 +0100 Received: from ueamailgate03.uea.ac.uk (ueamailgate03.uea.ac.uk [139.222.128.32]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o1HF5Ube002058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Feb 2010 16:05:34 +0100 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate03.uea.ac.uk (8.13.8/8.13.8) with ESMTP id o1HF5UMD026038 for ; Wed, 17 Feb 2010 15:05:30 GMT Received: from [139.222.203.76] by ueams01.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NhlT0-0006FK-Ds for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 17 Feb 2010 15:05:30 +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> 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.78 X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 42934865 - 1d003ad425bc - 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: <4B7C05BB.8030403@morningstar2.co.uk> Date: Wed, 17 Feb 2010 15:05:31 +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: <4B7C044A.50006@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: 6299 On 17/02/2010 14:59, Joseph Wright wrote: > On 17/02/2010 14:38, Philipp Stephani wrote: >> through the input processor, things like spaces and comments are >> inevitably lost. I thought of something like this: > > We had quite a bit of discussion before about verbatim input and xparse. > At the time the general agreement seemed to be that you can't reliably > tackle all verbatim items with a generic function. So we decided that it > was best to stick to code that will work reliably and accept that some > items (a small percentage of all functions) will need handling "by hand". 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). -- Joseph Wright