[NTG-context] Adding Custom PDF Property

Hans Hagen j.hagen at xs4all.nl
Mon Nov 23 13:21:45 CET 2020


On 11/23/2020 11:26 AM, Ramkumar KB wrote:
> Hello List,
> 
> I am looking for a way to add custom PDF properties to the document.
> 
>  From the docs, I can see how to add standard properties (a.k.a headers) 
> like Title, Author, Subtitle and Keywords - 
> https://wiki.contextgarden.net/Interaction#PDF_Headers 
> <https://wiki.contextgarden.net/Interaction#PDF_Headers>
> 
> But I would like to add my own custom Name-Value properties (similar to 
> what ConTeXt, by default, adds like `ConTeXt.Url=www.pragma-ade.com 
> <http://www.pragma-ade.com>` when I open the document in Adobe Reader).
\pdfbackendsetinfo{foo}{bar}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list