From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65472 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Using \pdfnames and friends. Date: Tue, 25 Jan 2011 14:38:10 +0100 Message-ID: References: <4D3EB40E.9070402@free.fr> <4D3ED1BF.5080801@free.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295962715 31675 80.91.229.12 (25 Jan 2011 13:38:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 13:38:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 25 14:38:30 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Phj6L-00087I-Dr for gctc-ntg-context-518@m.gmane.org; Tue, 25 Jan 2011 14:38:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF1A6CAA1B; Tue, 25 Jan 2011 14:38:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yIT9rGOzVVJ8; Tue, 25 Jan 2011 14:38:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C67DCAA19; Tue, 25 Jan 2011 14:38:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2FF7CAA19 for ; Tue, 25 Jan 2011 14:38:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oWtcIqEZ4Hhe for ; Tue, 25 Jan 2011 14:38:13 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id DBAA4CAA12 for ; Tue, 25 Jan 2011 14:38:13 +0100 (CET) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0PDcDhK028978 for ; Tue, 25 Jan 2011 14:38:13 +0100 Original-Received: by wwi18 with SMTP id 18so3971664wwi.2 for ; Tue, 25 Jan 2011 05:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=PFu5HvqIJ8dMmQuXjISRw0nFn1n3wcHjAumgmENDQXQ=; b=auGdciqRdL9QKTBxZqYCpv92rS3xPrSMaFis7LdxCLXdBzV6eeYbMYxW+8SCqWR/ny /aT8YRqqZ7n/Gvc267ASvz+8kmNzvLRrFHSmVZL20Xr78vwRGSq92f70ECiwILZCMQwx r+Rl+V40jzZSOmVH3K+hc7BCyAyH8pxU97y4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BTwjDyRkJvr4shGg+kRwUINfIvWMhgmKyBhhSXaxcWn/TJeCeZpxhFnOK6kIbjYuUw cN7P3hey60NuIIaxZwtRGh9AXee8/JCNoe7VZIhUIFXZkUc3ASW2zXWdtPDtJCwD/31M SBsyMA13j9yzDksyBZ+mknhiTerc8yYD9HWxM= Original-Received: by 10.227.141.130 with SMTP id m2mr5938172wbu.54.1295962692370; Tue, 25 Jan 2011 05:38:12 -0800 (PST) Original-Received: by 10.227.134.145 with HTTP; Tue, 25 Jan 2011 05:38:10 -0800 (PST) In-Reply-To: <4D3ED1BF.5080801@free.fr> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DXNCdq6 - e734e4e876eb - 20110125 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65472 Archived-At: On Tue, Jan 25, 2011 at 2:35 PM, Paul Isambert wrote: > 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. As far as I know, the lua lpdf library et similia are the best way. -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________