Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 Aug 2009 09:35:16 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7L7ZFdZ024843 for ; Fri, 21 Aug 2009 09:35:15 +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 n7L7ViDE002469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 09:31:44 +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 n7KM1YdI008874; Fri, 21 Aug 2009 09:31:38 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 286691 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 21 Aug 2009 09:31:38 +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 n7L7Vc2d021996 for ; Fri, 21 Aug 2009 09:31:38 +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 n7L7VNHe002191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 21 Aug 2009 09:31:26 +0200 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate01.uea.ac.uk (8.13.1/8.13.1) with ESMTP id n7L7VMNq000690 for ; Fri, 21 Aug 2009 08:31:22 +0100 Received: from [139.222.114.191] by ueams01.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MeOak-0001Ue-H0 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 21 Aug 2009 08:31:18 +0100 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 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> <19084.8165.557822.97482@morse.mittelbach-online.de> <4A8C3026.3060800@morningstar2.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Canit-CHI2: 0.00 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, outgoing) X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 28671799 - cd30a78c2c49 X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.184 Message-ID: <4A8E4D47.9050509@morningstar2.co.uk> Date: Fri, 21 Aug 2009 08:31:19 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: template types To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4A8C3026.3060800@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 21 Aug 2009 07:35:16.0297 (UTC) FILETIME=[ED456390:01CA2231] Status: R X-Status: X-Keywords: X-UID: 5966 Joseph Wright wrote: >> > 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) > > Just a first thought, based on a better understanding of the concept. As > you say, this might not be the best idea in the end. I will probably > write myself some (private) notes on the structure now I have a better > picture of how things work, and see if anything else strikes me. Okay, I was thinking about this again, with some examples in mind. At the level which is currently \DeclareTemplateType, it looks to me we have things like: - Sectioning (chapters, sections, parts) - Paragraph shape - Note layout (footnotes, marginal notes, etc.) - Lists (itemised, enumerated, description) and so on. I'd probably call these "design elements", so it's pretty clear to me that "template" doesn't fit in here. We could consider \DeclareDesignElement or \DeclareElement (I don't like the later as, since I'm a chemist, it suggests something very different!). However, I'm not dismissing the \DeclareInstanceClass idea as it fits with \DeclareInstance nicely. -- Joseph Wright