Commands › The document and its citations
#woodcore-document The document and its citations
Gives the PDF its metadata from the project: title, authors, Woodcore's version and the document's revision.
#woodcore-document(,
:
)Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
docrequiredThe whole document, as a show rule hands it over.
documentoptional · default "rs"Which of the project's documents it is.
documentoptional · default "rs""rs"the statical report"cu"the service criteria agreement"bp"the basis of designHover a value: its call and what it prints.
No print: it sets the PDF's metadata, not the page.
No print: it sets the PDF's metadata, not the page.
No print: it sets the PDF's metadata, not the page.
Compiled once by Woodcore's engine, on the examples' frozen data.
The essentials
A show rule
#show: woodcore-document at the head of the entry file.A PDF that names itselfYears later, its properties say which program made it and which revision it is.
Three documentsEach entry file says which it is: its journal and revision follow.
The office's rulesIt also applies
caption-rules and doc-tables to the whole document.Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The whole document, as a show rule hands it over. #show: woodcore-documentthe document that follows, whole#show: woodcore-document.with(document: "cu")a service criteria agreement | |
| optional | Which of the project's documents it is. document: "bp"the basis of designdocument: "rs"the statical report, the default | |
Lines to copy
Minimal call
#show: woodcore-documentExamples
#show: woodcore-document
A report whose PDF names its project and its program.#show: woodcore-document
= Statischer Bericht
Die Metadaten des PDF nennen das Projekt und das Programm.Defined in lib/calc-engine-core.typ:307