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:
parent
73ca8af100
commit
752bbce889
2
justfile
2
justfile
@ -3,4 +3,4 @@ default:
|
|||||||
|
|
||||||
|
|
||||||
build-example:
|
build-example:
|
||||||
typst leipzig-gloss-examples.typ
|
typst compile leipzig-gloss-examples.typ
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
for item_index in range(0, len) {
|
for item_index in range(0, len) {
|
||||||
let args = ()
|
let args = ()
|
||||||
for line_idx, formatter in formatters {
|
for (line_idx, formatter) in formatters.enumerate() {
|
||||||
let formatter_fn = if formatter == none {
|
let formatter_fn = if formatter == none {
|
||||||
(x) => x
|
(x) => x
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user