WoodcoreMake the numbers vibe

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.

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

ArgumentStatusWhat 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 cited
data: 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 win
project: noneonly the documents the engine knows
What is printed
optional
The blocks printed, in their order.
blocks: ("norm",)the norms alone
blocks: ("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 outline
heading: 3as level 3 headings
Other
optional
The bibliography's level of detail.
level: 1the entries alone, no block names
level: 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

Example 1
#show-bibliography()

Levels 2 and 3 print the same page.

Level of detail
The page show-bibliography produces, level 2
Example 2
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
The page show-bibliography produces, level 2

Defined in lib/bibliography.typ:361