Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Aug 2009 17:56:23 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7JFuNJf015402 for ; Wed, 19 Aug 2009 17:56:23 +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 n7JFrL7A027923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 17:53:21 +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 n7JCdxe0021751; Wed, 19 Aug 2009 17:53:18 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 292410 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 19 Aug 2009 17:53:17 +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 n7JFrHeZ026436 for ; Wed, 19 Aug 2009 17:53:17 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n7JFrDtt015636 for ; Wed, 19 Aug 2009 17:53:17 +0200 Received: from morse.mittelbach-online.de (p54A84642.dip.t-dialin.net [84.168.70.66]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKt2u-1MdnTM1u45-000Rxg; Wed, 19 Aug 2009 17:53:12 +0200 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 90A796FB6B; Wed, 19 Aug 2009 17:53:09 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4A8986E9.5090209@morningstar2.co.uk> <3F0FECF5-03FB-44C2-99D6-07C3F6987F05@gmail.com> <19083.59487.548225.750361@morse.mittelbach-online.de> <4A8BF36D.6040000@morningstar2.co.uk> <19083.65388.211120.732256@morse.mittelbach-online.de> <4A8C1547.4030408@morningstar2.co.uk> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V01U2FsdGVkX1/6Pgl5jch5J0YilSc8CRjTF7B5tq9B/IdSCnX VhnUKwB3ZEF4VLLJhWTwbzg5IkZ6g2W6ND6mVnubC8jHGIbR7Z Ju6AsbFYeOyoauG00LdrA== X-Spam-Whitelist-Provider: Message-ID: <19084.8165.557822.97482@morse.mittelbach-online.de> Date: Wed, 19 Aug 2009 17:53:09 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: template types To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4A8C1547.4030408@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -106.599 () BAYES_00,RCVD_IN_DNSWL_MED,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 19 Aug 2009 15:56:23.0230 (UTC) FILETIME=[99BBC5E0:01CA20E5] Status: R X-Status: X-Keywords: X-UID: 5953 Joseph Wright writes: > > > (Based on the \cs_set:Nn idea, I'm not keen on repeating the number of > > > arguments here: should be picked up from the type.) > > > > yes it could but I'm personally not too keen on this kind of indirection > > but that again is a totally separate discussion and should worry us now. > > I assume "should *not* worry us now". There are several things to yes. *not* ... one unfotunately often has to add or remove such little words from my mails, mea culpa > decide, of course, but if we can get them discussed over not too long a > period it would be good. I'll perhaps come back to this issue, and some > other naming ones, in another mail. agreed. not "too long" but also not necessary incremental while we are still in the process of understanding/re-evaluating concepts. I mean, at the start of the thread you had already eliminated the "type" level altogether and below we start thinking about looking at the whole concept from yet another light > Following my modified example: > > \DeclareTemplateInstance { sectioning } { starts-new-page } > { chapter } { } > \DeclareTemplateInstance { sectioning } { space-before-and-after } > { section } { } > \DeclareTemplateInstance { sectioning } { space-before-and-after } > { subsection } { } > \DeclareTemplateInstance { sectioning } { space-before-and-after } > { subsubsection } { } yep, I think we are in agreement on what is meant > My general concern is to try to get template to the point where things > won't change again at the interface level. So I'm keen we agree on > things like naming and argument order, as in the longer term it's > important. yes, agreed, but rather than incrementally changing things back an forth I would like to mentally get at the desired picture first. That still might involve some level of iteration if we notice that things don't seem to quite fit once we try them in real life > From what you say, it sounds as if we are better looking at things a > slightly different way. The key connection is between instances and > types, with templates as a likely but not essential "glue". So is > something like: > > \DeclareInstanceType (was \DeclareTemplateType) > \DeclareTemplate (no change) > \DeclareInstanceFromTemplate (was \DeclareInstance) > \UseInstance (no change) > > any more logical? In that way, you can imagine declaring an instance in > some other way than from a template. I'm not looking for change for > changes sake, but am trying to make sure that things are as clear as > possible for anyone using the system. yes that seems to be much more in line with how I'm thinking about it. let's keep that as a candidate and let it settle a bit (get a feel for it) frank