ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] missing metadata in LMTX
@ 2024-03-03 19:02 Pablo Rodriguez via ntg-context
  2024-03-04  0:18 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-03-03 19:02 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-03-06 19:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-03 19:02 [NTG-context] missing metadata in LMTX Pablo Rodriguez via ntg-context
2024-03-04  0:18 ` [NTG-context] " Wolfgang Schuster
2024-03-04  6:17   ` Pablo Rodriguez via ntg-context
2024-03-05 22:14     ` Wolfgang Schuster
2024-03-06 10:18       ` Marco Patzer
2024-03-06 10:32         ` Henning Hraban Ramm
2024-03-06 14:54         ` Hans Hagen
2024-03-06 15:52           ` Pablo Rodriguez via ntg-context
2024-03-06 16:35             ` Wolfgang Schuster
2024-03-06 19:11               ` Pablo Rodriguez via ntg-context
2024-03-06 19:23                 ` Wolfgang Schuster
2024-03-06 19:27                 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).