From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65474 Path: news.gmane.org!not-for-mail From: Paul Isambert Newsgroups: gmane.comp.tex.context Subject: Re: Using \pdfnames and friends. Date: Tue, 25 Jan 2011 15:52:40 +0100 Message-ID: <4D3EE3B8.9080407@free.fr> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295967177 25185 80.91.229.12 (25 Jan 2011 14:52:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 14:52:57 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 25 15:52:53 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 1PhkGK-0006qJ-IC for gctc-ntg-context-518@m.gmane.org; Tue, 25 Jan 2011 15:52:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7FF9CAA7E; Tue, 25 Jan 2011 15:52:51 +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 nRTNdmk+-S0N; Tue, 25 Jan 2011 15:52:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77D02CAA22; Tue, 25 Jan 2011 15:52:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF374CAA22 for ; Tue, 25 Jan 2011 15:52:47 +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 3qKPbc8Ant3K for ; Tue, 25 Jan 2011 15:52:46 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id F3532CAA05 for ; Tue, 25 Jan 2011 15:52:45 +0100 (CET) Original-Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0PEqipI011542 for ; Tue, 25 Jan 2011 15:52:45 +0100 Original-Received: from [192.168.0.1] (unknown [82.232.47.35]) by smtp5-g21.free.fr (Postfix) with ESMTP id 1628AD4801A for ; Tue, 25 Jan 2011 15:52:40 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 ThunderBrowse/3.3.4 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.27.42.5; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DXOQIJz - d61fc0af6b17 - 20110125 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:65474 Archived-At: 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 jobname as the document's title (even though other viewers, which don't understand metadata, display "My work"). So: how do I set the title correctly both in Info and Metadata? 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 ___________________________________________________________________________________