# [NTG-context] \index versus makeindex.

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Jul 21 08:16:04 CEST 2008

On Fri, Jul 18, 2008 at 7:38 PM, John Culleton <john at wexfordpress.com> wrote:
> Usually I use makeindex for indexing but for my current job I thought
> the Context \index command would be convenient. However I discovered
> that the \index command does not provide for page ranges. If I index
> the same item on pages 46, 47, 48, and 49 makeindex will collapse
> this into a range of 46-49.  Context won't.
>
> I looked at the book.tuo file but it does not look like something I
> can hand-modify.
>
> Is there a work-around I have missed or must I revert to makeindex to
> get a proper index?
>
> I am ccing Hans because my posts don't seem to make their way to the
> list for some reason.  Perhaps Comcast has torpedoed me once again.

\placeindex[compress=yes]

Regards,
Wolfgang