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. Best, Paul ___________________________________________________________________________________ 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 ___________________________________________________________________________________