Closed stormofice closed 7 months ago
Typst has a weird syntax:
()
is interpreted as a dictionary(,)
is interpreted as a listyou need to add a ,
at the end of the line with the glossary entry (see below)
#import "@preview/glossarium:0.2.6": make-glossary, print-glossary, gls, glspl
#show: make-glossary
#print-glossary((
(key: "os", short: "OS", long: "operating system"), // here
))
Since the function print-glossary expect a list of dicts, we are supposed to be able to sort that list.
Thanks, that fixed it :)
Didn't know about this syntactic distinction
Hello,
I can't get typst to work with glossarium.
Using this minimal example:
I encounter the following issue:
I have tried it with the latest release version (0.10.0) and the nightly git release (typst 0.10.0 (e2e8159b)).
Am I missing something?