ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF custom properties
@ 2021-03-23 19:25 Alan Bowen
  2021-03-23 20:32 ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2021-03-23 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 458 bytes --]

I should like to set the PDf properties so that the Document Info panel has
Editor ...
Title ...
Subtitle ...
Subject ...
Keyword ....

The problem is that currently
\setupinteraction[subtitle=text,] goes to Subject and that there are no
keys to get output labelled Subject or Editor.

I have experimented with \pdfbackendsetinfo{ key }{ Text } but, so far,
unsuccessfully.

If this is possible,any suggestions about how to do it will be most welcome.

Alan

[-- Attachment #1.2: Type: text/html, Size: 1962 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PDF custom properties
  2021-03-23 19:25 PDF custom properties Alan Bowen
@ 2021-03-23 20:32 ` Pablo Rodriguez
  2021-03-23 21:12   ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2021-03-23 20:32 UTC (permalink / raw)
  To: ntg-context

On 3/23/21 8:25 PM, Alan Bowen wrote:
> I should like to set the PDf properties so that the Document Info panel has
> Editor ...
> Title ...
> Subtitle ...
> Subject ...
> Keyword ....
>
> The problem is that currently 
> \setupinteraction[subtitle=text,] goes to Subject and that there are no
> keys to get output labelled Subject or Editor.

Sorry, Alan, I’m afraid I don’t get your point.

  \setupinteraction
    [state=start,
     title=Title,
     author=Author,
     subtitle=Subject,
     keyword=Keyword]
  \starttext
  \null
  \stoptext

According to the PDF spec
(https://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf#nameddest=G13.2348400),
there is no editor field in standard metadata (unless you mean creator
or producer).

Just in case it might help,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PDF custom properties
  2021-03-23 20:32 ` Pablo Rodriguez
@ 2021-03-23 21:12   ` Alan Bowen
  2021-03-24 18:56     ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2021-03-23 21:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2250 bytes --]

Hi, Pablo—

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.

Thanks for the PDF spec file. I will check it out for any hints about
non-standard metadata.

Alan


On Tue, Mar 23, 2021 at 4:33 PM Pablo Rodriguez <oinos@gmx.es> wrote:

> On 3/23/21 8:25 PM, Alan Bowen wrote:
> > I should like to set the PDf properties so that the Document Info panel
> has
> > Editor ...
> > Title ...
> > Subtitle ...
> > Subject ...
> > Keyword ....
> >
> > The problem is that currently
> > \setupinteraction[subtitle=text,] goes to Subject and that there are no
> > keys to get output labelled Subject or Editor.
>
> Sorry, Alan, I’m afraid I don’t get your point.
>
>   \setupinteraction
>     [state=start,
>      title=Title,
>      author=Author,
>      subtitle=Subject,
>      keyword=Keyword]
>   \starttext
>   \null
>   \stoptext
>
> According to the PDF spec
> (
> https://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf#nameddest=G13.2348400
> ),
> there is no editor field in standard metadata (unless you mean creator
> or producer).
>
> Just in case it might help,
>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PDF custom properties
  2021-03-23 21:12   ` Alan Bowen
@ 2021-03-24 18:56     ` Pablo Rodriguez
  2021-03-25 14:04       ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2021-03-24 18:56 UTC (permalink / raw)
  To: ntg-context

On 3/23/21 10:12 PM, Alan Bowen wrote:
> Hi, Pablo—
>
> 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%20Properties%20Example.JPG

Acrobat Reader version 9.5 doesn’t 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PDF custom properties
  2021-03-24 18:56     ` Pablo Rodriguez
@ 2021-03-25 14:04       ` Alan Bowen
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Bowen @ 2021-03-25 14:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2264 bytes --]

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 <oinos@gmx.es> wrote:

> On 3/23/21 10:12 PM, Alan Bowen wrote:
> > Hi, Pablo—
> >
> > 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%20Properties%20Example.JPG
>
> Acrobat Reader version 9.5 doesn’t 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3834 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-25 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 19:25 PDF custom properties Alan Bowen
2021-03-23 20:32 ` Pablo Rodriguez
2021-03-23 21:12   ` Alan Bowen
2021-03-24 18:56     ` Pablo Rodriguez
2021-03-25 14:04       ` Alan Bowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).