Return-Path: Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 Jun 2011 10:46:54 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx103) with SMTP; 16 Jun 2011 12:46:54 +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 p5GAia9e026821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Jun 2011 12:44:36 +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 p5GAJ2ll008511; Thu, 16 Jun 2011 12:44:35 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1234961 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 16 Jun 2011 12:44:35 +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 p5GAiZGF023029 for ; Thu, 16 Jun 2011 12:44:35 +0200 Received: from ueamailgate01.uea.ac.uk (ueamailgate01.uea.ac.uk [139.222.131.184]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p5GAiME9026716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 16 Jun 2011 12:44:27 +0200 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate01.uea.ac.uk (8.13.8/8.13.8) with ESMTP id p5GAiMc7002836 for ; Thu, 16 Jun 2011 11:44:22 +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 1QXA3f-0003s8-Iq; Thu, 16 Jun 2011 11:44:19 +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> <20110614221243.GA9520@oberdiek.my-fqdn.de> <4DF8B044.2040903@morningstar2.co.uk> <4DF8BFD7.3060605@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: 05EUyImVH - d114770016a1 - 20110616 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.184 Message-ID: <4DF9DE87.1070505@morningstar2.co.uk> Date: Thu, 16 Jun 2011 11:44:23 +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: <4DF8BFD7.3060605@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/kzHOXPU9L/h0CxX9jCYpOWQOXd2LjEw==V1; Status: R X-Status: X-Keywords: X-UID: 6790 On 15/06/2011 15:21, Stephan Hennig wrote: > schrieb Joseph Wright: >> On 14/06/2011 23:12, Heiko Oberdiek wrote: >> >> \DeclareBookmarkableCommand\foo{m} >> {Standard code} >> {Bookmark code} > > The problem applies to PDF meta data too (pdftitle, pdfkeywords etc.). > Therefore, the command name shouldn't contain the word 'bookmark'. I'm not sure that to many document commands should end up here, but I guess you have a point. (An aside: a macro used to store tokens is a variable, not a document command, but as yet we have no document-level LaTeX3 command for these cases.) Basically, this all comes down to having expandable variants of document commands, and deciding how best to specify these. -- Joseph Wright