Re: [NTG-context] (again) bug in index sorting?
On 2 Nov 2014, at 12:00 , Pablo Rodriguez
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
On Sun, 2 Nov 2014 12:45:25 +0100
Robert Blackstone
On 2 Nov 2014, at 12:00 , Pablo Rodriguez
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).
Because I have become obsessed with the APA style rules recently (;-), \startquotation Alphabetize letter by letter. When alphabetizing surnames, remember that “nothing precedes something”: Brown, J. R., precedes Browning, A. R., even though i precedes j in the alphabet. Singh, Y., precedes Singh Siddhu, N. López, M. E., precedes López de Molina, G. Ibn Abdulaziz, T., precedes Ibn Nidal, A. K. M. Girard, J.-B., precedes Girard-Perregaux, A. S. Villafuerte, S. A., precedes Villa-Lobos, J. Benjamin, A. S., precedes ben Yaakov, D. \stopquotation Of course, these are names, a favorite subject that I share with Hans these days... Alan
participants (2)
-
Alan BRASLAU
-
Robert Blackstone