Erik

Results 106 comments of Erik

Another example which produces `panicked at 'assertion failed: size.is_finite()'`: ```typst #set page(height: auto) #show enum: columns.with(2) + first + second #colbreak() + third + fourth ``` using the [typst-renderer bot](https://github.com/mattfbacon/typst-bot)...

I just ran into this again when placing 2 images in a grid on an `auto`-sized page, using `0.11.0 (e6f7cc12)`. ```typst #set page(width: auto, height: auto) #grid(columns: 2, figure(image("a.jpg")), figure(image("b.jpg")),...

Figured I'd link this here: https://github.com/typst/hayagriva/issues/32#issuecomment-1746365660

> This would only be applicable if the container has an absolute height, or if the number of lines is set no? Doesn't seem to be the case, see https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap:...

Other than splitting and measuring the text yourself, I'm not aware of any.

> Then, I would propose the promotion to arguments to be automatic when the array syntax and dictionary syntax are mixed. I generally like the idea, but that would indeed...

> What about forbidding (...) for expression atomization I actually suggested that once, but I think it's a little too alien to most users, as well as a huge breaking...

Damn, I fucked up the rebase.

It turns out, something that seemed to have worked before doesn't anymore with my changes: ``` #let it = [= Heading] #it.body \ #it.level ``` A show rule like this...

Ok, it seems that's inline with what would've happened if I did `it.numbering`, so I'll simply change the example to use `depth`.