From: John Culleton <john@wexfordpress.com>
Subject: Re: Termn "C++" in index
Date: Thu, 31 Oct 2002 11:29:10 -0500 [thread overview]
Message-ID: <200210311129.10818.john@wexfordpress.com> (raw)
In-Reply-To: <20021031125553.GA29103@fiesta.cs.tu-berlin.de>
On Thursday 31 October 2002 07:55 am, Matthias Heidbrink wrote:
> Hi,
>
> possibly a trivial question, but can't find it anywhere:
>
> How do I get the term "C++" into an index? Unfortunately ConTeXT
> interprets the "+" as a separator for indexed terms and I did not
> find a way to escape it that did not confuse the index mechanism.
>
> Another remark:
> In my view "texutil --purge" should also delete the ...tuo file
> because otherwise ConTeXt does not recover from a defective index
> entry.
>
> Ciao, Matthias
The Context register facility which is used for indexes is not the
ultimate tool for building an index. I use the index.tex macro package
from the Texsis suite and as an intermediary program I use either
makeindex (the simplest course) or Xindy (for maximum flexibility.)
Using the macro packages mentioned the command for making an index
entry is
\index{sortkey@indexterm!subsortkey!subindexterm!subsubsortkey@subsubindexterm}
or in the simplest case \index{indexterm}
The plus sign is not a special character using index.tex and
makeindex. So \index{C++} should work.
The index proper is printed with the command \input \jobname.ind
The cycle is
texsis % to process the \index commands & create \jobname.idx
makeindex %to change jobname.idx to jobname.ind
texsis %to import and typeset the finished index.
You will need to read both the makeindex documentation as well as page
43 of the TeXsis manual. I have a partally-written tutorial on
makeindex which I can send on request.
--
John Culleton
Able Indexers and Typesetters, Rowse Reviews, Culleton Editorial
Services
http://wexfordpress.com
prev parent reply other threads:[~2002-10-31 16:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-31 12:55 Matthias Heidbrink
2002-10-31 14:01 ` Hans Hagen
2002-10-31 16:29 ` John Culleton [this message]
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=200210311129.10818.john@wexfordpress.com \
--to=john@wexfordpress.com \
/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).