ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: ConTeXt users <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: [NTG-context] missing metadata in LMTX
Date: Sun, 3 Mar 2024 20:02:17 +0100	[thread overview]
Message-ID: <de6e2b0b-25af-eaa3-e136-7a5d8c963339@gmx.es> (raw)

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	other threads:[~2024-03-03 19:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-03 19:02 Pablo Rodriguez via ntg-context [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de6e2b0b-25af-eaa3-e136-7a5d8c963339@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).