Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Sep 2008 09:48:02 +0200 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m8B7luwk007447 for ; Thu, 11 Sep 2008 09:47:57 +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 m8B7hEAj019506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Sep 2008 09:43:14 +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 m8AM1FHQ017495; Thu, 11 Sep 2008 09:43:13 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 29753 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 11 Sep 2008 09:43:13 +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 m8B7hDKV025994 for ; Thu, 11 Sep 2008 09:43:13 +0200 Received: from mailgate5.uea.ac.uk (mailgate5.uea.ac.uk [139.222.130.185]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id m8B7gtMh019221 for ; Thu, 11 Sep 2008 09:42:59 +0200 Received: from [139.222.128.187] (helo=ueams04.uea.ac.uk) by mailgate5.uea.ac.uk with esmtp (Exim 4.50) id 1KdgpL-0002s8-7a for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 11 Sep 2008 08:42:55 +0100 Received: from [139.222.202.58] by ueams04.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KdgpL-0002Lf-6S for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 11 Sep 2008 08:42:55 +0100 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 References: <48C8BAD5.9000003@morningstar2.co.uk> <859ec5630809110030y52a639c6x1138b529afa2bcff@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <48C8CBFF.2090900@morningstar2.co.uk> Date: Thu, 11 Sep 2008 08:42:55 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Setting tlp via toks: is there a better way than ... To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <859ec5630809110030y52a639c6x1138b529afa2bcff@mail.gmail.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 11 Sep 2008 07:48:02.0183 (UTC) FILETIME=[B7AC5170:01C913E2] Status: R X-Status: X-Keywords: X-UID: 5291 Morten Høgholm wrote: >> >> \toks_set:No \l_tmpa_toks {stuff including "#1"} > > \toks_set:Nn I think you mean. Yes, of course. >> \tlp_set:Nx \l_my_tlp {\toks_use:N\l_tmpa_toks} >> >> Is there a pre-coded function for this (I may have misunderstood somewhere). > > Not exactly precoded but what you usually do is > \tlp_set:Nx \l_my_tlp {\exp_not:n{unexpanded #1}} Ah yes, that works nicely. > The at first sight weird looking \exp_not:o and \exp_not:f start > becoming more useful in this context. I'll take your word for it! -- Joseph Wright