Closed GermanHeim closed 12 months ago
Faulty line: https://github.com/PgBiel/typst-tablex/blob/daace3623fc60c6a15cf0ecc4a9098c51f350163/tablex.typ#L2273
Replacing by
index = grid-index-at(cell.x, cell.y, grid: grid)
grid.items.at(index) = cell
works. Seems to be an upstream Typst bug introduced somewhere in 0.8.0.
Fixed with https://github.com/typst/typst/commit/25613cfaf3a20f737ac347f7d7144a5dcaa709a5 (pushed to the web app just now).
Using Typst 0.8.0 (Web), the following error is produced:
unknown variable: grid-index-at - if you meant to use subtraction, try adding spaces around the minus sign.(failed in package "@preview/tablex:0.0.5")
Reproduction example: