At 11:31 PM 12/6/2001 +0100, Taco Hoekwater wrote:
>Tobias Burnus wrote:
> >
> > Hi,
> >
> > First I'd like to thank Taco for the calculation work, it works
> > like a charm :-)
>
>You're welcome :)
>
> > I have:
> > \def\Semester{Wintersemester 2001/2002}
> > \stretcheduppercase{VORLESUNGSKRITIK ZUM \Semester}
> > \bye
>
>\expanded{\stretcheduppercase{VORLESUNGSKRITIK ZUM \Semester}}
this is indeed the way to go; for those unfamiliar with the \expanded macro
(not a primitive): the first thing encountered is *not* expanded, which is
what one often wants, like in
\expanded{\somekindofcommand{the stuff to be expanded}
it even works well in cases like:
\expanded{\somecommand[first not yet expanded arg]}[second already
expanded arg]
which is more unreadable but faster than
\expanded{\somecommand[....][...]}
i something should not be expanded inside \expanded, precede it by
\noexpand (except for the first token)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------