On Sun, Nov 21, 2010 at 22:48, Horacio Suarez <horaciosua...@hotmail.com> wrote:
> 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

I guess you should ensure that \pagenumber is expanded immediately.
Otherwise, it will be expanded on your table of contents page, which
will of course be the same number for every entry.

Maybe try with
   \setupregister[expansion=yes]

If that doesn't work, you could try replacing your \index commands with
   \expanded{\index[arbol+\pagenumber]{arbol+rojo}}

These are only guesses, I may be wrong.

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