typst-community/glossarium

Enable referencing nested gloss from description with more than 1 level of indirection

Opened this issue · 1 comments

#55
Introduced in 0.4.2 when replacing final behaviour

@quachpas I think this demonstrates the problem. The fourth term does not get printed although it does gets cited by the third. If you cite the second term, the fourth term does appear.

#import "@preview/glossarium:0.4.1": make-glossary, print-glossary, gls, glspl
#show: make-glossary

#let glossary-terms = (
  (key: "unamura", short: "UNamura", long: "Namur Universitya", desc: [test a @unamurb]),
  (key: "unamurb", short: "UNamurb", long: "Namur Universityb", desc: [test b @unamurc]),
  (key: "unamurc", short: "UNamurc", long: "Namur Universityc", desc: [test c @unamurd]),
  (key: "unamurd", short: "UNamurd", long: "Namur Universityd", desc: [test d]),
)

@unamura sdsadas

// @unamurb sdsadas

#print-glossary((glossary-terms))