summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-04 03:02:41 +0000
committerNorbert Preining <norbert@preining.info>2023-11-04 03:02:41 +0000
commit85065bdead032a07c9a7b37784d07bced1f9d9c1 (patch)
treec8bb68803a33de87093e437b7b90cb1f329f6653 /support/TeX4ht/source/tex4ht-4ht.tex
parent1e464deefd235880a2fac2390e896bfd2b523151 (diff)
CTAN sync 202311040302
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex19
1 files changed, 17 insertions, 2 deletions
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}