Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Nov 2009 12:37:03 +0100 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id nAABb2Pg008157 for ; Tue, 10 Nov 2009 12:37:03 +0100 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 nAABXtor015406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Nov 2009 12:33:56 +0100 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 nAA9E8ko021466; Tue, 10 Nov 2009 12:33:50 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 372050 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 10 Nov 2009 12:33:50 +0100 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 nAABXo8l023997 for ; Tue, 10 Nov 2009 12:33:50 +0100 Received: from csep02.cliche.se (csep02.cliche.se [195.249.40.184]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id nAABXYhX014104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 10 Nov 2009 12:33:38 +0100 Received: from hexley.local (unknown [213.21.117.168]) by csep02.cliche.se (Postfix) with ESMTP id 8465B186618 for ; Tue, 10 Nov 2009 12:32:40 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 References: <19189.17593.814557.704925@morse.mittelbach-online.de> <4AF5A79B.9040003@residenset.net> <19189.49743.74826.581704@morse.mittelbach-online.de> <4AF6DC52.2030401@residenset.net> <19192.40419.459314.486313@morse.mittelbach-online.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id nAABXo8l023998 Message-ID: <4AF94FFF.2090004@residenset.net> Date: Tue, 10 Nov 2009 12:35:27 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?ISO-8859-1?Q?Lars_Hellstr=F6m?= Subject: Re: an object type for heading commands To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <19192.40419.459314.486313@morse.mittelbach-online.de> 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: 10 Nov 2009 11:37:03.0732 (UTC) FILETIME=[1FD60B40:01CA61FA] Status: R X-Status: X-Keywords: X-UID: 6155 Frank Mittelbach skrev: > Lars, [snip] > > Depends on whether you look at it graphically or semantically. For > > designing a general API, I think you really need to look at it > > semantically. > > yes agreed, but we can only go semantically up to a certain level, otherwise > you need to specify 100+ arguments and still haven't covered all > possibilities. > > what i'm currently thinking might be reasonable is > > - subtitle (which is text that is semantically related to main title) > - motto/quote text (text which is semantically unrelated to main title) > > and support both. > > - text credits (which is author copyright or similar info but not > semantically specified further) > > if more control is needed then that type is not specialized enough to support > it. This suggests you're open to using a different object type in some cases? Indeed, that's not a bad idea: A document class with _very_ special heading needs can be expected to use its own object type for headings (in addition to the basic definition of instances, this would require redefining all sectioning commands and defining new templates for the new type, but it is perfectly doable). Packages meant to configure standard headings will then not work off the self for this class, but it is still as configurable as the standard headings. If we're clear that completely bypassing a subsystem such as the heading templates is OK also in LaTeX3 (though this comes at the cost of having to reimplement a bunch of stuff yourself), then it's not the end of the world if there are things that the standard heading object type cannot accomplish. It's better that it does 90% of all things well and elegantly, than that it does 99.99% of all things with an API only wizards can comprehend. Lars Hellström