From 85065bdead032a07c9a7b37784d07bced1f9d9c1 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 4 Nov 2023 03:02:41 +0000
Subject: CTAN sync 202311040302

---
 support/TeX4ht/source/tex4ht-4ht.tex | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

(limited to 'support/TeX4ht/source/tex4ht-4ht.tex')

diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 631ba0523b..1b247dcdf9 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1400 2023-10-31 16:57:08Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1403 2023-11-02 16:09:43Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2023 TeX Users Group    
@@ -11007,9 +11007,10 @@ handling. Michal
 
 \<tabu.4ht\><<< 
 % tabu.4ht (|version), generated from |jobname.tex 
-% Copyright 2018 TeX Users Group 
+% Copyright 2018-2023 TeX Users Group 
 |<TeX4ht license text|> 
 |<tabu config|>
+|<tabu redefine env|>
 \Hinput{tabu} 
 \endinput
 >>> \AddFile{9}{tabu}
@@ -11062,6 +11063,20 @@ handling. Michal
 }% \tabu@setup
 >>>
 
+\<tabu redefine env\><<<
+\def\:tempa#1#{%
+  \setbox\z@=\hbox#1{}% this is necessary to support \begin{tabu} to 7cm{...}
+  \ifvmode\IgnorePar\fi\EndP\let\endtabu\endtabularx\tabularx{\textwidth}% 
+}
+\HLet\tabu\:tempa
+>>>
+
+We need to load the tabularx package, because we use it instead of Tabu for actual tables
+
+\<add to usepackage\><<<
+\AddToHook{package/tabu/before}{\RequirePackage{tabularx}} 
+>>>
+
 
 %%%%%%%%%%%%%%%%%%%%%%%%
 \Section{threeparttable}
-- 
cgit v1.2.3

