From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: (again) bug in index sorting?
Date: Sun, 2 Nov 2014 12:45:25 +0100 [thread overview]
Message-ID: <908D2BFC-EC47-473D-9C85-0659CD2CACE2@gmail.com> (raw)
In-Reply-To: <mailman.1.1414926001.30175.ntg-context@ntg.nl>
On 2 Nov 2014, at 12:00 , Pablo Rodriguez <oinos@gmx.es> wrote
>
> I have the following sample:
>
> \setuppapersize[A6]
> \starttext
> \index{tipografía digital}
> \index{tipografías}
> \index{tomato white}
> \index{tomatoes red}
> \index{idioma+de un pasaje}
> \index{idioma+del documento}
> \completeindex
> \stoptext
>
> Latest beta from 2014.10.31 12:47 sorts the index entries the following way:
>
> tomatoes red
> tomato white
>
> Of course, this sample doesn’t make sense, but the entries in Spanish
> do. All of them are wrong sorted.
>
> Stable version from 2014.01.03 00:40. The different sorting criterium
> seems to have been introduced in beta from 2014.10.22 16:23.
>
> Or shouldn’t be the first word sorted first and then the second one in
> index entry?
>
> Could anyone be so kind to confirm the bug?
>
> Many thanks for your help,
>
>
> Pablo
Hi Pablo,
I cannot confirm any bug, but what I would do anyway is to force the sorting in whatever order I want by using
\index[]{} with the argument specifying the order.
So your example could be:
\starttext
\index[tipograf\'{i}adig]{tipograf\'{i}a digital}
\index[tipograf\'{i}as]{tipograf\'{i}as}
\index[idiomadeu]{idioma+de un pasaje}
\index[idiomadel]{idioma+del documento}
\completeindex
\stoptext
if you want tipografias digital before tipografias.
This works with all mkiv and mkii versions I have, including the ones that I installed today. I use it for a rather comlex three-level index and it works flawlessly (for me).
Best regards,
Robert Blackstone
___________________________________________________________________________________
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 parent reply other threads:[~2014-11-02 11:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1414926001.30175.ntg-context@ntg.nl>
2014-11-02 11:45 ` Robert Blackstone [this message]
2014-11-02 15:05 ` Alan BRASLAU
[not found] <mailman.229.1415005279.2277.ntg-context@ntg.nl>
2014-11-03 12:22 ` Robert Blackstone
2014-11-03 13:50 ` Alan BRASLAU
2014-11-03 18:11 ` Pablo Rodriguez
2014-11-01 16:24 Pablo Rodriguez
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=908D2BFC-EC47-473D-9C85-0659CD2CACE2@gmail.com \
--to=blackstone.robert@gmail.com \
--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).