On 29-3-2012 14:24, Alan BRASLAU wrote:
I have:
\setvariables [Book] [ title={My title}, subtitle={My subtitle}, author={First Author, Second Author and Third Author}, ] \setupinteraction [ title=\getvariable{Book}{title}, subtitle=\getvariable{Book}{subtitle}, author=\getvariable{Book}{author},
author={\getvariable{Book}{author}}, the expansion introduces the ,
keyword={keyword1, keyword2, keyword3}, ]
and this yields (in acroread 9):
Title: My title Author: "First Author, Second Author and Third Author" Subject: My subtitle Keywords: keyword1 keyword2 keyword3
So, quotation marks (" ") get put around the author; The subtitle becomes the subject; and adding the trailing comma after keyword={}, indeed removes the {} but also removes the explicit commas.
Alan
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------