diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-01 20:48:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-01 20:48:09 +0000 |
commit | eff7c776ae8a1dd1d2eca229f15a811c42edf9f9 (patch) | |
tree | 75da9fbd68205b0506f31c1accb94f44de8ee9bd | |
parent | 7888ea6606132ba347b147f1d3d3e02122e607cc (diff) |
decimal points and p-width option, tex4ht r1401
git-svn-id: svn://tug.org/texlive/trunk@68722 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 8 |
3 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 88ba404e8ab..4e07e435c51 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index ee47d2c956a..c285ae3bede 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 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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index b8f0a49440c..f3b83cf1f2a 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,4 +1,4 @@ -% html4.4ht (2023-10-31-12:28), generated from tex4ht-html4.tex +% html4.4ht (2023-11-01-13:29), generated from tex4ht-html4.tex % Copyright 2009-2023 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2023-10-31-12:28} +\immediate\write-1{version 2023-11-01-13:29} \exit:ifnot{8859-6,% CJK,% @@ -3402,12 +3402,14 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% use the command line option `fonts'} \fi \: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 |