Thanks Hans, it works with my test file,
unless I set up:


which i need for correct processing of the XML files.
If I simply add this command into the testing TeX file (no XML), the Czech sorting stops to work and all accented characters are placed under "A".

Regarding the sorting itself (sort-lan.tex):
I found the definiton of the sorting quite strange, let's say, incomplete.
It makes no sense to separate ccaron while all other accented letters are placed under the unaccented ones.
I'll update the definitions, test it and send it to you.


From: Hans Hagen [mailto:[EMAIL PROTECTED]
To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED]
Sent: Tue, 23 May 2006 17:02:53 +0200
Subject: Re: [NTG-context] Index sorting for other languages that English

Richard Gabriel wrote:
> Hello Hans,
> after an upgrade I noticed thar the index sorting works even worse
> than before (tested on Czech, Chinese and Japanese, but probably
> related to non-ASCII characters in common).
> With TeXExec 5.4.3, all words beginning with national (accented)
> characters were put into a separate ("symbols") group and placed
> before "A". This was not good but more or less acceptable.
> With TeXExec 6.2.0, words beginning with accented characters are
> placed under certain unaccented letter. My colleague found out that
> these words are sorted according the first unaccented letter. This is
> unacceptable and unusable.
> We do a "work-around" so we try to avoid indexing words beginning with
> accented charaters. But it's impossible in many cases.
> I'd like to ask you to improve the index sorting. Could I help or
> contribute in some way?
> Attached is a testing file, which creates 2 indexes from various Czech
> words (covering the Czech alphabet). The index should be sorted
> exactly that way as the terms are written in the file.
actually the nex texexec implementation does czech sorting but it's not enables yet in context itself (was experimental until now)

- download the latest version (i uploaded a version that enables it)
- don't forget \mainlanguage[cz] at the top of your document
- in sort-lan.tex you can see how czech sorting is defined

(context adds a lot of into to the tui file in order to get sorting done)

Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 |

ntg-context mailing list
ntg-context mailing list

Reply via email to