# [NTG-context] [off-list, urgent] Index design

Hans Hagen pragma at wxs.nl
Wed Jul 26 09:40:46 CEST 2006

```Steffen Wolfrum wrote:
> Hi Hans,
>
> sorry for contacting you off-list. But the publishing-house I am
> working for at the moment needs to know the answer to my "Index
> design" question today.
>
> They have a series of books with a given index (register of keywords)
> designed as described below.
> This design was set in the past with 3B2, and now is the question: is
> it also possible to set it (in this strange way) with ConTeXt?
>
>
> Please see my description below (hope gets it's clear):
>
> Is it possible, in an index, not to have single letters as separators
> (here "a", "w") in a dedicated line, but instead only the first letter of
> the first entry with "a" or "w" set bold?
>
> See this minimal example:
>
> \setupoutput[pdftex]
>
> \starttext
> \chapter{First Chapter}
> Some text...\index{word}
>
> \section {First Section}
> Some text...\index{word}
> Some text...\index{another entry}
> Some text...\index{ansi}
> Some text...\index{another entry}
>
> \page[yes]
> \completeindex
>
> \stoptext
>
>
>
> Here I would like to have only the first letter of the index entries
> "another" and "word" in the index to be set bold.
since tex is programmable, things like this are doable; of course the question is "what tweaks are needed"; anyhow, it should not be a show-stopper

Hans

-----------------------------------------------------------------