From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9993 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Indexing macros Date: Tue, 3 Dec 2002 13:33:47 +0000 Organization: WexfordPress Sender: ntg-context-admin@ntg.nl Message-ID: <200212031333.47102.john@wexfordpress.com> References: <200212021620.52271.john@wexfordpress.com> <20021202174112.58784a93.taco@elvenkind.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1038922526 17020 80.91.224.249 (3 Dec 2002 13:35:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2002 13:35:26 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18JDCv-0004QO-00 for ; Tue, 03 Dec 2002 14:35:25 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D92E110AEC; Tue, 3 Dec 2002 14:37:44 +0100 (MET) Original-Received: from smtprelay6.dc2.adelphia.net (smtprelay6.dc2.adelphia.net [64.8.50.38]) by ref.ntg.nl (Postfix) with ESMTP id 313C910AE9 for ; Tue, 3 Dec 2002 14:36:17 +0100 (MET) Original-Received: from publish ([68.65.115.54]) by smtprelay6.dc2.adelphia.net (Netscape Messaging Server 4.15 smtprelay6 Dec 7 2001 09:58:59) with ESMTP id H6JPRV01.UAK; Tue, 3 Dec 2002 08:35:55 -0500 Original-To: ntg-context@ntg.nl, Taco Hoekwater X-Mailer: KMail [version 1.4] In-Reply-To: <20021202174112.58784a93.taco@elvenkind.com> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9993 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9993 On Monday 02 December 2002 16:41, Taco Hoekwater wrote: > On Mon, 2 Dec 2002 16:20:52 +0000, John wrote: > > The "register" macros in Context only provide for a single level > > index AFAIK so I have been looking at the use of either makeindex > > or Xindy in a Context project. I have slightly modified the > > index.tex file > > Unless I misunderstand your intentions, you were looking this ConTeXt > command: > > \index{main+sub+subsub} Thanks for your correction! It is even in the manual :-] But there are other features found in Makeindex and especially Xindy that are useful. For example attributes attached to the page reference # can be passed through the system. An entry, subentry etc. can be sorted out of order. This also handles elegantly the situation where one needs to put a font change in with the item, e.g.: \index{sortitem@\it Sortitem\rm} The Context manual mentions the "see" form of entry but not the "see also" form, although there is passing reference to another form (not described fully) that allows one to input a "pure ASCII string."=20 Makeindex will automatically collapse a page reference string. If three or more successive pages have the identical index item then "1,2,3" becomes "1-3" etc. Perhaps Context does this also. Xindy will handle appendix references like "A-3" although these are becoming rarer. Both Makeindex and Xindy have style files that allow for customizing of the output. For example the letter headers might be centered in the column, or left justified, in bold or not, capital or lower case, surrounded by em dashes etc.=20 Xindy goes well beyond this, allowing for special headers for e.g. Hungarian which has the letter combination Ly sorted separately.=20 Perhaps as is so often the case, the features are there but not yet described in Context. A Context-only solution would be nice, but in the meantime the power of the existing packages are available.=20 --=20 John Culleton Able Indexers and Typesetters=20 Rowse Reviews Culleton Editorial Services http://wexfordpress.com