Return-Path: Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 15 Jun 2011 12:26:23 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx017) with SMTP; 15 Jun 2011 14:26:23 +0200 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 p5FCO7T1031452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Jun 2011 14:24:07 +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 p5FBJe1U013891; Wed, 15 Jun 2011 14:24:06 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1259797 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 15 Jun 2011 14:24:06 +0200 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 p5FCO6Wo010870 for ; Wed, 15 Jun 2011 14:24:06 +0200 Received: from ueamailgate02.uea.ac.uk (ueamailgate02.uea.ac.uk [139.222.131.185]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p5FCNpRi029391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Jun 2011 14:23:56 +0200 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate02.uea.ac.uk (8.13.8/8.13.8) with ESMTP id p5FCNmPQ010807; Wed, 15 Jun 2011 13:23:49 +0100 Received: from [139.222.217.48] (helo=ashytailorbird2.hornet.uea.ac.uk) by ueams01.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1QWp8K-0005j2-Qp; Wed, 15 Jun 2011 13:23:44 +0100 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 References: <4DF7CBEF.6080402@arcor.de> <4DF7D114.3020601@morningstar2.co.uk> <4DF7D72A.7070401@arcor.de> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, outgoing) X-CanIt-Geo: ip=139.222.131.78; country=GB; region=I9; city=Norwich; latitude=52.6333; longitude=1.3000; http://maps.google.com/maps?q=52.6333,1.3000&z=6 X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 06EUcnMoj - bf6ad6b4930f - 20110615 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.185 Message-ID: <4DF8A454.6090301@morningstar2.co.uk> Date: Wed, 15 Jun 2011 13:23:48 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: xparse and hyperref: Token not allowed in a PDF string (PDFDocEncoding) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4DF7D72A.7070401@arcor.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antivirus: 0 (no virus found) X-GMX-Antispam: 5 (BackTrace mail analyze); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnGL2vqOgpaBYL16oitsMrgDt/NQNpSCZF7bt5n WT2HM05kZHMA2+V1T/kzHOXPU9LzGW5+z8hP8Ugqd1jciWZLw==V1; Status: R X-Status: X-Keywords: X-UID: 6785 On 14/06/2011 22:48, Stephan Hennig wrote: >> In the case case you mention, I'm not sure why you have used >> >> \DeclareExpandableDocumentCommand{\foob}{m}{FooB} >> >> rather than >> >> \DeclareExpandableDocumentCommand{\foob}{}{FooB} >> >> which works fine. > > Well, because of this item from xparse documentation (sec. 1.7): > >> * The function must have at least one mandatory argument, and in >> particular the last argument must be one of the mandatory types (l, m >> or u). > > Do I miss something? This is a documentation error, which I'll sort out for the next CTAN snapshot. -- Joseph Wright