PgBiel / typst-tablex

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

Is there a limit of three nested tables? #41

Closed wlupton closed 1 year ago

wlupton commented 1 year ago

Is this expected? When the problem occurs, I believe that it can affect other tables in the document.

Screenshot 2023-08-09 at 14 58 43
Triple-nested tables are fine.

#tablex(
  tablex(
    tablex(
      lorem(10) 
    )
  )
)

Quadruple-nested tables don't seem to wrap correctly.

#tablex(
  tablex(
    tablex(
      tablex(
        lorem(20) 
      )
    )
  )
)
PgBiel commented 1 year ago

I wouldn't say this is expected, but nested tables seem to be kinda glitchy in general atm. This might improve in the upcoming v0.1.0, not sure to which extent though. Hopefully this is figured out sooner or later. Thanks for the report!

PgBiel commented 1 year ago

Hi, I've pushed a fix to main with https://github.com/PgBiel/typst-tablex/commit/f00b91c7d9383ebd194fb9e36ee5999339c38891. Make sure to test and give feedback if you can (it seems to be working fine now on my own tests though). Thanks!