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}\pageB\index[araña+\pagenumber]{araña+linda}\pageC\index[arbol+\pagenumber]{arbol+verde}\pageD\index[araña+\pagenumber]{araña+grande}\pageE\index[arbol+\pagenumber]{arbol+blanco}\page
it is 
nowA\index[arbol1]{arbol+rojo}\pageB\index[araña2]{araña+linda}\pageC\index[arbol3]{arbol+verde}\pageD\index[araña4]{araña+grande}\pageE\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.
Well, thankyou again.

--------------------
Horacio Suarez
Editorial Antropofagia
www.eantropofagia.com.ar



> To: ntg-context@ntg.nl
> From: jano.k...@tiscali.cz
> Date: Fri, 19 Nov 2010 10:49:35 +0100
> Subject: Re: [NTG-context] index sort question
> 
> On 11/19/2010 10:45 AM, Jano Kula wrote:
> > Hello Horacio,
> >
> > if you have only one index item per page, than on the second level you
> > can use \pagenumber for sorting:
> 
> or your own counter increased by every index item, which doesn't 
> restrict it to one item per page.
> 
> J.
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________



                                          
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to