On 29-3-2012 10:41, Mojca Miklavec wrote:
On Thu, Mar 29, 2012 at 10:32, Hans Hagen wrote:
On 29-3-2012 09:11, Alan BRASLAU wrote:
On a similar line, concerning syntax (but not references),
the braces grouping keywords get passed on to the pdf properties:
\setupinteraction [keyword={syntax, braces, commas}]
Is this a bug or else the incorrect use of braces?
That's weird, as here I get no { } in the properties shown by acrobat and
the xml blob in the pdf has
<pdf:Keywords>syntax braces commas</pdf:Keywords>
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)
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________