Ah yes. That’s the thing with what I showed earlier. You have to implement the features of glossarium. The original function to print the glossary is a bit more complex.
try with
#print-glossary(
show-all: true,
user-print-glossary: (entries, groups, ..) => {
table(
columns: 3,
stroke: 0pt,
..for group in groups {
(
table.cell(group, colspan: 3),
..for entry in entries.filter(x => x.group == group) {
(
entry.short,
entry.long,
[
#figure(
kind: "glossarium_figure",
supplement: "",
caption: entry.description,
)[]
#label(entry.key)
#figure(
kind: "glossarium_figure",
supplement: "",
)[]
#label(entry.key + ":pl")
]
)
}
)
}
)
},
entry-list
)
instead
There’s no “easy way” as of now to fully control the glossary. It’s a work in progress, however.