Update supported typst version to 0.13
This commit is contained in:
parent
cde9954621
commit
9ea3b6167a
Binary file not shown.
@ -51,10 +51,10 @@
|
||||
translation-style: none,
|
||||
item-spacing: 1em,
|
||||
) = {
|
||||
assert(type(source) == "array", message: "source needs to be an array; perhaps you forgot to type `(` and `)`, or a trailing comma?")
|
||||
assert(type(source) == array, message: "source needs to be an array; perhaps you forgot to type `(` and `)`, or a trailing comma?")
|
||||
|
||||
if morphemes != none {
|
||||
assert(type(morphemes) == "array", message: "morphemes needs to be an array; perhaps you forgot to type `(` and `)`, or a trailing comma?")
|
||||
assert(type(morphemes) == array, message: "morphemes needs to be an array; perhaps you forgot to type `(` and `)`, or a trailing comma?")
|
||||
assert(source.len() == morphemes.len(), message: "source and morphemes have different lengths")
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@
|
||||
none
|
||||
}
|
||||
|
||||
style(styles => {
|
||||
context(
|
||||
block(breakable: breakable)[
|
||||
#figure(
|
||||
kind: "example",
|
||||
@ -193,7 +193,6 @@
|
||||
),
|
||||
) #if label != none {std.label(label)}
|
||||
]
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user