[NTG-context] Defining multiple enumerations fails

Hans Hagen pragma at wxs.nl
Fri Sep 20 00:48:23 CEST 2013


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
-----------------------------------------------------------------


More information about the ntg-context mailing list