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 p9EDOOSN013523 for ; Fri, 14 Oct 2011 15:24:25 +0200 Received: (qmail 30729 invoked by alias); 14 Oct 2011 13:24:19 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 14 Oct 2011 13:24:18 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx088) with SMTP; 14 Oct 2011 15:24:18 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p9EDK6GT016553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Oct 2011 15:20:06 +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 p9ED03j5025032; Fri, 14 Oct 2011 15:20:05 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1802348 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 14 Oct 2011 15:20:05 +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 p9EDK5eR022403 for ; Fri, 14 Oct 2011 15:20:05 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p9EDJtdf003936 for ; Fri, 14 Oct 2011 15:19:58 +0200 Received: from mittelbach-online.de (p3EE3FCE0.dip.t-dialin.net [62.227.252.224]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0Lbh4l-1Qn2YM3gPD-00kh42; Fri, 14 Oct 2011 15:19:54 +0200 Received: by mittelbach-online.de (Postfix, from userid 783) id 808231721DFA; Fri, 14 Oct 2011 15:19:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on Marlowe X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.2.5 Received: from [127.0.0.1] (unknown [192.168.123.104]) (Authenticated sender: frank) by mittelbach-online.de (Postfix) with ESMTPSA id 75F411721DF8 for ; Fri, 14 Oct 2011 15:19:48 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111014-0, 14.10.2011), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V02:K0:YV8p2R4ZVcpo8siurLj43dsFY8rI84zLDjnpukquCOJ YEBvvY6+50Xm/weWjZK3GB+AOybaV9H7EEkl7bLWHgNJKoWWlo 9EWGdOkDibVaJDYwSEX6t+DETSmnRAKKWthGEqceofDakFxtKa Lv3ib+aPopO9AEk+J8F2pnpfTkEFCFFWaYk4qp5vaLviyMJjHe 9xlblTMtCH08zvKPn7XM+PFWvq90NiXt1GFROsmqEgpqb3zQas OFt4QmYjeRhgVL9EoIhgSfL09MnKWD+/8xIxnoez+HVxZRcxRH qFjNqgy4kchzXJ0Dgr+uZPR3LBkM9HLM29AbCbF4pcYu/7VIxa Y7CKdd84PC9u6nNPmVe3trzB+Nc/Fux7HLbRmlKqo Message-ID: <4E9836EF.7080500@latex-project.org> Date: Fri, 14 Oct 2011 15:19:43 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: templates and environments To: LATEX-L@listserv.uni-heidelberg.de Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6sJLDpZh614LdjtwLz6vwIAQ0o3v75Ay3b+vIu5I+OFuHC32M8vZHKTYra6 SipvBHBUHbX/zMRDwnanSe17bnplWm3knWu0xGDfVGDYW5vQ2nvkNNZ/dur9CdfZPNCk4kwxTw5X K1nIZIVZBPzuS6YNddOfVETmVUbblsJUW5EYGXE0O7fkEWE20bfwwfZXck=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: 6943 Currently templates and their instances are supposed to take a defined number of arguments as defined by their ObjectType and then execute the template code (with certain key value settings). There is no explicit support for environments. Now I wonder if this is something that would need changing. If so how? What are the options? 1) use the current mechanism the way it is and 1.1) if there is a need to execute code at the end of the environment provide an additional ObjectType (and additional templates) 1.2) Have the template that requires code at the end of the environment store that in some token list \l_template_end_code_tl and in the standard end code for an environment execute \l_template_end_code_tl \tl_clear:N \l_template_end_code_tl Alternatively 2) Provide a set of additional declaration and usage commands, e.g. \DeclareEnvTemplate, etc that have one more argument holding and using the end code 3) others? ... thoughts anybody? cheers frank