Open PgBiel opened 6 months ago
At get-page-dim-writer, calls to loc.position() - and thus the pos variables - must be made outside the state-name.update(...) call. Therefore, the pos variables must be declared above the .update lines seen below.
get-page-dim-writer
loc.position()
pos
state-name.update(...)
.update
https://github.com/PgBiel/typst-tablex/blob/79c6bbd3914d7d72cece5e395c137c53f9973ec6/src/renderer/old.typ#L38-L58
At
get-page-dim-writer
, calls toloc.position()
- and thus thepos
variables - must be made outside thestate-name.update(...)
call. Therefore, thepos
variables must be declared above the.update
lines seen below.https://github.com/PgBiel/typst-tablex/blob/79c6bbd3914d7d72cece5e395c137c53f9973ec6/src/renderer/old.typ#L38-L58