[NTG-context] Using \pdfnames and friends.

Paul Isambert zappathustra at free.fr
Tue Jan 25 14:35:59 CET 2011

Answering myself: I should use:

\ctxlua{lpdf.addtonames("EmbeddedFiles", lpdf.reference(22))
\ctxlua{lpdf.addtocatalog("PageMode", lpdf.constant("UseOutlines"))}

(Apparently I can't do that directly with \pdfbackendsetname/catalog, the second argument is taken as a string.)
I hope that's the correct answer and not a hack.


More information about the ntg-context mailing list