[NTG-context] definesortkey

Hans Hagen pragma at wxs.nl
Tue Apr 4 00:08:57 CEST 2006


Johan Sandblom wrote:
> Testfile below. Lowercase named letters (\aring etc) work fine.
> Uppercase, however, are sorted under the letter they resemble (A, O).
> Inputting the letter directly (å,ä,ö) make them be indexed before the
> start of the alphabetized index, not even under a, o.
>
> Regards, Johan
>
> \mainlanguage[sv] \readfile{sort-ini}{}{}
> \starttext
> a\index{a}
> z\index{z}
> å\index{å}
> ä\index{ä}
> ö\index{ö}
> \aring\index{\aring}
> \adiaeresis\index{\adiaeresis}
> \odiaeresis\index{\odiaeresis}
> A\index{A}
> Å\index{Å}
> Ä\index{Ä}
> Ö\index{Ö}
> \Aring\index{\Aring}
> \Adiaeresis\index{\Adiaeresis}
> \Odiaeresis\index{\Odiaeresis}
>
> \placeindex
>
> \stoptext
>   
i added a few things to the sorter; can you try the beta?

(no need to load the sort-ini file any more)

\mainlanguage[sv]

\starttext

a\index{a}
a\index{a}
z\index{z}
z\index{z}
å\index{å}
å\index{å}
å\index{å}
ä\index{ä}
ä\index{ä}
ä\index{ä}
ä\index{ä}
ö\index{ö}
ö\index{ö}
\aring\index{\aring}
\adiaeresis\index{\adiaeresis}
\odiaeresis\index{\odiaeresis}

A\index{A}
Å\index{Å}
Ä\index{Ä}
Ö\index{Ö}
\Aring\index{\Aring}
\Adiaeresis\index{\Adiaeresis}
\Odiaeresis\index{\Odiaeresis}

\placeindex

\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list