From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28193 Path: news.gmane.org!not-for-mail From: "Richard Gabriel" Newsgroups: gmane.comp.tex.context Subject: Czech sorting Date: Thu, 25 May 2006 09:51:56 +0200 Message-ID: <20060525075156.e3b70548@mx1.kerio.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2017302079==" X-Trace: sea.gmane.org 1148543546 22612 80.91.229.2 (25 May 2006 07:52:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 May 2006 07:52:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 25 09:52:23 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FjAda-0003Wk-OI for gctc-ntg-context-518@m.gmane.org; Thu, 25 May 2006 09:52:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4752C127C0; Thu, 25 May 2006 09:52:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08676-01; Thu, 25 May 2006 09:52:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6D7B12792; Thu, 25 May 2006 09:52:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D94412792 for ; Thu, 25 May 2006 09:51:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08432-03 for ; Thu, 25 May 2006 09:51:58 +0200 (CEST) Original-Received: from mx1.kerio.com (mx1.kerio.com [195.39.55.2]) by ronja.ntg.nl (Postfix) with SMTP id 0BF6E12778 for ; Thu, 25 May 2006 09:51:57 +0200 (CEST) Original-Received: from 192.168.44.100 ([192.168.44.100]) by mx1.kerio.com for ntg-context@ntg.nl; Thu, 25 May 2006 09:51:56 +0200 Original-To: ntg-context@ntg.nl X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28193 Archived-At: This is a multi-part message in MIME format. --===============2017302079== Content-Type: multipart/alternative; boundary="-----------ef53bc7e1934a822f4153abe618c2d16" This is a multi-part message in MIME format. -------------ef53bc7e1934a822f4153abe618c2d16 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Hans, I've prepared and tested the complete sorting rules for Czech. Could you= please put them into sort-lan.tex=3F The rules are quite simple:=20 - 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 u= naccented letters But I vitally need to fix the problem that the sorting doesn't work when= using \setupregister[index][expansion=3Dxml] 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 -------------ef53bc7e1934a822f4153abe618c2d16 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Hans,

I've prepared and tested the complete sorting rules f= or Czech. Could you please put them into sort-lan.tex=3F
The rules ar= e quite simple:
- all accented letter shall follow the unaccented on= es
- "caron" letters (consonants) are placed into separate groups
= - "acute" and "ring" letters (wowels) are placed under the appropriate u= naccented letters

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

Many thanx,
Richa= rd


--

\def\czsortdivisionch{ch}
\def\czsortdivision= Ch{Ch}

\startmode[sortorder-cz]
    \exportsort= expansion{aacute}{a+1}
    \exportsortexpansion{Aacute= }{A+1}
    \exportsortexpansion{ccaron}{c+1}
 =    \exportsortexpansion{Ccaron}{C+1}
    \ex= portsortdivision{c+1}{ccaron}
    \exportsortexpansion= {dcaron}{d+1}
    \exportsortexpansion{Dcaron}{C+1}    \exportsortdivision{d+1}{dcaron}
  &nbs= p; \exportsortexpansion{eacute}{e+1}
    \exportsortex= pansion{Eacute}{E+1}
    \exportsortexpansion{ecaron}{= e+2}
    \exportsortexpansion{Ecaron}{E+2}
 &n= bsp;  \exportsortreduction{ch}{h+1}
    \exportso= rtexpansion{ch}{h+1}
    \exportsortreduction{Ch}{h+1}=
    \exportsortexpansion{Ch}{h+1}
  &nbs= p; \exportsortdivision{h+1}{czsortdivisionch}
    \exp= ortsortexpansion{iacute}{i+1}
    \exportsortexpansion= {Iacute}{I+1}
    \exportsortexpansion{ncaron}{n+1}    \exportsortexpansion{Ncaron}{n+1}
  &nb= sp; \exportsortdivision{n+1}{ncaron}
    \exportsortex= pansion{oacute}{o+1}
    \exportsortexpansion{Oacute}{= O+1}
    \exportsortexpansion{rcaron}{r+1}
 &n= bsp;  \exportsortexpansion{Rcaron}{R+1}
    \expo= rtsortdivision{r+1}{rcaron}
    \exportsortexpansion{s= caron}{s+1}
    \exportsortexpansion{Scaron}{S+1}
&= nbsp;   \exportsortdivision{s+1}{scaron}
   = \exportsortexpansion{tcaron}{t+1}
    \exportsortexpa= nsion{Tcaron}{T+1}
    \exportsortdivision{t+1}{tcaron= }
    \exportsortexpansion{uacute}{u+1}
  = ;  \exportsortexpansion{Uacute}{U+1}
    \exports= ortexpansion{uring}{u+2}
    \exportsortexpansion{Urin= g}{U+2}
    \exportsortexpansion{yacute}{y+1}
 = ;   \exportsortexpansion{Yacute}{Y+1}
    \e= xportsortexpansion{zcaron}{z+1}
    \exportsortexpansi= on{Zcaron}{Z+1}
    \exportsortdivision{z+1}{zcaron}\stopmode

-------------ef53bc7e1934a822f4153abe618c2d16-- --===============2017302079== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============2017302079==--