Difference between revisions of "Command/setupdocument"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \setupdocument") |
|||
Line 45: | Line 45: | ||
</cd:description> | </cd:description> | ||
<cd:examples></cd:examples> | <cd:examples></cd:examples> | ||
− | <cd:notes></cd:notes> | + | <cd:notes> |
+ | <cd:note author="Massifr" date="2021-06-10T16:08:28+0200"> | ||
+ | <tt>\setupdocument</tt> doesn't work when it's inside a <tt>\startmode ... \stopmode</tt> or a <tt>\startnotmode ... \stopnotmode</tt> block. | ||
+ | </cd:note></cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
<cd:source file="file-job.mkvi" originator="system"></cd:source> | <cd:source file="file-job.mkvi" originator="system"></cd:source> |
Revision as of 14:10, 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.