Defining multiple enumerations fails
![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
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 Marco
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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. In the meantime inheritance is rather consistent so the new way is: \defineenumeration [foo] \defineenumeration [bar] [foo] so you can setup foo and bar will follow Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
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] Marco
participants (2)
-
Hans Hagen
-
Marco Patzer