From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54590 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Sort register (index) by Bible book Date: Fri, 20 Nov 2009 20:55:49 +0100 Message-ID: <4B06F445.1000805@elvenkind.com> References: <877htqz4mc.wl%berend@pobox.com> <4B025543.4080901@elvenkind.com> <4B02CCCF.10001@jhnet.nl> <4B02CE04.8030400@elvenkind.com> <87ocmx80tl.wl%berend@pobox.com> 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 1258746981 22953 80.91.229.12 (20 Nov 2009 19:56:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 19:56:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 20 20:56:14 2009 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.50) id 1NBZaX-0003AM-PB for gctc-ntg-context-518@m.gmane.org; Fri, 20 Nov 2009 20:56:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3530C9AE3; Fri, 20 Nov 2009 20:53:40 +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 UeJHX+RM4ttJ; Fri, 20 Nov 2009 20:53:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BFEDC9ABB; Fri, 20 Nov 2009 20:53:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95DF7C9ABB for ; Fri, 20 Nov 2009 20:53:31 +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 UXo980nE2yDH for ; Fri, 20 Nov 2009 20:53:19 +0100 (CET) Original-Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by balder.ntg.nl (Postfix) with ESMTP id B60F9C9AAA for ; Fri, 20 Nov 2009 20:53:18 +0100 (CET) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAKJtneQ000340 for ; Fri, 20 Nov 2009 20:55:50 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.21 (X11/20090330) In-Reply-To: <87ocmx80tl.wl%berend@pobox.com> X-Virus-Scanned: by XS4ALL Virus Scanner 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:54590 Archived-At: berend@pobox.com wrote: >>>>>> "Taco" == Taco Hoekwater writes: > > Taco> You could pre-assign a zero-padded number to each book > Taco> (Genesis=001, Exodus=002), and use that number inside the > Taco> square brackets. > > Right, but that would be extremely annoying to type in all the time > :-) \def\Genesis#1{\index[001 #1]{Genesis #1}} etc. Takes only 66 macros and it even saves you typing :) > I'm looking for a more automated solution, but given that even you > don't know one, it seems I have to write some sorting mechanism > myself. > > Or perhaps use the trick above as the input is XML, and the verses are > clearly marked, so I could generate ConTeXt with the proper sort > codes. > > Who does the index sorting, is that texexec? > ___________________________________________________________________________________ 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 ___________________________________________________________________________________