Dear list,

this issue has been bugging me for some time:

  \startbuffer[demo]
  <doc>
    <meta>
       <author>author</author>
       <title>title</title>
    </meta>
    <text>
      text
    </text>
  </doc>
  \stopbuffer

  \starttext

  \startxmlsetups xml:initialize
    \xmlsetsetup{#1}{code|meta|text}{xml:*}
  \stopxmlsetups

  \xmlregistersetup{xml:initialize}

  \startxmlsetups xml:doc
    \xmlflush{#1}
  \stopxmlsetups

  \startxmlsetups xml:meta
    \setupinteraction
      [author={\xmltext{#1}{/author}},
       title={\xmltext{#1}{/title}}]
  \stopxmlsetups

  \startxmlsetups xml:text
     \xmlflush{#1}
  \stopxmlsetups

  \setupinteraction[state=start]
  \xmlprocessbuffer{main}{demo}{}
  \stoptext

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?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to