From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9647 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Fwd: Xindy and Context Date: Thu, 24 Oct 2002 18:41:42 -0400 Organization: WexfordPress Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200210241841.42195.john@wexfordpress.com> 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 1035500057 11270 80.91.224.249 (24 Oct 2002 22:54:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2002 22:54:17 +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 184qrn-0002vX-00 for ; Fri, 25 Oct 2002 00:54:15 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8984610AE2; Fri, 25 Oct 2002 00:55:18 +0200 (MEST) Original-Received: from wexfordpress.com (dpmail03.doteasy.com [209.153.216.3]) by ref.ntg.nl (Postfix) with ESMTP id 7C61610ADF for ; Fri, 25 Oct 2002 00:54:25 +0200 (MEST) Original-Received: from publish [68.65.115.54] by wexfordpress.com with ESMTP (SMTPD32-7.13) id AC8348F0062; Thu, 24 Oct 2002 16:04:35 -0700 X-Mailer: KMail [version 1.4] Original-To: Context X-IMSTrailer: __IMail_7__ Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.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:9647 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9647 Apologies for the empty message, subject as above. I have found a set of macros that allow either makeindex or Xindy (in makeindex emulation) to run with Context. This allows for more functionality than the present register commands available from Context proper. They generate a makeindex type output file, which can either be processed by makeindex directly or by Xindy via the makeindex4 script and tex2xindy program called by it.=20 Here are the requirements: Complete Xindy package (or complete makeindex package) index.tex from TeXsis site. A simple input statement starts things off: \input index.tex The indexing commands are \index{--- and \idx{--- \idx causes whatever is between { and } to be printed as well as added to the index. The usual conventions found in the LaTeX \index.sty package obtain. Here are some valid statements: \idx{foo} \index{foo!bar} %subitem \index{fable@foo!babble@bar} %subitem with alternate sorting on both %levels \index{Jose|(} %start range =20 \index{Jose|)} %stop range \index{italicized|ital} %italicized page number.=20 =2E..and so on. ` If the \idx statement form is used, and \markindextrue is present then the indexed terms will be printed in the document with a box around them indicating that they are indexed.=20 This is a two pass system. The command to import the finished index is \input filename.ind =2E..where filename is the name of the tex file being indexed. In between the two passes one of these two commands must be run: makeindex filename.idx=20 or for the Xindy alternative: makeindex4 filename.idx Here is a sample document: ---------------- \input index.tex \starttext \index{foo!bar} =2E.. \index{France@{\it France}} \page[yes] \input filename.ind \stoptext --------------- The full power of Xindy in Context is not yet unleashed. But the above=20 items plant the seed... --=20 John Culleton Able Indexers and Typesetters, Rowse Reviews, Culleton Editorial=20 Services http://wexfordpress.com __________________________________________________ D O T E A S Y - "Join the web hosting revolution!" http://www.doteasy.com