ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Richard Gabriel" <rgabriel@kerio.com>
Subject: Re: Index sorting for other languages that English
Date: Wed, 24 May 2006 12:11:49 +0200	[thread overview]
Message-ID: <20060524101149.07d8282a@mx1.kerio.com> (raw)
In-Reply-To: 4473241D.1070108@wxs.nl


[-- Attachment #1.1: Type: text/plain, Size: 3014 bytes --]

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

\setupregister[index][expansion=xml]

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.


-Richard



  _____  

From: Hans Hagen [mailto:pragma@wxs.nl]
To: mailing list for ConTeXt users [mailto:ntg-context@ntg.nl]
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 | www.pragma-ade.com
                                               | www.pragma-pod.nl
  -----------------------------------------------------------------
  
  _______________________________________________
  ntg-context mailing list
  ntg-context@ntg.nl
  http://www.ntg.nl/mailman/listinfo/ntg-context
    

[-- Attachment #1.2: Type: text/html, Size: 3742 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2006-05-24 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 10:11 Richard Gabriel [this message]
2006-05-24 15:55 ` Hans Hagen
2006-05-30  6:43   ` Index sorting for other languages than English (2) R. Ermers
2006-05-30  7:35     ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2006-05-26 10:07 Index sorting for other languages that English Richard Gabriel
2006-05-23 10:22 Richard Gabriel
2006-05-23 13:41 ` John R. Culleton
2006-05-23 15:02 ` Hans Hagen

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=20060524101149.07d8282a@mx1.kerio.com \
    --to=rgabriel@kerio.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).