Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 17:41:50 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n81FfoZe022551 for ; Tue, 1 Sep 2009 17:41:50 +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 n81FbJwb020868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Sep 2009 17:37:19 +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 n81Bbgkl010493; Tue, 1 Sep 2009 17:37:17 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 291476 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 1 Sep 2009 17:37:17 +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 n81FbHMg004396 for ; Tue, 1 Sep 2009 17:37:17 +0200 Received: from mail.umu.se (jazz.umdac.umu.se [130.239.8.31]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id n81Fb76F005767 for ; Tue, 1 Sep 2009 17:37:11 +0200 Received: from hexley.local ([130.239.119.186]) by mail.umu.se (8.13.6/8.13.1) with ESMTP id n81Fb1Nb034682 for ; Tue, 1 Sep 2009 17:37:06 +0200 (MEST) User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 References: <122D1D66-1300-424C-9FBC-11C0B0CCB6C9@gmail.com> <4A9517EA.208@residenset.net> <7FF23F49-785D-444F-94E0-28498B035A60@gmail.com> <4A97D80A.4000602@residenset.net> <5AEE5632-BCE2-4ED1-8FCA-F882AC15912F@gmail.com> 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 n81FbHMg004397 Message-ID: <4A9D406A.4090300@residenset.net> Date: Tue, 1 Sep 2009 17:40:26 +0200 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: template vs template-alt To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <5AEE5632-BCE2-4ED1-8FCA-F882AC15912F@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: 01 Sep 2009 15:41:50.0740 (UTC) FILETIME=[B90F1D40:01CA2B1A] Status: R X-Status: X-Keywords: X-UID: 6057 Will Robertson skrev: > I'm going to be a bit quiet over the next little while, but after that I > may try to put together a "template-alt-alt" along these lines to see > how things turn out. Then I might dig up another idea I had concerning classical template, namely to use braces in the names of control sequences implementing instances (and other things). Concretely, that could mean we roughly (e.g. forgetting about collections for the moment) have the definition \cs_set_nopar:Npn \UseInstance #1#2 { \use:c{ UseInstance { #1 } { #2 } } } The idea here is that if TeX emits some error message about the macro in question, then it will refer to (say) \UseInstance{hj}{flushleft}, which tells the casual user where something is going wrong (with the flushleft instance of template type hj), even though he may not understand how TeX intended the error message to be parsed. LaTeX2e has something similar going on with font names. TeX's overfull hbox messages contain strings like \OT1/cmr/m/it/10 which (if you know a bit of NFSS) are fairly easy to interpret as "here we switch to medium italic 10pt of OT1-encoded Computer Modern Roman" -- it is not so obvious (or relevant) that \OT1/cmr/m/it/10 is also the low-level control sequence which when executed will switch to that font. Lars Hellström