[NTG-context] indexing suggestion

Taco Hoekwater taco at elvenkind.com
Tue Jan 17 15:43:01 CET 2006



Hans van der Meer wrote:
> Making this into a macro I am now typing:
>     in this \indexed{sentence} etc.


\def\indexed{\dosingleempty\doindexed}
\def\doindexed[#1]#2%
    {\iffirstargument\index[#1]{#2}\else\index{#2}\fi#2}

Cheers, Taco


More information about the ntg-context mailing list