diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-04 03:02:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-04 03:02:41 +0000 |
commit | 85065bdead032a07c9a7b37784d07bced1f9d9c1 (patch) | |
tree | c8bb68803a33de87093e437b7b90cb1f329f6653 /support | |
parent | 1e464deefd235880a2fac2390e896bfd2b523151 (diff) |
CTAN sync 202311040302
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 7 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 19 |
2 files changed, 23 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 4e07e435c5..07a08e9511 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,9 +1,14 @@ +2023-11-02 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (tabu.4ht, usepackage.4ht): use Tabularx as a + emulation for Tabu. + https://tex.stackexchange.com/a/238155/2891 + 2023-11-01 Michal Hoftich <michal.h21@gmail.com> * tex4ht-html4.4ht: fixed support for font sizes with decimal points in the `p-width` option. - 2023-10-31 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (enotez.4ht), 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} |