Re: [NTG-context] Acrobat doesn’t read imported metadata

2021-10-11 Thread Pablo Rodriguez via ntg-context
On 10/10/21 6:51 PM, Hans Hagen via ntg-context wrote: > On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Being the sample file https://pdf.ousia.tk/metadata.pdf, Acrobat cannot >> display the imported title or either the creation or modification dates. >> >> What am I

Re: [NTG-context] Acrobat doesn’t read imported metadata

2021-10-10 Thread Hans Hagen via ntg-context
On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title),

[NTG-context] Acrobat doesn’t read imported metadata

2021-10-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title), lpdf.string(main_doc.Info.Title)) lpdf.addtoinfo("CreationDate",