Am 10.04.2011 um 00:22 schrieb Aditya Mahajan:

> Hi,
> 
> \definepalet
>  [test]
>  [one=red,
>   two=blue,
>  ]
> 
> \normalend
> 
> gives
> 
> ]\doprocesscommaitem ]\relax \global \advance \commalevel \minusone  \ETC.
> ! File ended while scanning use of \dodododefinepalet.
> 
> while
> 
> \definepalet
>  [test]
>  [one=red,
>   two=blue]
> 
> \normalend
> 
> compiles correctly. Shouldn't the both be equal?

\definepalet use it’s own code to parse assignments which can’t handle
empty entries like \getparameters, your first example is therefore wrong.

Wolfgang

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

Reply via email to