diff --git a/justfile b/justfile index b7973cc..8655db5 100644 --- a/justfile +++ b/justfile @@ -3,4 +3,4 @@ default: build-example: - typst leipzig-gloss-examples.typ + typst compile leipzig-gloss-examples.typ diff --git a/leipzig-gloss.typ b/leipzig-gloss.typ index 49e4b55..347d4c6 100644 --- a/leipzig-gloss.typ +++ b/leipzig-gloss.typ @@ -17,7 +17,7 @@ for item_index in range(0, len) { let args = () - for line_idx, formatter in formatters { + for (line_idx, formatter) in formatters.enumerate() { let formatter_fn = if formatter == none { (x) => x } else {