Handle latest typst version breaking changes

* Use the now-required `compile` subcommand in the justfile
* Use the new syntax for enumerated for-loops
This commit is contained in:
Greg Shuflin committed 2023-04-08 00:07:42 -07:00
1 parent 73ca8af100
commit 752bbce889
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3,4 +3,4 @@ default:
build-example:
typst leipzig-gloss-examples.typ
typst compile leipzig-gloss-examples.typ
+1 -1
View File
@@ -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 {