ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Braslau <braslau.list@comcast.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: \documentvariable (used in environment)
Date: Fri, 24 Jul 2020 16:21:28 -0600	[thread overview]
Message-ID: <ffdb3296-253d-accd-9697-c94ecfbc4066@comcast.net> (raw)
In-Reply-To: <7210cc4e-9006-500f-728e-e526bc193732@gmail.com>

On 22/07/20 22:36, Wolfgang Schuster wrote:
> What exactly doesn't work and do you get the same problems when you set 
> the values in the following minimal example (everything has to be in the 
> same file).
> 
> %%%% begin example
> \setupdocument
>    [metadata:title={\documentvariable{title}},
>     metadata:subtitle={\documentvariable{subtitle}},
>     metadata:author={\documentvariable{author}},
>     metadata:keywords={\documentvariable{keywords}}]
> 
> \startdocument [title={My title}]
> \input knuth
> \stopdocument
> %%%% end example
> 
> Wolfgang

Thank you, Wolfgang.

The above example does work. It fails to set the metadata if one moves 
the \setupdocument to an environment file. As you write, "everything has 
to be in the same file". This is my question, how to set these using an 
environment file, thus NOT the same file as the \startdocument in a 
project structure.

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
___________________________________________________________________________________

  reply	other threads:[~2020-07-24 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22 22:21 Alan Braslau
2020-07-23  4:36 ` Wolfgang Schuster
2020-07-24 22:21   ` Alan Braslau [this message]
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=ffdb3296-253d-accd-9697-c94ecfbc4066@comcast.net \
    --to=braslau.list@comcast.net \
    --cc=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).