[texhax] macro help
tom sgouros
tomfool at as220.org
Thu Aug 10 04:17:31 CEST 2006
Philip TAYLOR <P.Taylor at Rhul.Ac.Uk> wrote:
> But this one is more interesting, in that I can't see wherein
> the problem lies ! \csname STREET1\endcsname is perfectly
> valid TeX, and will yield either \relax (if \csname STREET1\endcsname
> was undefined) or the pre-defined expansion of \csname STREET1\endcsname
> (assuming that you use it in a context in which expansion is not inhibited).
>
> If your only problem is that you don't know to define
> \csname STREET1\endcsname, then the following should
> suffice :
>
> \expandafter \def \csname STREET1\endcsname {<whatever>}
Yes, that was apparently my only problem. I assumed that not being able
to define the macro in the usual way meant that the digit in the name
was an issue. But I see that it's an issue for the parser, after a
manner of speaking, but not for the engine.
Many thanks.
-tom
--
------------------------
tomfool at as220 dot org
http://sgouros.com
http://whatcheer.net
More information about the texhax
mailing list