thankyou Vianney and Jano,
I'm using MarkII.
Anyway \pagenumber is not usefull because there ir more than 1 index item per page.
But using a number and incrementing it each index ocurrence works neither.
Excuse my ignorance, but I don't know what is "expanded" or what does the "expansion" key?
thankyou for your answers.
--------------------
Horacio Suarez
> To: ntg-context@ntg.nl
> From: jano.kula@tiscali.cz
> Date: Tue, 23 Nov 2010 11:37:49 +0100
> Subject: Re: [NTG-context] index sort question
>
> Hi Horacio,
>
> On 11/21/2010 10:48 PM, Horacio Suarez wrote:
> > Jano, thankyou very much.
> >
> > It is a songs book, and I need an author table of content.
> >
> > Your solution is very good, works fine, but using \pagenumber or
> > incrementing a counter I canīt make it work.
> >
> > I replace \pagenumber with a incremental number to assure the label sorting.
> >
> > So using the original sample, instead of:
> >
> > A\index[arbol+\pagenumber]{arbol+rojo}\page
> > B\index[araņa+\pagenumber]{araņa+linda}\page
> > C\index[arbol+\pagenumber]{arbol+verde}\page
> > D\index[araņa+\pagenumber]{araņa+grande}\page
> > E\index[arbol+\pagenumber]{arbol+blanco}\page
> >
> >
> > it is now
> >
> > A\index[arbol1]{arbol+rojo}\page
> > B\index[araņa2]{araņa+linda}\page
> > C\index[arbol3]{arbol+verde}\page
> > D\index[araņa4]{araņa+grande}\page
> > E\index[arbol5]{arbol+blanco}\page
> >
> >
> > Even itīnot elegant, the Author index is very nice!
> >
> > Maybe yo know why I canīt make it work.
>
> Are you using MarkII or MarkIV? In mkiv the above solution works here.
> In mkii \expadned makes it work as Vianney has already suggested.
>
> Jano
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________