Command/setupdocument

From Wiki
< Command
Revision as of 14:46, 10 June 2021 by Taco (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\setupdocument

Summary

The command \setupdocument is used for configuring \startdocument.

Settings

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

OptionExplanation
before
Command to run before the text. Default: \directsetup{document:start}
after
Command to run after the text. Default: \directsetup{document:stop}
metadata:author
Value for the PDF metadata /Author field
metadata:title
Value for the PDF metadata /Title field
metadata:subject
Value for the PDF metadata /Subject field
metadata:keywords
Value for the PDF metadata /Keywords field
cd:key
Any user-supplied 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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: