WoodcoreMake the numbers vibe

Commands › The document and its citations

#tl-str The document and its citations

Gives a word the data carries as a string, in the report's language: for a formula or a drawing too.

#tl-str()

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

The essentials

In a contextIt reads the report's language: call it in a context.
The data's wordsA label of the export is German; it is translated where it is a glossary term, else kept.
A stringIt serves in math source or SVG text too.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The German word the export carries.
"Bezugshöhe"a glossary term, translated
"Fichte C24"a material's name, kept as it is

Lines to copy

Minimal call

#context tl-str("Bezugshöhe")

Examples

Example 1
#context [#tl-str("Schneelast")]
The page tl-str produces, level 2
Example 2
#set-report-language("fr")
#context [#tl-str("Bezugshöhe")]
The page tl-str produces, level 2

Defined in lib/i18n.typ:252