summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-19 03:00:44 +0000
committerNorbert Preining <norbert@preining.info>2023-08-19 03:00:44 +0000
commita953fdb33424be714f17f4d46f05712637bd0c3a (patch)
treecad35adb9f1560fd9555526b38e0bf16fdacd83b /support/TeX4ht
parent0585a72dae13da024145995031edb2a1cf21dece (diff)
CTAN sync 202308190300
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex24
1 files changed, 11 insertions, 13 deletions
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 584e32059d..0854a7bd11 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/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