Re: [NTG-context] PDF custom properties
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— > > > > 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 > > Keywordkeywords > > > > 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 > > ___ > ___ 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 ___
Re: [NTG-context] PDF custom properties
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 ___
Re: [NTG-context] PDF custom properties
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 Keywordkeywords 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 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 > > ___ > ___ 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 ___
Re: [NTG-context] PDF custom properties
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 ___