From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65479 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 17:07:34 +0100 Message-ID: References: <4D3EE3B8.9080407@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 1295971686 19790 80.91.229.12 (25 Jan 2011 16:08:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 16:08:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 25 17:08:01 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 1PhlR3-0000Q8-36 for gctc-ntg-context-518@m.gmane.org; Tue, 25 Jan 2011 17:08:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2EE2CAA8C; Tue, 25 Jan 2011 17:08:00 +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 dYT9E5CybB0N; Tue, 25 Jan 2011 17:07:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D85ECAA2D; Tue, 25 Jan 2011 17:07:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EDE90CAA2D for ; Tue, 25 Jan 2011 17:07: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 BJ6Vpo0JsqyB for ; Tue, 25 Jan 2011 17:07:36 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id E5946CAA22 for ; Tue, 25 Jan 2011 17:07:36 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0PG7aho005306 for ; Tue, 25 Jan 2011 17:07:36 +0100 Original-Received: by wwb29 with SMTP id 29so5339500wwb.2 for ; Tue, 25 Jan 2011 08:07:35 -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=erh794pd/FKw2re1jXzsuVNRBlDE/EZVfKF2YFFPdFo=; b=gzsFKYXfZcmTY8ofommDLDYdko6sYzOCVFdvqYXu4dPiZHo3bWPcUAsAafDG096n+/ PQlVJh1uHItcJ+5myksnBMCVy9VMZvXqva+In4QVSF+aR7jm/gaSdoqc336iTQtlxO1z v3s0cblSHIwsHdc4PLN05rnv3DYfnQGHnTKps= 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=Wg5Jpt3mPZQRyIcM2C744X8kIrI74/gesCnZ8h3SzSPxKIfjFA0/knL8nm914uyKVl 7qI5Lxwiyk6l1rI5cz03nzMJx9e+DMeI/adRXeijBPiTQP6/ZjrDscBaIA9RTGDvTCip ZZlntjTZJvyTbnA8kb36DUxm9P3Mln0gtIst0= Original-Received: by 10.227.179.203 with SMTP id br11mr3920318wbb.112.1295971655617; Tue, 25 Jan 2011 08:07:35 -0800 (PST) Original-Received: by 10.227.134.145 with HTTP; Tue, 25 Jan 2011 08:07:34 -0800 (PST) In-Reply-To: <4D3EE3B8.9080407@free.fr> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 04DXQ7Abc - 0e0dd5389e4b - 20110125 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:65479 Archived-At: On Tue, Jan 25, 2011 at 3:52 PM, Paul Isambert wrote: > 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? hm, I suspect that metadata are very sensible for PDF/A, so they should be managed with care. Perhaps tex/texmf-context/tex/context/base/lpdf-xmp.lua gives some hint -- 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 ___________________________________________________________________________________