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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Aug 18 14:03:13 CEST 2023


Author: michal_h21
Date: 2023-08-18 12:03:13 +0000 (Fri, 18 Aug 2023)
New Revision: 1360

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
added support for column width in b and m table tokens

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-08-18 11:54:13 UTC (rev 1359)
+++ trunk/lit/ChangeLog	2023-08-18 12:03:13 UTC (rev 1360)
@@ -1,5 +1,11 @@
 2023-08-18  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-html4.tex (html4.4ht): added support for column width in
+	"b" and "m" table preamble tokens. Fixed wrong alignment and word
+	wrapping.
+	https://tex.stackexchange.com/a/693816/2891
+
+
 	* tex4ht-html4.tex (html4.4ht): simplified setting of table column
 	widths with the `p-width` option.
 	https://tex.stackexchange.com/a/693816/2891

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2023-08-18 11:54:13 UTC (rev 1359)
+++ trunk/lit/tex4ht-html4.tex	2023-08-18 12:03:13 UTC (rev 1360)
@@ -2180,9 +2180,9 @@
    {=}{\HCode{ style="vertical-align:baseline; white-space:nowrap;"}} 
    {||}{\HCode{ style="vertical-align:middle; white-space:nowrap;"}} 
    {_}{\HCode{ style="vertical-align:bottom; white-space:nowrap;"}} 
-   {p}{\HCode{ style="white-space:normal; text-align:left;"}} 
-   {m}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:middle;"}} 
-   {b}{\HCode{ style="white-space:normal; text-align:left; vertical-align:baseline;"}} 
+   {p}{\HCode{ style="white-space:normal; text-align:left;"}\Protect\a:HColWidth} 
+   {m}{\HCode{ style="white-space:normal; text-align:left; vertical-align:middle;"}\Protect\a:HColWidth} 
+   {b}{\HCode{ style="white-space:normal; text-align:left; vertical-align:bottom;"}\Protect\a:HColWidth} 
    {L}{\HCode{ style="white-space:normal; text-align:left;"}} 
    {R}{\HCode{ style="white-space:normal; text-align:right;"}} 
    {C}{\HCode{ style="white-space:normal; text-align:center;"}} 
@@ -4304,9 +4304,9 @@
    {p}{\HCode{ style="white-space:normal; text-align:left;"}%
           \Protect\a:HColWidth}
    {m}{\HCode{ style="white-space:nowrap; 
-                      text-align:left; vertical-align:middle;"}}
+                      text-align:left; vertical-align:middle;"}\Protect\a:HColWidth}
    {b}{\HCode{ style="white-space:nowrap; text-align:left;
-                      vertical-align:baseline;"}}
+                      vertical-align:baseline;"}\Protect\a:HColWidth}
    {}
 >>>
 
@@ -20005,8 +20005,8 @@
    {||}{\HCode{ style="vertical-align:middle; white-space:nowrap;"}}
    {_}{\HCode{ style="vertical-align:bottom; white-space:nowrap;"}}
    {p}{\HCode{ style="white-space:normal; text-align:left;"}\Protect\a:HColWidth}
-   {m}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:middle;"}}
-   {b}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:baseline;"}}
+   {m}{\HCode{ style="white-space:normal; text-align:left; vertical-align:middle;"}\Protect\a:HColWidth}
+   {b}{\HCode{ style="white-space:normal; text-align:left; vertical-align:bottom;"}\Protect\a:HColWidth}
    {}
 \NewConfigure{HColWidth}{1}
 \Configure{HColWidth}{}



More information about the tex4ht-commits mailing list.