Re: [NTG-context] [off-list, urgent] Index design
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
OK, but there seems to be no out-of-the box solution like "alternative=b". Is it at least that doable that someone could do it? I have no idea... Steffen Am 26.07.2006 um 09:40 schrieb Hans Hagen:
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
Steffen Wolfrum wrote: the question is "what tweaks are needed"; anyhow, it should not be a show-stopper
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (2)
-
Hans Hagen
-
Steffen Wolfrum