From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56169 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: two buglets Date: Thu, 11 Feb 2010 18:17:50 +0100 Message-ID: <4B743BBE.2050307@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265908707 8736 80.91.229.12 (11 Feb 2010 17:18:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 17:18:27 +0000 (UTC) Cc: "Thomas A. Schmitz" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 11 18:18:22 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfcgG-0000sr-Lc for gctc-ntg-context-518@m.gmane.org; Thu, 11 Feb 2010 18:18:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B4411C9D11; Thu, 11 Feb 2010 18:20:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oEfEDbDQcuNs; Thu, 11 Feb 2010 18:19:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20672C9CF0; Thu, 11 Feb 2010 18:19:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD673C9CF0 for ; Thu, 11 Feb 2010 18:19:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lR1Ke-6k9Yw4 for ; Thu, 11 Feb 2010 18:19:46 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 384A9C9CCA for ; Thu, 11 Feb 2010 18:19:46 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 5020-1713362 for multiple; Thu, 11 Feb 2010 18:17:05 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:56169 Archived-At: On 11-2-2010 16:52, Thomas A. Schmitz wrote: > Hi all, > > working on a book project with index and bibliography, I discovered two small bugs (at least I think they are bugs): > > 1. index sorts uppercase letters after lowercase letters. Minimal example: > > \starttext > > \index{Aardvark}Aardvark > > \index{azygous}azygous > > \page > > \setupregister[index][n=1] > \placeregister[index] > > \stoptext > > I would expect azygous to follow Aardvark, but it is sorted before. are you sure that that's the convention for english? it's easy to change it ... \startluacode sorters.mappings['en'] = { ["a"] = 2, ["b"] = 4, ["c"] = 6, ["d"] = 8, ["e"] = 10, ["f"] = 12, ["g"] = 14, ["h"] = 16, ["i"] = 18, ["j"] = 20, ["k"] = 22, ["l"] = 24, ["m"] = 26, ["n"] = 28, ["o"] = 30, ["p"] = 32, ["q"] = 34, ["r"] = 36, ["s"] = 38, ["t"] = 40, ["u"] = 42, ["v"] = 44, ["w"] = 46, ["x"] = 48, ["y"] = 50, ["z"] = 52, ["A"] = 1, ["B"] = 3, ["C"] = 5, ["D"] = 7, ["E"] = 9, ["F"] = 11, ["G"] = 13, ["H"] = 15, ["I"] = 17, ["J"] = 19, ["K"] = 21, ["L"] = 23, ["M"] = 25, ["N"] = 27, ["O"] = 29, ["P"] = 31, ["Q"] = 33, ["R"] = 35, ["S"] = 37, ["T"] = 39, ["U"] = 41, ["V"] = 43, ["W"] = 45, ["X"] = 47, ["Y"] = 49, ["Z"] = 51, } \stopluacode \starttext \index{Aardvark}Aardvark \par \index{azygous}azygous \placeregister[index][n=1] \stoptext ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________