[tex4ht-commits] [SCM] tex4ht updated: r1218 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Oct 19 14:57:24 CEST 2022


Author: michal_h21
Date: 2022-10-19 12:57:24 +0000 (Wed, 19 Oct 2022)
New Revision: 1218

Modified:
   trunk/lit/tex4ht-html4.tex
Log:
fixed percent calculation

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-10-19 11:53:26 UTC (rev 1217)
+++ trunk/lit/tex4ht-html4.tex	2022-10-19 12:57:24 UTC (rev 1218)
@@ -6567,7 +6567,7 @@
 \Configure{PicMath}
 {\setbox0=}
 {\Css{img[src="\PictureFile"]{%
-  vertical-align:-\fp_eval:n{ \dim_to_fp:n{\dp0}/\dim_to_fp:n{\ht0} * 100}\%
+  vertical-align:-\fp_eval:n{ \dim_to_fp:n{\dp0}/(\dim_to_fp:n{\ht0}+\dim_to_fp:n{\dp0}) * 100}\%
 }}\box0}
 {}
 { class="math" }



More information about the tex4ht-commits mailing list.