From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7947 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Indexes Date: Tue, 21 May 2002 23:21:09 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020521230745.034a3da0@remote-1> References: <20020521213537.A975@scaprea> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398383 23600 80.91.224.250 (23 Oct 2002 18:39:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:39:43 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Simon Pepping In-Reply-To: <20020521213537.A975@scaprea> Xref: main.gmane.org gmane.comp.tex.context:7947 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7947 At 09:35 PM 5/21/2002 +0200, Simon Pepping wrote: >Hi, > >I have a few questions regarding indexes. > >1. \completeindex generates a numbered chapter. Is there a way to make > this unnumbered? numbered sections become unnumbered when used in: \startbackmatter \stopbackmatter (als also in \startfrontmatter .. \stopfrontmatter; you can guess what happens in \startappendices \stopappendices; this is why sectionblocks are there) >2. Is there a way to suppress the index when there are no index terms, > in other words, can I let Context detect whether there are index > terms? I tried \doifmode{*index}{\completeindex}, but that does not > seem to do what I want. you're nearly there: first do a trial run: \determineregistercharacteristics[index][optional settings] next test for a system mode: \doifmode{*register} >3. In the recent beta, which I downloaded on 11 May, \completeindex > generates an erroneous ToC entry, viz. titleindex. I traced this > back to an \xdef that does not do what it probably was meant to do: hm, here the toc entry has: \headtext {\v!title} so, you probably have turned toc-expansion on, in lang-lab, you can change the def : \unexpanded\def\headtext {\let\handletextprefix\firstoftwoarguments \dogetupsometextprefix\headlanguage\c!titel} (so, add \unexpanded; i'll add it too, since it does not harm compatibility) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------