[tex4ht-commits] [SCM] tex4ht updated: r1401 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Nov 1 12:17:59 CET 2023
Author: michal_h21
Date: 2023-11-01 11:17:59 +0000 (Wed, 01 Nov 2023)
New Revision: 1401
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
Log:
fixed issue with decimal points with the p-width option
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-10-31 16:57:08 UTC (rev 1400)
+++ trunk/lit/ChangeLog 2023-11-01 11:17:59 UTC (rev 1401)
@@ -1,3 +1,9 @@
+2023-11-01 Michal Hoftich <michal.h21 at 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 at gmail.com>
* tex4ht-4ht.tex (enotez.4ht),
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2023-10-31 16:57:08 UTC (rev 1400)
+++ trunk/lit/tex4ht-html4.tex 2023-11-01 11:17:59 UTC (rev 1401)
@@ -19990,12 +19990,14 @@
\<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 at size\relax
+ \tmp:dim=\fp_to_dim:n{\dim_to_fp:n{\HColWidth}/\f at size}
\Css{\#TBL-\TableNo\space td:nth-child(\HCol)% CSS selects ID of the current table column
{width:\strip at 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
More information about the tex4ht-commits
mailing list.