ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Richard Gabriel" <rgabriel@kerio.com>
Subject: Czech sorting
Date: Thu, 25 May 2006 09:51:56 +0200	[thread overview]
Message-ID: <20060525075156.e3b70548@mx1.kerio.com> (raw)


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

Hello Hans,

I've prepared and tested the complete sorting rules for Czech. Could you please put them into sort-lan.tex?
The rules are quite simple: 
- all accented letter shall follow the unaccented ones
- "caron" letters (consonants) are placed into separate groups
- "acute" and "ring" letters (wowels) are placed under the appropriate unaccented letters

But I vitally need to fix the problem that the sorting doesn't work when using \setupregister[index][expansion=xml]
otherwise it's still useless for me... :-(

Many thanx,
Richard


--

\def\czsortdivisionch{ch}
\def\czsortdivisionCh{Ch}

\startmode[sortorder-cz]
    \exportsortexpansion{aacute}{a+1}
    \exportsortexpansion{Aacute}{A+1}
    \exportsortexpansion{ccaron}{c+1}
    \exportsortexpansion{Ccaron}{C+1}
    \exportsortdivision{c+1}{ccaron}
    \exportsortexpansion{dcaron}{d+1}
    \exportsortexpansion{Dcaron}{C+1}
    \exportsortdivision{d+1}{dcaron}
    \exportsortexpansion{eacute}{e+1}
    \exportsortexpansion{Eacute}{E+1}
    \exportsortexpansion{ecaron}{e+2}
    \exportsortexpansion{Ecaron}{E+2}
    \exportsortreduction{ch}{h+1}
    \exportsortexpansion{ch}{h+1}
    \exportsortreduction{Ch}{h+1}
    \exportsortexpansion{Ch}{h+1}
    \exportsortdivision{h+1}{czsortdivisionch}
    \exportsortexpansion{iacute}{i+1}
    \exportsortexpansion{Iacute}{I+1}
    \exportsortexpansion{ncaron}{n+1}
    \exportsortexpansion{Ncaron}{n+1}
    \exportsortdivision{n+1}{ncaron}
    \exportsortexpansion{oacute}{o+1}
    \exportsortexpansion{Oacute}{O+1}
    \exportsortexpansion{rcaron}{r+1}
    \exportsortexpansion{Rcaron}{R+1}
    \exportsortdivision{r+1}{rcaron}
    \exportsortexpansion{scaron}{s+1}
    \exportsortexpansion{Scaron}{S+1}
    \exportsortdivision{s+1}{scaron}
    \exportsortexpansion{tcaron}{t+1}
    \exportsortexpansion{Tcaron}{T+1}
    \exportsortdivision{t+1}{tcaron}
    \exportsortexpansion{uacute}{u+1}
    \exportsortexpansion{Uacute}{U+1}
    \exportsortexpansion{uring}{u+2}
    \exportsortexpansion{Uring}{U+2}
    \exportsortexpansion{yacute}{y+1}
    \exportsortexpansion{Yacute}{Y+1}
    \exportsortexpansion{zcaron}{z+1}
    \exportsortexpansion{Zcaron}{Z+1}
    \exportsortdivision{z+1}{zcaron}
\stopmode

[-- Attachment #1.2: Type: text/html, Size: 3285 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-25  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25  7:51 Richard Gabriel [this message]
2010-05-17 20:31 czech sorting Tomáš Pustelník
2010-05-17 21:13 ` 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=20060525075156.e3b70548@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).