Difference between revisions of "Command/setupdocument"
< Command
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
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> | ||
Line 11: | Line 12: | ||
</cd:keywords> | </cd:keywords> | ||
<cd:assignments list="yes" ordinal="2"> | <cd:assignments list="yes" ordinal="2"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:assignmentsdoc></cd:assignmentsdoc> | <cd:assignmentsdoc></cd:assignmentsdoc> | ||
<cd:parameter name="before"> | <cd:parameter name="before"> | ||
Line 75: | Line 43: | ||
</cd:assignments> | </cd:assignments> | ||
</cd:arguments> | </cd:arguments> | ||
− | |||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> |
Latest revision as of 15:00, 28 October 2021
Contents
\setupdocument
Summary
The command \setupdocument is used for configuring \startdocument.
Settings
\setupdocument[...,...][...=...,...] | |
[...,...] | name |
before | command |
after | command |
metadata:author | text |
metadata:title | text |
metadata:subject | text |
metadata:keywords | text |
key | value |
Option | Explanation | ||
---|---|---|---|
before |
| ||
after |
| ||
metadata:author |
| ||
metadata:title |
| ||
metadata:subject |
| ||
metadata:keywords |
| ||
cd:key |
|
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.