Glossarium 0.5.9 - How can I get rid of duplicate page references?

If i have multiple #gls("key") on the same page I get the page multiple times in glossary:

LLM – Large Language Model: Large Language Model: Large Language Models (LLMs) sind künstliche neuronale Netze zur Verarbeitung natürlicher Sprache (Natural Language Processing, NLP),
iii, iii, iii, 1, 1, 1, 2, 2, 2, 3, 3, 3, …

Can the multiple references reduced to only one?

Hj @Florian_Bilek,

the deduplicate-back-references argument in print-glossary controls this:

#print-glossary(
 entry-list,
 deduplicate-back-references: true
)

Hi @Flokl,

Thank you that works.

Hi @Florian_Bilek and welcome to the forum, glad you got a satisfying answer! I’ve marked it :white_check_mark: as the solution, so that others can more easily find it later – don’t forget next time :slight_smile: I also edited your title to bring it in line with the question guidelines and thus make it easier to understand from the title:

Good titles are questions you would ask your friend about Typst.

1 Like