[NTG-context] Stange error with \definepalet

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Apr 10 08:15:33 CEST 2011


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



More information about the ntg-context mailing list