Changes

Jump to navigation Jump to search
no edit summary
</cd:shortdesc>
<cd:variants>
<cd:command category="structure" file="file-job.mkvi" interfacedate="20202021-0603-19T1302T11:4108" interfacefile="i-document.xml" level="document" name="document" type="environment" variantnumber="1">
<cd:arguments>
<cd:keywords optional="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setupdocument"></cd:inherit>
</cd:assignments>
<!--previously present arguments (merge 2021-10-28T16:28):
<cd:arguments>
<cd:assignments list="yes" optional="yes" ordinal="1">
<cd:assignmentsdoc></cd:assignmentsdoc>
</cd:assignments>
</cd:arguments>
--></cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Sometimes it makes sense to have options available at the time of {{cmd|starttext}}, for example to typeset a title page. {{cmd|startdocument}} allows you to do this either directly by passing arbitrary keys and values to the command itself, or via {{cmd|setupdocument}}.
{{cmd|startdocument}} by default makes use of two setups: <code>document:start</code> and <code>document:stop</code>.
You can use <code>document:start</code> to construct a title page. You can fetch the passed values by using the {{cmd|documentvariable}} command.</cd:description>
[documentauthor] % name of internal variables
[type=module,
name=author,
command=yes, % Create \defineauthor
style=yes, % Create \useauthorstyleandcolor
setup=list, % Create \setupauthor
parent=documentauthor,
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definedocument" originator="system"></cd:commandref>
<cd:commandref name="setupdocument" originator="system"></cd:commandref>
<cd:source file="file-job.mkvi" originator="system"></cd:source>

Navigation menu