From 870e346bc1282851b659aeae74f239223c006829 Mon Sep 17 00:00:00 2001 From: "Bethany E. Toma" Date: Wed, 5 Apr 2023 16:59:29 +0200 Subject: [PATCH] changed counter to work with typst 0.1.0 --- leipzig-gloss.typ | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/leipzig-gloss.typ b/leipzig-gloss.typ index 49e4b55..b8983c5 100644 --- a/leipzig-gloss.typ +++ b/leipzig-gloss.typ @@ -88,6 +88,10 @@ } } + if numbering { + gloss_count.step() + } + let gloss_number = if numbering { [(#gloss_count.display())] } else { @@ -95,10 +99,6 @@ } [#gloss_number #pad(left: 1em)[#gloss_items]] - - if numbering { - gloss_count.step() - } } #let numbered_gloss = gloss.with(numbering: true)