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
___________________________________________________________________________________