From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110969 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: PDF custom properties Date: Thu, 25 Mar 2021 10:04:33 -0400 Message-ID: References: <7ad10b53-e8e8-10cd-36ea-fd56edd70d20@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0088257865990858298==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25084"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 25 15:05:42 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lPQcI-0006KE-7i for gctc-ntg-context-518@m.gmane-mx.org; Thu, 25 Mar 2021 15:05:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BB0AC281DD4; Thu, 25 Mar 2021 15:04:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80PkVXht51KQ; Thu, 25 Mar 2021 15:04:47 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8C9A5281DC0; Thu, 25 Mar 2021 15:04:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0FA17281DB6 for ; Thu, 25 Mar 2021 15:04:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HpSvi5sjqK8J for ; Thu, 25 Mar 2021 15:04:44 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.46; helo=mail-ed1-f46.google.com; envelope-from=bowenalan03@gmail.com; receiver= Original-Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C3C02281B37 for ; Thu, 25 Mar 2021 15:04:44 +0100 (CET) Original-Received: by mail-ed1-f46.google.com with SMTP id h13so2549992eds.5 for ; Thu, 25 Mar 2021 07:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eGGurcpKHF06OwrDt29cQlv5U07ucprdnxXvAsFNQVc=; b=kMOWOj3cuXyFJcunldb9bQvPCiNnmFLqaVn+CnKPzG3H7S9hit/flaLsA0s3Bd9Y5J 3f7FTk7Li30u5JJDHhaiaK3/vRum56nruWPIssVK9Rn+qvUXXt1PXTBCrIMxYDx6WsOu fEX+B68+Yh8wt8+0YMlv7wgeCQ2CW0HCy0kSBMQh+VVaGTQMOOjO0g/MmZEyGTEMBLkl efumvBXjG7rKmpb8EaZOMIh1wMAHhpoODp2rjNSUkM19HCF8pAlHh2eiyDHx9pNzwRzC +zhrg8iqduUDhoIyVAuW26op4zdxldEhTZkIp0lrMxS25s789TomSihXqbpZwPcq4lkT CYvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eGGurcpKHF06OwrDt29cQlv5U07ucprdnxXvAsFNQVc=; b=YPs3R1f5EX4XEeMHFUyVldnZiZndwcP8ygcdrohtPBJtkCrjM782McXRA6wFSCh6xs 8KX5dxW7ss8hjIwmI5H2fYqowfivgpschdLHaWBEb5mTgpVC0/FQx49ORQdvSKflbavV 8HsbYOKx8Xf8+IWXLUzxKJpPI1KlnT1DvARc0f/SfcWjy1vQobpqeL1aTCr+s0ih5ddM vCfN+Pdenfzo61Z043gc4pF7nXfZUuY9YIX9lYMasgbbLyb+6Y1ZIERVQ6Zd3vU90CDb 0AtBgMIcGYC0HBA0KPKMqrUAUd2pGgc5ccRWW7TKZcS15AD7kBqboiJBSSq5tVbDOUDi 6qNA== X-Gm-Message-State: AOAM5336JsJG3vdpP3HE12cbML+XAR0/zd72D50hSdVoorTID2S4uidx mLpAKWn/FI5Hh3ZIQZiZq8/nLXzzE40HHclWdRTHzujDLk8= X-Google-Smtp-Source: ABdhPJxqRq1si8TuOVpZ1RXj5giRVwtSDPHyaJnrxV1xhsk+5AbCKH+syzXrBUGWcXvZdh7v1PoGBrgD7OZzHI9PBnM= X-Received: by 2002:a05:6402:1713:: with SMTP id y19mr9273105edu.52.1616681084315; Thu, 25 Mar 2021 07:04:44 -0700 (PDT) In-Reply-To: <7ad10b53-e8e8-10cd-36ea-fd56edd70d20@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:110969 Archived-At: --===============0088257865990858298== Content-Type: multipart/alternative; boundary="000000000000beeaae05be5ce56d" --000000000000beeaae05be5ce56d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Many thanks, Pablo. That does indeed help. I now have the metadata that I want. And, as I have discovered, I will need to get PDFPen Pro to access more than just the Document info panel. Until then, I will rely on Acrobat Reader to ensure that it is available. Very best, Alan On Wed, Mar 24, 2021 at 2:57 PM Pablo Rodriguez wrote: > On 3/23/21 10:12 PM, Alan Bowen wrote: > > Hi, Pablo=E2=80=94 > > > > My inquiry concerns the possibility of getting *custom* properties that > > I could specify using \setupinteraction in a way that would output in > > the PDF file (under Document Info or Document Properties) as: > > > > Editor (not Author) editors names > > > > Title title of work > > Subtitle (not Subject) the subtitle of the work > > Subject the subject of the work > > Keyword keywords > > > > See https://wiki.contextgarden.net/Interaction PDF Header and Custom > > Properties. > > Hi Alan, > > it seems that the key field cannot contain spaces. So it should read: > > \pdfbackendsetinfo{key}{ Text } > > Otherwise, Acrobat Reader (both latest DC in Windows and version 9.5 in > Linux) cannot open the document. > > And the information is displayed in the custom tab from document > properties, not in the description tab. > > Here is an image of the dialog: > > > https://community.adobe.com/legacyfs/online/1160244_PDF%20Document%20Prop= erties%20Example.JPG > > Acrobat Reader version 9.5 doesn=E2=80=99t contain that tab and it cannot > display the field. > > I hope it helps now, > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000beeaae05be5ce56d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Many thanks, Pablo. That does indeed help. I now have the = metadata that I want. And, as I have discovered, I will need to get PDFPen = Pro=C2=A0to access more than just the Document info panel. Until then, I wi= ll rely on Acrobat Reader to ensure that it is available.

=
= Very best, Alan

On Wed, Mar 24, 2021 at 2:57 PM Pablo Rodriguez <oinos@gmx.es> wrote:
On 3/23/21 10:12 PM, Alan Bowen wrote:
> Hi, Pablo=E2=80=94
>
> My inquiry concerns the possibility of getting *custom* properties tha= t
> I could specify using \setupinteraction in a way that would output in<= br> > the PDF file (under Document Info=C2=A0or Document Properties) as:
>
> Editor (not Author) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 editors names =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
> Title =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 title of work
> Subtitle (not Subject) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0the subtitle of the work=C2=A0
> Subject =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 the subject= of the work =C2=A0
> Keyword =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0keywords
>
> See=C2=A0https://wiki.contextgarden.net/Interaction PDF Header and Custom
> Properties.

Hi Alan,

it seems that the key field cannot contain spaces. So it should read:

=C2=A0 \pdfbackendsetinfo{key}{ Text }

Otherwise, Acrobat Reader (both latest DC in Windows and version 9.5 in
Linux) cannot open the document.

And the information is displayed in the custom tab from document
properties, not in the description tab.

Here is an image of the dialog:

https:/= /community.adobe.com/legacyfs/online/1160244_PDF%20Document%20Properties%20= Example.JPG

Acrobat Reader version 9.5 doesn=E2=80=99t contain that tab and it cannot display the field.

I hope it helps now,

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000beeaae05be5ce56d-- --===============0088257865990858298== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0088257865990858298==--