Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(5.0.2195.6713); Sun, 16 May 2004 21:02:28 +0200 Received: by mail.proteosys.com (8.12.10/8.12.2) with ESMTP id i4GJ2Llo008062 for ; Sun, 16 May 2004 21:02:23 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.119.176]) by relay.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i4GIvk1K009279; Sun, 16 May 2004 20:57:46 +0200 (MET DST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C43B78.54EABA00" Received: from listserv (listserv.uni-heidelberg.de [129.206.119.176]) by listserv.uni-heidelberg.de (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i4E1RhOp005625; Sun, 16 May 2004 20:56:26 +0200 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8e) with spool id 210155 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 16 May 2004 20:56:25 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i4GIuPUZ005831 for ; Sun, 16 May 2004 20:56:25 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by relay2.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i4GIvYD6014901 for ; Sun, 16 May 2004 20:57:35 +0200 (MET DST) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BPQpK-0005O4-00 for LATEX-L@listserv.uni-heidelberg.de; Sun, 16 May 2004 20:57:34 +0200 Received: from [80.129.14.11] (helo=istrati.mittelbach-online.de) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BPQpJ-00077n-00 for LATEX-L@listserv.uni-heidelberg.de; Sun, 16 May 2004 20:57:34 +0200 Received: (from frank@localhost) by istrati.mittelbach-online.de (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id i4GIuq526322; Sun, 16 May 2004 20:56:52 +0200 In-Reply-To: References: <16549.4057.399610.750080@istrati.mittelbach-online.de> <16550.4621.526207.509473@istrati.mittelbach-online.de> <16551.33482.606374.833460@istrati.mittelbach-online.de> Return-Path: X-Mailer: VM 6.96 under Emacs 20.7.1 X-OriginalArrivalTime: 16 May 2004 19:02:28.0750 (UTC) FILETIME=[555D2AE0:01C43B78] X-Authentication-Warning: istrati.mittelbach-online.de: frank set sender to frank@mittelbach-online.de using -f X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:923c546e49b26a7485eda6910e23f403 X-ProteoSys-SPAM-Score: 0.2 () RCVD_IN_NJABL,RCVD_IN_SORBS Content-class: urn:content-classes:message Subject: Re: Why don't we do just the following: Date: Sun, 16 May 2004 19:56:52 +0100 Message-ID: A<16551.47476.13708.161193@istrati.mittelbach-online.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Why don't we do just the following: Thread-Index: AcQ7eFWXbuOLjrBRQ6KId8Sj4KRPqQ== From: "Frank Mittelbach" Sender: "Mailing list for the LaTeX3 project" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4788 This is a multi-part message in MIME format. ------_=_NextPart_001_01C43B78.54EABA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable David > > so does yours i think, or how was your proposal meant? > > It was supposed to hit at \label time. But since putting a label i still don't see how that would work without starting to rewrite the = code for \label which would be awfully dangerous and error prone. so if i = overlook something obvious i would be interested to see how you would go for it. = as i understand your code fragment it only hits at \ref time > inside of a figure in order to get a \pageref would be legal... indeed, which why i think my approach is better than attempting to make = that \label an error. > > > > any suggestion for a good text? > > > > > > \label{whatever} without preceding or enclosing \caption. > > > Labels must follow the item they are referencing. > > > > well "whatever" is not known when we generate that text, is it? > > Probably not. But doesn't \label use something like \protected@edef > before \write? If the label name at that time was stored in some > macro, it should be possible to have it written out as part of the > text. but not by the time you see the \ref. and trying to acpture it at \label = time means you have to deal with actually getting the right label text on top = of the problem that you really don't want to make \label's for \pageref's = illegal frank > > -- > David Kastrup, Kriemhildstr. 15, 44793 Bochum ------_=_NextPart_001_01C43B78.54EABA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: Why don't we do just the following:

David

 > > so does yours i think, or how was your = proposal meant?
 >
 > It was supposed to hit at \label = time.  But since putting a label

i still don't see how that would work without starting = to rewrite the code for
\label which would be awfully dangerous and error = prone. so if i overlook
something obvious i would be interested to see how = you would go for it. as i
understand your code fragment it only hits at \ref = time

 > inside of a figure in order to get a = \pageref would be legal...

indeed, which why i think my approach is better than = attempting to make that
\label an error.

 > >  > > any suggestion for a = good text?
 > >  >
 > >  > \label{whatever} without = preceding or enclosing \caption.
 > >  > Labels must follow the = item they are referencing.
 > >
 > > well "whatever" is not = known when we generate that text, is it?
 >
 > Probably not.  But doesn't \label use = something like \protected@edef
 > before \write?  If the label name at = that time was stored in some
 > macro, it should be possible to have it = written out as part of the
 > text.

but not by the time you see the \ref. and trying to = acpture it at \label time
means you have to deal with actually getting the = right label text on top of
the problem that you really don't want to make = \label's for \pageref's illegal

frank
 >
 > --
 > David Kastrup, Kriemhildstr. 15, 44793 = Bochum

------_=_NextPart_001_01C43B78.54EABA00--