From: Jano Kula <jano.kula@tiscali.cz>
To: ntg-context@ntg.nl
Subject: Re: index sort question
Date: Fri, 19 Nov 2010 10:45:56 +0100 [thread overview]
Message-ID: <ic5h0l$7qu$1@dough.gmane.org> (raw)
In-Reply-To: <SNT114-W56CEAABB3CB4AA21DF2472B4390@phx.gbl>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-19 9:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 21:50 Horacio Suarez
2010-11-19 9:45 ` Jano Kula [this message]
2010-11-19 9:49 ` Jano Kula
2010-11-21 21:48 Horacio Suarez
2010-11-22 7:52 ` Vianney le Clément
2010-11-23 10:37 ` Jano Kula
2010-11-23 12:27 ` Horacio Suarez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ic5h0l$7qu$1@dough.gmane.org' \
--to=jano.kula@tiscali.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).