Add show-all flag to glossary() and test-case

This commit is contained in:
Niam Patel authored and Stephen Waits committed 2025-04-03 08:46:11 -07:00
1 parent 3264971bfe
commit b899c875c9
2 files changed
+39 -1

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
#import "/lib.typ": *
#show: init-glossary.with((
one: "this is term one",
two: "term two also"
))
#set page(
margin: 1em,
width: 3.5in,
height: auto,
)
#set text(size: 10pt)
In this document we don't reference our glossary items but expect them to be
shown anyway.
#glossary(show-all: true)
#glossary(
theme: theme-chicago-index,
show-all: true
)
#glossary(
theme: theme-compact,
show-all: true
)
#glossary(
theme: theme-table,
show-all: true
)