[NTG-context] Defining multiple enumerations fails

Marco Patzer lists at homerow.info
Fri Sep 20 11:10:06 CEST 2013

On 2013–09–20 Hans Hagen wrote:

> On 9/20/2013 12:33 AM, Marco Patzer wrote:
> >Hi,
> >
> >defining multiple enumerations at the same time used to work. Is
> >this syntax not supported any longer or is it a bug?
> >
> >\defineenumeration [foo, bar]
> >\starttext
> >   \foo foo\par
> >   \bar bar\par
> >\stoptext
> This multiple defining was only supported for a few commands and
> made the new commandhandler code too complex.

So I conclude that multiple definitions are now deprecated.

> In the meantime inheritance is rather consistent so the new way
> is:
> \defineenumeration [foo]
> \defineenumeration [bar] [foo]

Note that this is not the same as \defineenumeration [foo, bar]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130920/960be4a4/attachment.pgp>

More information about the ntg-context mailing list