[NTG-context] labeltext assignment

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Jun 11 21:27:39 CEST 2012


Am 11.06.2012 um 21:06 schrieb Philipp Gesang:

> Hi Hans!
> 
> ···<date: 2012-06-11, Monday>···<from: Hans Hagen>···
> 
>> On 11-6-2012 10:01, Philipp Gesang wrote:
>>> Hi all,
>>> 
>>> there appears to be something special about how the key-value
>>> list works with \setuplabeltext:
>>> 
>>> ·······································································
>>>  \setuplabeltext [
>>>    foo=bar, %% <- comma not allowed here?
>>>  % foo=bar  %% <- works
>>>  ]
>>>  \starttext
>>>  \labeltext{foo}
>>>  \stoptext
>>> ·······································································
>>> 
>>> Normally the trailing comma causes no trouble, but here it won’t
>>> even compile.
>> 
>> indeed a slightly different parser is used here
> 
> I’ll watch out for these cases, then.

\definepalet has a similar problem because it uses also a custom parser.

Wolfgang


More information about the ntg-context mailing list