Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typst: use tablex for output #6811

Closed
cscheid opened this issue Sep 12, 2023 · 5 comments
Closed

Typst: use tablex for output #6811

cscheid opened this issue Sep 12, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request tables Issues with Tables including the gt integration typst
Milestone

Comments

@cscheid
Copy link
Collaborator

cscheid commented Sep 12, 2023

https://github.com/PgBiel/typst-tablex offers great table support. We should be able to use Pandoc's new table AST (with row and colspans) and compile it down to a tablex statement.

@cscheid cscheid added enhancement New feature or request tables Issues with Tables including the gt integration typst labels Sep 12, 2023
@cscheid cscheid self-assigned this Sep 12, 2023
@cscheid cscheid added this to the v1.5 milestone Nov 30, 2023
@cscheid cscheid modified the milestones: v1.5, Future Feb 26, 2024
@reknih
Copy link

reknih commented Mar 21, 2024

Just wanted to note that the stock Typst table (0.11) now supports row and colspans

@gordonwoodhull
Copy link
Contributor

gordonwoodhull commented Mar 21, 2024

Thanks @reknih, yes, colspan and rowspan for Typst 0.11 (along with a few HTMLish features) just landed in Pandoc and I've been testing them for Quarto 1.5. (They work great!)

@cscheid, are there other reasons for considering tablex or should we close this?

@mcanouil
Copy link
Collaborator

I believe the reason was mostly because there were no native thing at the time, and tablex was the only thing available.
So, I would go in favour of closing this in favour of the native new features from Typst v0.11. (it avoids adding a dependency also)

@cderv
Copy link
Collaborator

cderv commented Mar 21, 2024

I believe the new item about Typst 0.11 in tablex readme is to read
https://github.com/PgBiel/typst-tablex#important-note-regarding-typst-0110-and-tablex

A large amount of tablex's features have successfully been upstreamed by this package's author to Typst's built-in table and grid elements

The new Typst support has been done by the author of tables

Therefore, for the vast majority of use cases, you will no longer need to use this library
(...)
Not all tablex features are present in built-in tables, at least yet. (...). It is expected, however, that built-in tables will eventually have support for most of the missing features in future Typst releases.

I think tablex won't be needed and we can indeed close this @gordonwoodhull !

@gordonwoodhull
Copy link
Contributor

Nice!

@mcanouil mcanouil closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
@mcanouil mcanouil modified the milestones: Future, v1.5 Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tables Issues with Tables including the gt integration typst
Projects
None yet
Development

No branches or pull requests

5 participants