Commands › The document and its citations
#t-of The document and its citations
Gives one of the engine's words in the language given, whatever the report's.
#t-of(, , )Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
langrequiredThe language: "de", "fr" or "en".
keyrequiredA key of the glossary's
engine or templates block...valuesoptionalOne named argument per hole of the template.
The essentials
The glossaryThe engine's words live in calc/i18n/strings.json, in three languages.
Without a contextThe language is written: nothing to read in the document.
Three languages side by sideA loop over ("de", "fr", "en") prints a word in each.
Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The language: "de", "fr" or "en". #t-of("fr", "governing")in French, whatever the report's language"de"in German | |
| required | A key of the glossary's engine or templates block."governing"«governing» in English"connection.caption"a template, with its holes | |
| optional | One named argument per hole of the template. id: "VU-MP-1"the template's hole {id}sheet: "SL"the hole {sheet} | |
Lines to copy
Minimal call
#t-of("fr", "governing")Examples
#t-of("fr", "governing")#for l in ("de", "fr", "en") [ #l: #t-of(l, "governing") \ ]Defined in lib/i18n.typ:127