From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7945 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Indexes Date: Tue, 21 May 2002 21:35:37 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020521213537.A975@scaprea> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035398381 23563 80.91.224.250 (23 Oct 2002 18:39:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:39:41 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:7945 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7945 Hi, I have a few questions regarding indexes. 1. \completeindex generates a numbered chapter. Is there a way to make this unnumbered? 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. 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: \convertmeaning #1\to ->\bgroup \honorunexpanded \dontexpandencoding \xdef \@@g lobalexpanded {#1}\xdef \@@globalexpanded {\@@globalexpanded }\egroup \convertc ommand \@@globalexpanded \to #1<-\headtext {\v!index } \headtext ->\let \handletextprefix \firstoftwoarguments \dogetupsometextprefix \headlanguage \c!titel \firstoftwoarguments #1#2->#1 #1<-\dogetupsometextprefix #2<-\headlanguage \c!titel ->\c!internal! titel {\string} \v!index ->index {\xdef} \@@globalexpanded ->\let \handletextprefix \dogetupsometextprefix titel{index} The \let does not work well in \xdef; instead, \firstoftwoarguments is expanded. I cannot think of a way to correct this. Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl