Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Le 25/01/2011 17:26, Hans Hagen a écrit : On 25-1-2011 2:35, Paul Isambert wrote: Answering myself: I should use: \ctxlua{lpdf.addtonames("EmbeddedFiles", lpdf.reference(22)) \ctxlua{lpdf.addtocatalog("PageMode", lpdf.constant("UseOutlines"))} (Apparently

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Thanks Luigi (don't know why your answer doesn't show up above.) But now I have another question. When I do: \ctxlua{lpdf.addtoinfo("Title", "My work")} The Title field in the Info dictionary is correctly set, but not in the xml Metadata, which uses jobname instead. Hence, Acrobat shows jobnam

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
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 co

[NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Hello, I'm trying to use \pdfnames with MkIV, but I can see from the sources that it's a no-op and should be replaced with \pdfbackendsetname. So I use \pdfbackendsetname{EmbeddedFiles}{22 0 R}, trying to achieve the same thing as \pdfnames{/EmbeddedFiles 22 0 R}, but "22 0 R" is surrounded by

Re: [NTG-context] [texhax] Choosing TeX um ... stuff

2010-11-18 Thread Paul Isambert
Selon "Philip Taylor (Webmaster, Ret'd)" : > > > Peter Davis wrote: > >2. True or False: plain TeX and LaTeX(2e) are warhorses ... been > > around for decades, quirks well known, lots of documentation, etc. > > Yes, except that while Plain TeX has more-or-less remained > static (modulo e