On Sun, 07 Apr 2002, Hans Hagen wrote:
> At 04:08 PM 4/6/2002 +1000, Daniel Pittman wrote:
[...]
>>I can obviously pretty that up a little by wrapping it into a
>>'ExpandedIndex' macro or such that will do the expansion, etc, and
>>write the final index note.
>>
>>Is there a better way of achieving this result, though?
[...]
> \setupregister[index][expansion=yes]
[...]
> [expansion=yes] expands the index entry, but leaves macros defined as
> \unexpanded\def\... untouched, so most of the context commands will be
> passed as commands
>
> [expansion=command] is another option, this gives a one level
> expansion
Thanks. That does it very nicely. :)
Daniel
--
The scenario of terrorism, then, as a mutating virus that copies itself to
American rage on its way to revenge against the host-scapegoat.
-- Arthur and Marilouise Kroker, _Terrorism of Viral Power_