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

karl at gnu.org.ua karl at gnu.org.ua
Fri Jun 27 02:57:50 CEST 2014


Author: karl
Date: 2014-06-27 03:57:50 +0300 (Fri, 27 Jun 2014)
New Revision: 123

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/tex4ht-mathltx.tex
   trunk/lit/tex4ht-mathml.tex
Log:
use mathml align= instead of css text-align:, https://puszcza.gnu.org.ua/bugs/?219

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2014-06-26 23:49:45 UTC (rev 122)
+++ trunk/lit/ChangeLog	2014-06-27 00:57:50 UTC (rev 123)
@@ -1,5 +1,16 @@
+2014-06-26  Chris Horler  <cshorler at googlemail.com>
+
+	* tex4ht-mathltx.tex,
+	* tex4ht-mathml.tex: use different align= values
+	instead of CSS text-align: values, per current standards.
+	Affects mathltx.4ht and mathml.4ht.
+	https://puszcza.gnu.org.ua/bugs/?219
+	
 2014-06-26  Karl Berry  <karl at gnu.org>
 
+	* Makefile (tex4ht_mathml_derived): new variable and target,
+	for tex4ht-mathml.tex.
+
 	* Makefile (tex4ht_fonts_noncjk_derived): evidently lm-htf.tex
 	is created from tex4ht-fonts-noncjk.tex, but not cmtex.htf.
 	Don't see where/how cmtex.htf is created.

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2014-06-26 23:49:45 UTC (rev 122)
+++ trunk/lit/Makefile	2014-06-27 00:57:50 UTC (rev 123)
@@ -97,6 +97,9 @@
 derived += $(tex4ht_mathltx_derived)
 tex4ht_mathltx_derived = mathltx.4ht html-mltx.4ht
 
+derived += $(tex4ht_mathml_derived)
+tex4ht_mathml_derived = mathml.4ht html-mml.4ht
+
 derived += $(tex4ht_mathplayer_derived)
 tex4ht_mathplayer_derived = mathplayer.4ht
 
@@ -240,6 +243,9 @@
 $(tex4ht_mathltx_derived): tex4ht-mathltx.tex $(common)
 	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
 
+$(tex4ht_mathml_derived): tex4ht-mathml.tex $(common)
+	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
+
 $(tex4ht_mathplayer_derived): tex4ht-mathplayer.tex $(common)
 	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
 

Modified: trunk/lit/tex4ht-mathltx.tex
===================================================================
--- trunk/lit/tex4ht-mathltx.tex	2014-06-26 23:49:45 UTC (rev 122)
+++ trunk/lit/tex4ht-mathltx.tex	2014-06-27 00:57:50 UTC (rev 123)
@@ -888,9 +888,9 @@
 \def\:MT{\ifmathltx m\fi}
 \Configure{halignTB}{\HCode{<\:MT table }\halignTBL}{\HCode{>}}
 \Configure{halignTBL}
-   {t}{\ifmathltx \HCode{ style="text-align:top;" }\fi}
-   {b}{\ifmathltx \HCode{ style="text-align:baseline;" }\fi}
-   {c}{\ifmathltx \HCode{ style="text-align:axis;" }\fi}
+   {t}{\ifmathltx \HCode{ align="baseline 1" }\fi}
+   {b}{\ifmathltx \HCode{ align="baseline -1" }\fi}
+   {c}{\ifmathltx \HCode{ align="axis" }\fi}
    {}
 \def\t:HA{\HCode{</\:MT table>}}
 \def\R:HA{\HCode{<\:MT tr \Hnewline style="vertical-align:baseline;">}}

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2014-06-26 23:49:45 UTC (rev 122)
+++ trunk/lit/tex4ht-mathml.tex	2014-06-27 00:57:50 UTC (rev 123)
@@ -1102,9 +1102,9 @@
 
 \<configure html-mml tex4ht\><<< 
 \Configure{halignTBL}
-   {t}{\ifmathml \HCode{ style="text-align:top;|<border lines|>" }\fi}
-   {b}{\ifmathml \HCode{ style="text-align:baseline;|<border lines|>" }\fi}
-   {c}{\ifmathml \HCode{ style="text-align:axis;|<border lines|>" }\fi}
+   {t}{\ifmathml \HCode{ align="baseline 1" style="|<border lines|>" }\fi}
+   {b}{\ifmathml \HCode{ align="baseline -1" style="|<border lines|>" }\fi}
+   {c}{\ifmathml \HCode{ align="axis" style="|<border lines|>" }\fi}
    {}
 >>>
 





More information about the tex4ht-commits mailing list