From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Indexes
Date: Tue, 21 May 2002 23:21:09 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020521230745.034a3da0@remote-1> (raw)
In-Reply-To: <20020521213537.A975@scaprea>
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
-------------------------------------------------------------------------
prev parent reply other threads:[~2002-05-21 21:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-21 19:35 Indexes Simon Pepping
2002-05-21 21:21 ` Hans Hagen [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=5.1.0.14.1.20020521230745.034a3da0@remote-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/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).