PgBiel / typst-tablex

More powerful and customizable tables in Typst
MIT License
370 stars 12 forks source link

Formatting breaks after typst update to 0.7.0 #39

Closed raphael-episub closed 1 year ago

raphael-episub commented 1 year ago

Placement of elements in document has broken with typst update to 0.7.0

PgBiel commented 1 year ago

Hello, can you please describe what exactly has happened, and provide example typst code which triggers said behavior? Thank you.

raphael-episub commented 1 year ago

Some (rect) elements on the document were being rendered without width. I added and specified width and this fixed the issue.

PgBiel commented 1 year ago

Alright! Feel free to reopen if you find this issue again.

PgBiel commented 1 year ago

I'm reopening since this seems to be related to #44. I pushed a fix to main with commit https://github.com/PgBiel/typst-tablex/commit/f00b91c7d9383ebd194fb9e36ee5999339c38891 which might fix your issue (you wouldn't have to specify the block's width anymore). Feel free to test the latest code in the main branch to see if that solves it for you. Thanks!

raphael-episub commented 1 year ago

Thanks - sounds good.