Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02:
Dear list,
this issue has been bugging me for some time:
[...]
With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them.
For both, I’m using current latest (from 2024.02.27 09:21).
Could anyone confirm the issue or explain me what I am missing
I can confirm the issue and it happens because Hans changed they way how the values of the \setupinteraction commands are passed to Lua side of ConTeXt to be written to the PDF file. I can provide at the moment solutions which ensure the information appear in the PDF but none of the is very elegant and I hope Hans can help with a clean solution. The first solution works around the grouping issue of the xmlsetups environment and pushes the setting beyond the limit of it. \startxmlsetups xml:meta \aftergrouped{\setupinteraction [author={\xmltext{#1}{/author}}, title={\xmltext{#1}{/title}}]} \stopxmlsetups The second solution makes the assignment to the \setupinteraction command global to ensure they are kept even the environment ends, int old MkII days ConTeXt provided a \startglobal environment to do this but now I have rely on the primitives. \startxmlsetups xml:meta \globaldefs\plusone \setupinteraction [author={\xmltext{#1}{/author}}, title={\xmltext{#1}{/title}}] \globaldefs\zerocount \stopxmlsetups Wolfgang