typst-community/glossarium

Authorize a glossary entry with `short` or `long`

Closed this issue · 2 comments

glossarium@0.4.1 requires the short attribute. We could relax this by allowing short or long (at least one of them). I have a WIP patch and I will ready a PR once I have merged the changes.

What do you think of changing this behaviour @slashformotion ?

Why not just put the "long" value in the "short" attribut ?

IMO it's semantically more accurate to use long for long text, and short for acronyms, shorter words, e.g., I would find it weird that an entry for "climate change" is written as

short: "climate change"

instead of

long: "climate change"

More generally, entries that do not have corresponding short forms benefit from this.