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. 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 \index{Jose|)} %stop range \index{italicized|ital} %italicized page number. ...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. This is a two pass system. The command to import the finished index is \input filename.ind ...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 or for the Xindy alternative: makeindex4 filename.idx Here is a sample document: ---------------- \input index.tex \starttext \index{foo!bar} ... \index{France@{\it France}} \page[yes] \input filename.ind \stoptext --------------- The full power of Xindy in Context is not yet unleashed. But the above items plant the seed... -- John Culleton Able Indexers and Typesetters, Rowse Reviews, Culleton Editorial Services http://wexfordpress.com __________________________________________________ D O T E A S Y - "Join the web hosting revolution!" http://www.doteasy.com
participants (1)
-
John Culleton