Commands › The document and its citations
#show-bibliography The document and its citations
Prints every norm and document the report cites in full: designation, title, edition and publisher, in three blocks.
#show-bibliography(
: , : ,
: ,
: ,
:
)Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
dataoptional · default trueAlso lists what the export cites, beside what the report cited.
dataoptional · default truetruethe report and the exportfalsethe report aloneHover a value: its call and what it prints.
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography()What it prints
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false)What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
projectoptional · default noneThe project's
references.bib, from the Typst root; none reads none.projectoptional · default nonenoneFree text, for example:
project: "references.bib"blocksoptional · default autoThe blocks printed, in their order.
blocksoptional · default autoautothe three blocks("norm",)the norms aloneHover a value: its call and what it prints.
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false)What it prints
Prints the same as ("norm",).
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false, blocks: ("norm",))What it prints
Prints the same as auto.
Compiled once by Woodcore's engine, on the examples' frozen data.
headingoptional · default noneHow each block is named: in bold, or as a heading of a level.
headingoptional · default nonenoneeach block's name in bold2as level 2 headingsHover a value: its call and what it prints.
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false)What it prints
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false, heading: 2)What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
leveloptional · default autoThe bibliography's level of detail.
leveloptional · default autoautofollows the document1the entries alone2with the block names3as 2: a bibliography is its own citationHover a value: its call and what it prints.
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false, level: auto)What it prints
Prints the same as 2, 3.
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false, level: 1)What it prints
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false, level: 2)What it prints
Prints the same as auto, 3.
#cite-norm(norm: "SIA 265", norm-ref: "4.2.1")
#cite-norm(norm: "SIA 261", norm-ref: "Tabelle 8")
#show-bibliography(data: false, level: 3)What it prints
Prints the same as auto, 2.
Compiled once by Woodcore's engine, on the examples' frozen data.
The essentials
What is cited, nothing elseA norm never cited is never listed; a citation stays what it was where it is made.
Three blocksThe norms, the literature, and the documents no entry names.
Where the entries come fromcalc/norms/norms.json, and the project's
references.bib where project: names it.Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| optional | Also lists what the export cites, beside what the report cited. data: falseonly what the report citeddata: truethe exported calculations' norms too | |
| optional | The project's references.bib, from the Typst root; none reads none.project: "references.bib"the project's entries, which winproject: noneonly the documents the engine knows | |
| What is printed | ||
| optional | The blocks printed, in their order. blocks: ("norm",)the norms aloneblocks: ("literature", "norm")the literature first | |
| Label and description | ||
| optional | How each block is named: in bold, or as a heading of a level. heading: nonein bold, out of the outlineheading: 3as level 3 headings | |
| Other | ||
| optional | The bibliography's level of detail. level: 1the entries alone, no block nameslevel: 2with the block names | |
Lines to copy
Minimal call
#show-bibliography()Complete call
#show-bibliography(data: true, project: none, blocks: auto, heading: none, level: auto)Examples
#show-bibliography()Levels 2 and 3 print the same page.
Level of detail
In #cite-norm(norm: "SIA 265", norm-ref: "4.2.2.1") steht der Nachweis auf Druck.
#show-bibliography(data: false)Levels 2 and 3 print the same page.
Level of detail
Defined in lib/bibliography.typ:361