Hello Horacio,
if you have only one index item per page, than on the second level you
can use \pagenumber for sorting:
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
The first level should be sorted alphabetically, because
1) you need to group index items according to first word (arbol, araña)
2) if the first item in the publication would start with "z", than you
would have "Z" as the first letterhead in the register (according to
what you want), not speaking about others, so you could get "Z G I E A N
L ..." as an alphabet, and nobody would find anything.
Jano
On 11/18/2010 10:50 PM, Horacio Suarez wrote:
hello all
In a index, is there a way to sort the items inside a letter not
alphabetically, I mean, in appearance order? or maybe there is another
way to do it.
I have now:
A
arbol
blanco, 15
rojo, 4
verde, 23
araña
grande, 50
linda, 12
I want:
A
arbol
rojo, 4
blanco, 15
verde, 23
araña
linda, 12
grande, 50
Thankyou in adavance.
--------------------
Horacio Suarez
___________________________________________________________________________________
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
___________________________________________________________________________________