diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-09 22:45:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-09 22:45:44 +0000 |
commit | d03b7cb55c61ac5b3b7f2d22e1429fe0ef435c4f (patch) | |
tree | 265e17c6789a02013a2db1bb5cde02dce58deef8 /Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | |
parent | 48ae35fd25a649352d80a3146ca4c7a84189550d (diff) |
\texttt for \vrb:tt, tex4ht r1404; \refname for scrartcl, tex4ht r1405; do not set array spaces to zero, tex4ht r1406; first rows of tables with p-width, tex4ht r1407
git-svn-id: svn://tug.org/texlive/trunk@68795 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index c285ae3bede..fc0fe3bc749 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1401 2023-11-01 11:17:59Z michal_h21 $ +% $Id: tex4ht-html4.tex 1407 2023-11-09 16:19:15Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -19990,9 +19990,19 @@ changes. \<configure html4 latex\><<< \:CheckOption{p-width} \if:Option + \HAssign\:hcolwidthtbl=0 + \gdef\:hcolwidthfirst{1} \ExplSyntaxOn \Configure{HColWidth} - {\ifnum\HRow=1% output CSS only on the first row, to prevent duplication + {% + % in some cases, the first \HRow is not 1, for example with \multicolumn + % see https://github.com/michal-h21/make4ht/issues/114 + % when we enter a new table, we will save the first row + \ifx\:hcolwidthtbl\TableNo\else + \global\let\:hcolwidthtbl=\TableNo + \global\let\:hcolwidthfirst=\HRow + \fi + \ifx\HRow\:hcolwidthfirst% output CSS only on the first row, to prevent duplication \tmp:dim=\fp_to_dim:n{\dim_to_fp:n{\HColWidth}/\f@size} \Css{\#TBL-\TableNo\space td:nth-child(\HCol)% CSS selects ID of the current table column {width:\strip@pt\tmp:dim em;}} |