Am 06.03.24 um 11:18 schrieb Marco Patzer:
On Tue, 5 Mar 2024 23:14:04 +0100 Wolfgang Schuster
wrote: Here is the official solution:
\startxmlsetups xml:meta \setupmetadata [author={\xmltext{#1}{/author}}, title={\xmltext{#1}{/title}}] \stopxmlsetups
So now we have:
\setupinteraction [title=FooBar]
\setupdocument [metadata:title=FooBar]
\setupmetadata [title=FooBar]
Are any of those deprecated or the preferred way? I'm starting to get confused.
There’s also \settaggedmetadata; I actually didn’t know \setupmetadata. Both are missing in the wiki yet. Also https://wiki.contextgarden.net/Command/setupinteraction doesn’t talk about metadata. Sigh. AFAIK the metadata from \setupinteraction is used for everything, as long as you don’t overwrite it elsewhere. Hraban