Fix use of measure function for new version of typst
This commit is contained in:
parent
ae3784f4ec
commit
32dc733b78
Binary file not shown.
@ -177,7 +177,7 @@
|
||||
dir: ltr, //TODO this needs to be more flexible
|
||||
left-padding,
|
||||
[#example-number],
|
||||
gloss-padding - left-padding - measure([#example-number],styles).width,
|
||||
gloss-padding - left-padding - measure([#example-number]).width,
|
||||
{
|
||||
if args.pos().len() == 1 { // a simple example with no sub-examples
|
||||
gloss(..arguments(..args.pos().at(0)))
|
||||
|
Loading…
Reference in New Issue
Block a user