[NTG-context] labeltext assignment

Hans Hagen pragma at wxs.nl
Mon Jun 11 11:03:27 CEST 2012


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

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




More information about the ntg-context mailing list