Defining multiple enumerations fails
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
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 -----------------------------------------------------------------
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