Support new #context feature

Typst 0.11 now has the concept of #context's, which can be used with
counters.
This commit is contained in:
Greg Shuflin 2024-04-09 22:54:27 -07:00
parent 4e46b5efcc
commit c4915f652d

View File

@ -114,7 +114,7 @@
}
let gloss_number = if numbering {
[(#gloss-count.display())]
[(#context gloss-count.display())]
} else {
none
}