Closed tapyu closed 1 month ago
Does not work with native Typst drawing commands either (replace canvas(...)
with rect(width: 1cm, height: 1cm))
, so it seems to be a Typst bug.
This issue was addressed in https://github.com/typst/typst/issues/4176 and is related to a conflict between auto
and frac
, thus having nothing to do it cetz
Consider this MWE:
It results in
Cetz doesn't seem to be able to correctly pass the image ratio (height x width) to
grid()
so that the correct page height and width can be automatically defined.