From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17814 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Context index and sorting question Date: Mon, 10 Jan 2005 20:06:02 +0100 Message-ID: <41E2D21A.2090006@wxs.nl> References: <200412290841.36069.john@wexfordpress.com> <3410DD8C-59A7-11D9-97BC-000A95C0A254@zonnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105384255 22792 80.91.229.6 (10 Jan 2005 19:10:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2005 19:10:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 10 20:10:48 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Co4rf-0000iD-00 for ; Mon, 10 Jan 2005 20:06:08 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90C7E127C4; Mon, 10 Jan 2005 20:06:07 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03310-04; Mon, 10 Jan 2005 20:06:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02B3E127BB; Mon, 10 Jan 2005 20:06:06 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C855127BB for ; Mon, 10 Jan 2005 20:06:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03476-02-2 for ; Mon, 10 Jan 2005 20:06:04 +0100 (CET) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 9F5A7127B9 for ; Mon, 10 Jan 2005 20:06:04 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j0AJ5x2n007549; Mon, 10 Jan 2005 20:05:59 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id CFC711855D; Mon, 10 Jan 2005 20:01:18 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 8F9DA17B14; Mon, 10 Jan 2005 19:01:17 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users , sjoerdsiebinga@zonnet.nl In-Reply-To: <3410DD8C-59A7-11D9-97BC-000A95C0A254@zonnet.nl> X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17814 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17814 sjoerd siebinga wrote: > Could somebody maybe tell me just how the \definesortkey command works? > Do I have to define a specific encoding or create "languagespecifics" in > order for TEXEXEC or TEXUTIL to use it? you hook it into the language \startlanguagespecifics[no] \definesortkey {\ae}{z}{b}{\ae} \definesortkey {\AE}{z}{b}{\AE} \definesortkey {\o}{z} {c}{\o} \definesortkey {\O}{z} {c}{\O} \definesortkey {\aa}{z}{d}{\aa} \definesortkey {\aring}{z}{d}{\aring} \definesortkey {\AA}{z}{d}{\AA} \definesortkey {\Aring}{z}{d}{\Aring} \stoplanguagespecifics \starttext test \index{amoebe} test \index{\ae roplane} test \index{big issue} \completeindex \stoptext > I would imagine that ConTeXt must be able to sort a norwegian words in a > separate register say "\indexnw{kr{\o}ypa}}" differently from the > english index entries in general \index{} register. hm, this should be doable, if this is important, i can look into it (time to sort out the index mess) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------