summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex24
1 files changed, 11 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index 584e32059d3..0854a7bd117 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 1345 2023-06-30 08:12:42Z michal_h21 $
+% $Id: tex4ht-html4.tex 1360 2023-08-18 12:03:13Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -2180,9 +2180,9 @@ should be used whe addcontentline instructions are present.
{=}{\HCode{ style="vertical-align:baseline; white-space:nowrap;"}}
{||}{\HCode{ style="vertical-align:middle; white-space:nowrap;"}}
{_}{\HCode{ style="vertical-align:bottom; white-space:nowrap;"}}
- {p}{\HCode{ style="white-space:normal; text-align:left;"}}
- {m}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:middle;"}}
- {b}{\HCode{ style="white-space:normal; text-align:left; vertical-align:baseline;"}}
+ {p}{\HCode{ style="white-space:normal; text-align:left;"}\Protect\a:HColWidth}
+ {m}{\HCode{ style="white-space:normal; text-align:left; vertical-align:middle;"}\Protect\a:HColWidth}
+ {b}{\HCode{ style="white-space:normal; text-align:left; vertical-align:bottom;"}\Protect\a:HColWidth}
{L}{\HCode{ style="white-space:normal; text-align:left;"}}
{R}{\HCode{ style="white-space:normal; text-align:right;"}}
{C}{\HCode{ style="white-space:normal; text-align:center;"}}
@@ -4304,9 +4304,9 @@ Q. Where placefigure is declared?
{p}{\HCode{ style="white-space:normal; text-align:left;"}%
\Protect\a:HColWidth}
{m}{\HCode{ style="white-space:nowrap;
- text-align:left; vertical-align:middle;"}}
+ text-align:left; vertical-align:middle;"}\Protect\a:HColWidth}
{b}{\HCode{ style="white-space:nowrap; text-align:left;
- vertical-align:baseline;"}}
+ vertical-align:baseline;"}\Protect\a:HColWidth}
{}
>>>
@@ -20005,8 +20005,8 @@ The following should be just under LaTeX.
{||}{\HCode{ style="vertical-align:middle; white-space:nowrap;"}}
{_}{\HCode{ style="vertical-align:bottom; white-space:nowrap;"}}
{p}{\HCode{ style="white-space:normal; text-align:left;"}\Protect\a:HColWidth}
- {m}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:middle;"}}
- {b}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:baseline;"}}
+ {m}{\HCode{ style="white-space:normal; text-align:left; vertical-align:middle;"}\Protect\a:HColWidth}
+ {b}{\HCode{ style="white-space:normal; text-align:left; vertical-align:bottom;"}\Protect\a:HColWidth}
{}
\NewConfigure{HColWidth}{1}
\Configure{HColWidth}{}
@@ -20046,13 +20046,11 @@ changes.
\<configure html4 latex\><<<
\:CheckOption{p-width} \if:Option
- |<10 em constant|>
\Configure{HColWidth}
{\ifnum\HRow=1% output CSS only on the first row, to prevent duplication
- \tmp:dim=\HColWidth \divide\tmp:dim by \ten:Em\relax
- \tmp:dim=10\tmp:dim
- \Css{\#TBL-\TableNo-\HCol% CSS selects ID of the current table column
- {width:\expandafter\x:Em \the\tmp:dim em;}}
+ \tmp:dim=\HColWidth \divide\tmp:dim by \f@size\relax
+ \Css{\#TBL-\TableNo\space td:nth-child(\HCol)% CSS selects ID of the current table column
+ {width:\strip@pt\tmp:dim em;}}
\fi}
\else
\Log:Note{for width specifications of tabular p entries, use