bugtex4ht - Bugs: bug #584, Support for tabularray

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #584: Support for tabularray

Submitted by:  Blaue Ente <blaue_ente>
Submitted on:  Sat Nov 26 12:00:47 2022  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue Jan 10 15:09:10 2023, comment #3:

Tabularray should work, hopefully.

Michal Hoftich <michal_h21>
Project Member
Fri Dec 9 16:09:01 2022, comment #2:

I've just pushed the configuration file for Tabularray. I was able to add support for column and row spans, background colors, alignment, and simple rules.

In your example, you use multiple rules between columns and rows. This is not supported, as this feature is not supported in CSS, and it would be too difficult to handle

Michal Hoftich <michal_h21>
Project Member
Sun Nov 27 21:28:01 2022, comment #1:

Thanks for the report. This package seems to be huge, so it will be not easy to fully support it. We need to patch the right commands to insert the HTML or XML tags. I've already found which commands insert table rows and cells, but the support for merged cells and rows, various styles of rules, and colors, will be more complicated.

Here is a basic configuration file, tabularray.4ht:


% disable rules

\def\:tempa#1{\a:tabularrayrow\o:__tblr_build_row:N:{#1}\b:tabularrayrow }



% configure tags

It just puts cells and rows to the correct HTML tags, nothing more. It cannot detect merged cells and rows, or any fancy rules. I will take try to create something more serious next week, hopefully.

Michal Hoftich <michal_h21>
Project Member
Sat Nov 26 12:00:47 2022, original submission:

There is this new tabularray package for better tables, but unfortunately tex4ht just compiles it into spaces, apparently because
"This tabularray package will discard the old \halign commands and directly use LaTeX3 functions to parse the table, and then typeset the entire table."

For an MWE see the issue on their site:

Blaue Ente <blaue_ente>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by blaue_ente (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Jan 10 15:09:10 2023michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray