Received: via tmail-4.1(11) (invoked by user schoepf) for schoepf; Wed, 26 Jan 2000 23:05:43 +0100 (MET) Received: from mailgate2.zdv.Uni-Mainz.DE (mailgate2.zdv.Uni-Mainz.DE [134.93.8.57]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id XAA10206 for ; Wed, 26 Jan 2000 23:05:43 +0100 (MET) MIME-Version: 1.0 Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mailgate2.zdv.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id XAA23660 for ; Wed, 26 Jan 2000 23:05:41 +0100 (MET) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BF6849.7D139580" Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <13.4BA89334@mail.listserv.gmd.de>; Wed, 26 Jan 2000 23:05:26 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 449841 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 26 Jan 2000 23:04:14 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id XAA19047 for ; Wed, 26 Jan 2000 23:04:13 +0100 (MET) Received: from sun06.ams.org (sun06.ams.org [130.44.1.6]) by relay.uni-heidelberg.de (8.9.3+Sun/8.9.3) with ESMTP id XAA16585 for ; Wed, 26 Jan 2000 23:04:12 +0100 (MET) Received: from sun06.ams.org by sun06.ams.org (PMDF V5.1-10 #27147) id <0FOY00402QPBZM@sun06.ams.org> for LATEX-L@URZ.UNI-HEIDELBERG.DE; Wed, 26 Jan 2000 17:05:35 -0500 (EST) In-Reply-To: Frank Mittelbach's message of Tue, 25 Jan 2000 21:43:42 +0100 Lines: 26 References: <200001141508.QAA00970@istrati.zdv.uni-mainz.de> <200001251624.RAA13149@relay.uni-heidelberg.de> <200001252043.VAA02307@istrati.zdv.uni-mainz.de> Return-Path: X-Mailer: Gnus v5.5/Emacs 20.2 x-vm-v5-data: ([nil nil nil nil nil nil nil nil nil]["1376" "Wed" "26" "January" "2000" "17:05:35" "-0500" "Michael J. Downes" "mjd@AMS.ORG" nil "26" "Re: templates for galley (paragraph) formatting" "^Date:" nil nil "1" nil nil nil nil nil]nil) Comments: Originally-From: Michael John Downes Content-class: urn:content-classes:message Subject: Re: templates for galley (paragraph) formatting Date: Wed, 26 Jan 2000 23:05:35 +0100 Message-ID: <200001262204.XAA16585@relay.uni-heidelberg.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Michael J. Downes" Sender: "Mailing list for the LaTeX3 project" To: "Multiple recipients of list LATEX-L" Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 3515 This is a multi-part message in MIME format. ------_=_NextPart_001_01BF6849.7D139580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Frank Mittelbach writes: > > publications: if a figure caption is less than one line in length, > > center it, otherwise use block justification: ... > > This is hard to handle by only declarative parameter settings. At = some > > level it is necessary to program a test for the length of the text. > > yes, but why is this difficult for a declarative interface? you are = right that > at run time the template needs to do tests to decide what to do but = then it > receives the caption text as argument (or so we hope:-) an so can make = test on > it. Sorry, I guess I didn't explain very well. It was only intended to be an off-hand remark, not anything profound or unexpected to readers of this list. I only meant the situation where the desired test is *not* already provided in a special template instance. Suppose Joe Bloggs at the University of Podunk in 2005 is working with this wonderful template system which is "completely declarative". If he finds that he wants a special caption format that requires such a test and the system does not already provide it, then he can not "declare" what he wants, he has to specify in some sort of procedural language the kind of test that he wants to apply, and find a programmer to implement it. This is not exactly an original thought; as I said it was only intended as an off-hand remark. ------_=_NextPart_001_01BF6849.7D139580 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: templates for galley (paragraph) formatting

Frank Mittelbach = <frank.mittelbach@LATEX-PROJECT.ORG> writes:

>  > publications: if a figure caption is = less than one line in length,
>  > center it, otherwise use block = justification:
...
>  > This is hard to handle by only = declarative parameter settings. At some
>  > level it is necessary to program a = test for the length of the text.
>
> yes, but why is this difficult for a declarative = interface? you are right that
> at run time the template needs to do tests to = decide what to do but then it
> receives the caption text as argument (or so we = hope:-) an so can make test on
> it.

Sorry, I guess I didn't explain very well. It was only = intended to be an
off-hand remark, not anything profound or unexpected = to readers of this
list. I only meant the situation where the desired = test is *not* already
provided in a special template instance. Suppose Joe = Bloggs at the
University of Podunk in 2005 is working with this = wonderful template
system which is "completely declarative". = If he finds that he wants a
special caption format that requires such a test and = the system does not
already provide it, then he can not = "declare" what he wants, he has to
specify in some sort of procedural language the kind = of test that he
wants to apply, and find a programmer to implement = it.

This is not exactly an original thought; as I said it = was only intended
as an off-hand remark.

------_=_NextPart_001_01BF6849.7D139580--