LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Type:
text/plain; charset=us-ascii
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
From:
David Kastrup <[log in to unmask]>
Date:
Sun, 16 May 2004 21:43:06 +0200
In-Reply-To:
MIME-Version:
1.0
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (37 lines)
Frank Mittelbach <[log in to unmask]> writes:

> 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

No, it hits at the \protected@edef in \label, since it contains an
undefined control sequence name.  But it was a stupid idea, anyway.

>  > >  > > 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.

It would be expanded by the \protected@edef, of course.  That is at
\label time.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum

ATOM RSS1 RSS2