From: Alan Braslau <braslau.list@comcast.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \documentvariable (used in environment)
Date: Wed, 22 Jul 2020 16:21:06 -0600 [thread overview]
Message-ID: <7d956ed7-147a-a77b-6b45-76c8f303fd1d@comcast.net> (raw)
Hello,
I have put the following in an environment
\startenvironment MYENVIRONMENT
\setupdocument
[metadata:title={\documentvariable{title}},
metadata:subtitle={\documentvariable{subtitle}},
metadata:author={\documentvariable{author}},
metadata:keywords={\documentvariable{keywords}}]
\stopenvironment
and correct use would be
\environment MYENVIRONMENT
\startdocument [title={My title}]
\stopdocument
because, of course, the environment contains more than \setupdocument
such as font loading that should be done before the \startdocument.
The metadata does not get set properly, having to do with expansion or
other notions of TeX that I never seem to get right. What might be the
proper way of handling this?
Thank you
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2020-07-22 22:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-22 22:21 Alan Braslau [this message]
2020-07-23 4:36 ` Wolfgang Schuster
2020-07-24 22:21 ` Alan Braslau
2020-07-25 8:20 ` Wolfgang Schuster
2020-07-25 8:40 ` Henning Hraban Ramm
2020-07-25 14:37 ` Alan Braslau
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=7d956ed7-147a-a77b-6b45-76c8f303fd1d@comcast.net \
--to=braslau.list@comcast.net \
--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).