changed counter to work with typst 0.1.0
This commit is contained in:
parent
c48c70fe46
commit
870e346bc1
@ -88,6 +88,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if numbering {
|
||||||
|
gloss_count.step()
|
||||||
|
}
|
||||||
|
|
||||||
let gloss_number = if numbering {
|
let gloss_number = if numbering {
|
||||||
[(#gloss_count.display())]
|
[(#gloss_count.display())]
|
||||||
} else {
|
} else {
|
||||||
@ -95,10 +99,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
[#gloss_number #pad(left: 1em)[#gloss_items]]
|
[#gloss_number #pad(left: 1em)[#gloss_items]]
|
||||||
|
|
||||||
if numbering {
|
|
||||||
gloss_count.step()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#let numbered_gloss = gloss.with(numbering: true)
|
#let numbered_gloss = gloss.with(numbering: true)
|
||||||
|
Loading…
Reference in New Issue
Block a user