[NTG-context] Removing the quotes from the results of the reference links

Hans Hagen pragma at wxs.nl
Thu Mar 29 12:02:45 CEST 2012


On 29-3-2012 11:48, Mojca Miklavec wrote:
> On Thu, Mar 29, 2012 at 10:51, Hans Hagen wrote:
>> On 29-3-2012 10:41, Mojca Miklavec wrote:
>>>
>>> I get the braces when there is a space after braces, for example
>>>
>>> \setupinteraction
>>>      [author=me,
>>>       title={long title}
>>>      ]
>>>
>>> I solved the problem by adding a comma right after the last brace, but
>>> I would also call that "a hint of a tiny buglet somewhere" ;)
>>
>>
>> hm, but such a space before is always valid in key/value assignment or ] so
>> there is no difference between
>>
>> title={long title}
>> ]
>>
>> title={long title}
>> ,
>>
>> That has always been the case (ignoring leading an dtrailing spaces of a key
>> would demand parsing token by token and that's not going to happen as it
>> would slow down context a lot (so many parsing all over the place)
>
> It seems that it is not the case here. But are you able to reproduce
> the behaviour? I get
>
>> pdfinfo filename.pdf
> Title:          {long title}
> Author:         me

Sure, as this gets split:

"{a,b,c}"

And this is seen as a whole:

"{a,b,c} "

and is not split

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


More information about the ntg-context mailing list