From 90962d86184cded236b5cd11f71ab2bcd324c2b2 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 6 Nov 2024 12:02:45 +0100 Subject: [PATCH] Fixed cannot loop over none error for glossary --- template/fhict-template.typ | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/fhict-template.typ b/template/fhict-template.typ index 8797a3b..1211f84 100644 --- a/template/fhict-template.typ +++ b/template/fhict-template.typ @@ -198,7 +198,9 @@ body, ) = { show: make-glossary - register-glossary(glossary-terms) + if glossary-terms != none { + register-glossary(glossary-terms) + } let meta-authors = "" let index-main(..args) = index(fmt: strong, ..args)