Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 Aug 2009 08:03:13 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7L63DF4018732 for ; Fri, 21 Aug 2009 08:03:13 +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 n7L5xHsh029997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 07:59:17 +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 n7KM1YSw008874; Fri, 21 Aug 2009 07:59:14 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 285910 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 21 Aug 2009 07:59:13 +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 n7L5xDQm014102 for ; Fri, 21 Aug 2009 07:59:13 +0200 Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id n7L5wxNg005586 for ; Fri, 21 Aug 2009 07:59:02 +0200 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=[192.168.0.2]) by lon1-post-1.mail.demon.net with esmtp (Exim 4.69) id 1MeN9N-00044b-Y7 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 21 Aug 2009 05:58:59 +0000 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 References: <874332F9-007B-4945-87D5-48B28BBC11CC@gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4A8E37A0.20703@morningstar2.co.uk> Date: Fri, 21 Aug 2009 06:58:56 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: template customising To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <874332F9-007B-4945-87D5-48B28BBC11CC@gmail.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 21 Aug 2009 06:03:13.0773 (UTC) FILETIME=[119719D0:01CA2225] Status: R X-Status: X-Keywords: X-UID: 5964 Will Robertson wrote: > P.S. I guess that something like the above \EditInstance would require > a saved keyval list for the parameters used to generate the instance; > however, I don't think that's an unacceptable use of memory. I'm not sure it would. What creating an instance actually does is convert all of the keys into their basic tasks (such as \tl_set:Nn), then store them. I think it would be possible to get this "distilled" information back from the instance, add new items to it and rebuild the instance without needing the original keys. All of the instances look like \TP_push_assignments:n { } \\TP>"type"/"instance" so we just have to have the correct delimited macro to get the back out. The internal macro \\TP>"type"/"instance" does not contain any of the settings, just their use. -- Joseph Wright