Andreas Schneider wrote:
Hello,
in the current beta the usage of the Keyword argument in the \setupinteraction command causes lua to fail in line 136 of lpdf-mis.lua:
<code snippet> local keywords = specification.keywords or "" if keywords ~= "" then keywords = string.gsub("[%s,]+", " ") lpdf.addtoinfo("Keywords",pdfunicode(keywords)) end
<error> ! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf-mis.lua:136: bad argument #3 to 'gsub' (string/function/table expected) </error>
I don't know what is expected there since I don't know the PDF specs, but I guess it's easily fixable ;-)
keywords = string.gsub(keywords, "[%s,]+", " ") ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------