ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
Subject: Indexing macros
Date: Mon, 2 Dec 2002 16:20:52 +0000	[thread overview]
Message-ID: <200212021620.52271.john@wexfordpress.com> (raw)

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. 

Questions, comments, suggestions welcome :-)

-- 
John Culleton
Able Indexers and Typesetters 
Rowse Reviews
Culleton Editorial Services
http://wexfordpress.com

             reply	other threads:[~2002-12-02 16:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 16:20 John Culleton [this message]
2002-12-02 16:41 ` Taco Hoekwater
2002-12-03 13:33   ` John Culleton
2002-12-03 16:57     ` Hans Hagen
2002-12-03 16:59     ` Hans Hagen
2002-12-04 14:30     ` Gour
2002-12-02 16:51 ` Hans Hagen
2002-12-03 14:18   ` John Culleton
2008-09-11 20:58 width of cell in TABLE Peter Münster
2008-09-12  8:27 ` span ROWS in \starttables? Alan BRASLAU
2008-09-12 13:37   ` Aditya Mahajan
2008-09-15 12:49     ` Indexing macros Alan BRASLAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200212021620.52271.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).