summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-03 03:02:40 +0000
committerNorbert Preining <norbert@preining.info>2023-11-03 03:02:40 +0000
commit1e464deefd235880a2fac2390e896bfd2b523151 (patch)
treee9294919c95d4a444e911d20d2e3ddd60e45f9d1 /support
parent2da66dea964ffa47d24f26081f2942a6e1ef1121 (diff)
CTAN sync 202311030302
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex6
2 files changed, 10 insertions, 2 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 88ba404e8a..4e07e435c5 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+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-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index ee47d2c956..c285ae3bed 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1400 2023-10-31 16:57:08Z michal_h21 $
+% $Id: tex4ht-html4.tex 1401 2023-11-01 11:17:59Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -19990,12 +19990,14 @@ changes.
\<configure html4 latex\><<<
\:CheckOption{p-width} \if:Option
+ \ExplSyntaxOn
\Configure{HColWidth}
{\ifnum\HRow=1% output CSS only on the first row, to prevent duplication
- \tmp:dim=\HColWidth \divide\tmp:dim by \f@size\relax
+ \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;}}
\fi}
+ \ExplSyntaxOff
\else
\Log:Note{for width specifications of tabular p entries, use
the `p-width' command line option or a configuration similar