PgBiel / typst-tablex

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

Allow page breaks within rows #79

Open nitn3lav opened 9 months ago

nitn3lav commented 9 months ago

I am using gridx with rows containing many lines of text. It would be nice if there was an option to allow page breaks within these rows, similar to the default in grid. Additionally, this would allow the use of rows that are higher than the page.

PgBiel commented 9 months ago

I intentionally left this out as I believed it could cause problems with header repetition, but I think I could add experimental support for this which just has the header appear below the long row (which probably isn't very desirable, but I don't think there's much else I could do without modifying the Typst compiler itself).

If successful, I could also consider enabling this by default for 0.1.0 if header repetition is disabled.

wlupton commented 7 months ago

I assume that this is an example of this? https://typst.app/project/rTJdSEwyv8rGJZKYSvlaFJ

In this case the table is effectively one very long row with some nested tables in the right-hand column.