On 3/6/2024 11:18 AM, Marco Patzer wrote:
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]
that just sets defaults for \setupinteraction so that they inherit from document
\setupmetadata [title=FooBar]
that's for those who go global
Are any of those deprecated or the preferred way? I'm starting to get confused.
even if we would use \setupmetadata we'd still have \setupinteraction because we remain compatible Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------