Re: [NTG-context] Defining multiple enumerations fails

2013-09-20 Thread Marco Patzer
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


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Defining multiple enumerations fails

2013-09-19 Thread Marco Patzer
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


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Defining multiple enumerations fails

2013-09-19 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___