Difference between revisions of "Command/setupdocument"
< Command
Jump to navigation
Jump to search
Tag: Undo |
|||
Line 47: | Line 47: | ||
<cd:notes> | <cd:notes> | ||
<cd:note author="Massifr" date="2021-06-10T16:08:28+0200"> | <cd:note author="Massifr" date="2021-06-10T16:08:28+0200"> | ||
− | <tt>\setupdocument</tt> doesn | + | |
+ | <tt>\setupdocument</tt> doesn&squo;t work when it&squo;s inside a <tt>\startmode ... \stopmode</tt> or a <tt>\startnotmode ... \stopnotmode</tt> block. | ||
+ | |||
</cd:note></cd:notes> | </cd:note></cd:notes> | ||
<cd:seealso> | <cd:seealso> |
Revision as of 14:12, 10 June 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.
Examples
Notes
- By Massifr on 2021-06-10T16:08:28+0200:
\setupdocument doesn't work when it's inside a \startmode ... \stopmode or a \startnotmode ... \stopnotmode block.