On 2025-04-30 08:55, Steffen Wolfrum wrote:

Do you mean by adding to my document  \setupbackend[xmpfile=…] ?

And if so, how do I actually write a xmpfile?

Steffen

I took the route described in the mailing list at https://www.mail-archive.com/ntg-context@ntg.nl/msg64956.html and inserted it successfully as follows:


\setupbackend[format={PDF/UA-1}]
\setuptagging[state=start]
\enabledirectives[backend.usetags=crap]
\startluacode
    lpdf.injectxmpinfo("xml://rdf:RDF","<rdf:Description rdf:about='' xmlns:tdm='http://www.w3.org/ns/tdmrep/'><tdm:reservation>1</tdm:reservation></rdf:Description>",false)
\stopluacode

--
Rik