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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------