ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: missing metadata in LMTX
Date: Wed, 6 Mar 2024 11:18:34 +0100	[thread overview]
Message-ID: <20240306111834.7ede0de5@homerow> (raw)
In-Reply-To: <843cdc50-0e5c-8597-ad8b-bace9819ce1c@gmail.com>

On Tue, 5 Mar 2024 23:14:04 +0100
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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.

Marco
___________________________________________________________________________________
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-06 10:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-03 19:02 [NTG-context] " 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 [this message]
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=20240306111834.7ede0de5@homerow \
    --to=lists@homerow.info \
    --cc=ntg-context@ntg.nl \
    /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).