Hello all,

How do I define the \setuptitlepage and \placetitlepage commands in the environment file? These commands are used as shown in the example below.

%%%%%%%%%%%%%%%%%%%%
\environment docenv

\setuptitlepage[author=weare,
                      name=thisismyname,
                      draft=yes]

\starttext
\placetitlepage

\chapter{First}

kasj dlkasjdfl asdf
asdfkjaslfd jalsfd

\stoptext
%%%%%%%%%%%%%%%%%%%%

Thank you,
Marius