From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9966 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Indexing macros Date: Mon, 2 Dec 2002 16:20:52 +0000 Organization: WexfordPress Sender: ntg-context-admin@ntg.nl Message-ID: <200212021620.52271.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1038846508 28235 80.91.224.249 (2 Dec 2002 16:28:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2002 16:28:28 +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 18ItQo-0007LB-00 for ; Mon, 02 Dec 2002 17:28:26 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8955E10AE8; Mon, 2 Dec 2002 17:30: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 89C8110AE6 for ; Mon, 2 Dec 2002 17:29:56 +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 H6I2UH03.42A for ; Mon, 2 Dec 2002 11:23:05 -0500 Original-To: Context X-Mailer: KMail [version 1.4] 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:9966 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9966 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 from the Texsis distribution and renamed it indexx.tex. Instructions for use are included in the file. The command sequence is: texexec test.tex makeindex test.idx -o test.ind texexec test.tex. The test.tex file is as follows: \input indexx.tex \markindextrue \starttext Hello \page[yes] \idx{Frisbee} \idx{Saucer} \indexx{foo} \indexx{foo!bar} \page[yes] \input test.ind \stoptext The indexx.tex file can be found at: http://wexfordpress.com/tex/indexx.tex Most parties seem to prefer the more capable Xindy to the old standby makeindex. However The Xindy distribution has a program for translating makeindex raw index files to Xindy raw index files. So the indexx.tex macros can be used as a stopgap method now. I will work on another version that will emit Xindy raw files natively.=20 Questions, comments, suggestions welcome :-) --=20 John Culleton Able Indexers and Typesetters=20 Rowse Reviews Culleton Editorial Services http://wexfordpress.com