WoodcoreMake the numbers vibe

Commands › Reading the project's data

#project-info Reading the project's data

Gives the project as its .woodcore file describes it, and what produced the export.

#project-info()

Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.

The essentials

Data, not a displayIt returns a value: print it, compare it or loop over it.
Written onceThe project's name, typed in its file, feeds the title page.
Its fieldsname, number, client, address, company, author, checker, woodcore, typst, workbooks.

Lines to copy

Minimal call

#project-info()

Examples

Example 1
#project-info().name
The page project-info produces, level 2
Example 2
#let info = project-info()
#text(size: 14pt)[#info.name] \
Woodcore #info.woodcore.version
The page project-info produces, level 2

Defined in lib/calc-engine-core.typ:205