[NTG-context] Trouble with index

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue May 13 08:45:14 CEST 2008


On Sat, May 10, 2008 at 7:36 PM,  <cidadaum at sapo.pt> wrote:
>
> In the fileOn Wed, Apr 30, 2008 at 1:00 PM,  <cidadaum at sapo.pt> wrote:
> >
> > So far I have not succeded to make an index in a book I am typesetting.
> > I write something like:
> > \starttext
> > \defineregister[index][indices]
>
> Predefined, can be omitted.
>
> > \index[Tantrum]Tantrums can be normal for
>
> \index{Tantrum}
>
> > \index[tantrum][tantrum+toddlers]toddlers. Young children have them for
>
> \index{tantrum+toodlers}
>
> > many reasons like being tired, feeling out of control, over-stimulated,
> > or wanting something they can't have.
> > General hints: Toddlers and preschoolers cannot regulate themselves
> > because they don't yet know their own limits.
> > \completeindex
> > \stoptext
>
> Wolfgang
>
> I have made a file with this post and I have managed to do an index.
> But with another file I got this message:
> system          : index not found/processed
> ! Extra \endgroup.
> \doplaceregister ...packed \stopcolumns \endgroup
>                                                   \fi
> \docompleteregister ...ter [\currentregister ][#2]
>                                                   \page [\v!yes ]\endgroup \fi
> <to be read again>
>                    \par
> l.2984
>
> ?
> [42.42]
> ! Extra \endgroup.
> \docompleteregister ...2]\page [\v!yes ]\endgroup
>                                                   \fi
> <to be read again>
>                    \par
>
> Is there something wrong I am doing.
> At the beginning I put this:
> \defineregister[index][indices]

This did not harm but "\index" is already defined in core-reg.tex and you need
\defineregister only if you want to use more indices.

> and \completeindex at the end.

Make a example where we can reproduce the error.

> Armando

Wolfgang


More information about the ntg-context mailing list