Open blaueente opened 1 year ago
I think this is a feature request for tex4ht
project. And I guess this is the correct place:
https://puszcza.gnu.org.ua/bugs/?group=tex4ht
I don't agree that this is a task only for tex4ht. The hooks needed for tex4ht are quite similar to the hooks needed for tagging, see https://github.com/lvjr/tabularray/issues/27.
I thought tex4ht
worked like pandoc
. Now I know I was wrong.
I have not yet decided how many hooks should be provided by tabularray
.
@u-fischer and @michal-h21: You could leave your comments in issue #197.
I've just added support for Tabularray to TeX4ht sources. I was able to support most of features, except for complicated lines and text
property for vline
.
I decide to reopen this issue to record experiments with tex4ht
here.
@michal-h21 I have tried to improve tex4ht support with public hooks and varaibles based on your code in tex4ht and your comment in issue #197. Please see the latest trial/tabularray.sty
file and trial/tex4ht
folder in this repository.
I haven't handled the variables for cell alignment and cell widths yet, since they are a little complicated. By the way, I have also fixed a bug that all <tr>
tags had the same id
atrribute.
tabularray should have tex4ht support, in order to enable conversion to html
Example from documentation:
Result:
Expected: