diff options
Diffstat (limited to 'support/TeX4ht')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 6 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-html4.tex | 6 |
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 |