Difference between revisions of "Command/setupdocument"

From Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<cd:shortdesc><!-- a short command summary goes here -->
 
<cd:shortdesc><!-- a short command summary goes here -->
 
The command <tt>\setupdocument</tt> is used for configuring {{cmd|startdocument}}.
 
The command <tt>\setupdocument</tt> is used for configuring {{cmd|startdocument}}.
 +
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:variants>
 
<cd:variants>

Revision as of 14:57, 28 October 2021


\setupdocument

Summary

The command \setupdocument is used for configuring \startdocument.


Settings

\setupdocument[...,...][...=...,...]
[...,...]name
beforecommand
aftercommand
metadata:authortext
metadata:titletext
metadata:subjecttext
metadata:keywordstext
keyvalue

Description

With \setupdocument you can preset values to be used by \startdocument. Any argument passed to \setupdocument can be queried later with \documentvariable.

See \startdocument for an example.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: