17 lines
498 B
Plaintext
17 lines
498 B
Plaintext
// ----- IMPORTS -----
|
|
#import "@preview/glossarium:0.5.10": gls, glspl, make-glossary, print-glossary, register-glossary
|
|
#import "setup/glossary.typ": glossary
|
|
|
|
// ----- SHOW RULES -----
|
|
// make-glossary should be left as the last show rule
|
|
#show: make-glossary
|
|
#register-glossary(glossary)
|
|
|
|
// prints the glossary, probably belongs at the end
|
|
#print-glossary(
|
|
glossary,
|
|
entry-sortkey: x => x.long,
|
|
shorthands: ("plural", "capitalize", "capitalize-plural", "short", "long"),
|
|
show-all: true,
|
|
)
|