From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9692 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Termn "C++" in index Date: Thu, 31 Oct 2002 11:29:10 -0500 Organization: WexfordPress Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200210311129.10818.john@wexfordpress.com> References: <20021031125553.GA29103@fiesta.cs.tu-berlin.de> 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 1036081748 20761 80.91.224.249 (31 Oct 2002 16:29:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 16:29:08 +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 187IBu-0005Ob-00 for ; Thu, 31 Oct 2002 17:29:06 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 2FA3810AEB; Thu, 31 Oct 2002 17:30:23 +0100 (MET) Original-Received: from smtprelay7.dc2.adelphia.net (smtprelay7.dc2.adelphia.net [64.8.50.39]) by ref.ntg.nl (Postfix) with ESMTP id 110BC10AE1 for ; Thu, 31 Oct 2002 17:29:30 +0100 (MET) Original-Received: from publish ([68.65.115.54]) by smtprelay7.dc2.adelphia.net (Netscape Messaging Server 4.15 smtprelay7 Dec 7 2001 09:58:59) with ESMTP id H4UTT400.61S; Thu, 31 Oct 2002 11:29:28 -0500 Original-To: Matthias Heidbrink , ntg-context@ntg.nl X-Mailer: KMail [version 1.4] In-Reply-To: <20021031125553.GA29103@fiesta.cs.tu-berlin.de> 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:9692 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9692 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@subsubinde= xterm} 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.=20 The index proper is printed with the command \input \jobname.ind The cycle is=20 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.=20 --=20 John Culleton Able Indexers and Typesetters, Rowse Reviews, Culleton Editorial=20 Services http://wexfordpress.com