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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Mar 8 10:28:03 CET 2024


Author: michal_h21
Date: 2024-03-08 09:28:03 +0000 (Fri, 08 Mar 2024)
New Revision: 1489

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
require math mode in mhchem sup-sub

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-03-07 14:22:22 UTC (rev 1488)
+++ trunk/lit/ChangeLog	2024-03-08 09:28:03 UTC (rev 1489)
@@ -1,3 +1,8 @@
+2024-03-08  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): require math mode in Mhchem
+	sup-sub.
+
 2024-03-07  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (graphics.4ht): added rule to read the .xbb file

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2024-03-07 14:22:22 UTC (rev 1488)
+++ trunk/lit/tex4ht-mathml.tex	2024-03-08 09:28:03 UTC (rev 1489)
@@ -5534,8 +5534,8 @@
 }{\:mhmathmlorhtml{\Tg</\a:mathml mrow>\TG</\a:mathml msup\Hnewline>}{\HCode{</sup>}}}
 
 
-\Configure{mhchemsupsub}{\setbox0=\hbox\bgroup}{\egroup\setbox1=\hbox\bgroup}{\egroup\HCode{<\a:mathml msubsup><\a:mathml mrow></\a:mathml mrow><\a:mathml mrow>}\box1\HCode{</\a:mathml mrow><\a:mathml mrow>}\box0\HCode{</\a:mathml mrow></\a:mathml msubsup>}}
-\Configure{mhchemisotope}{\setbox0=\hbox\bgroup}{\egroup\setbox1=\hbox\bgroup}{\egroup\HCode{<\a:mathml msubsup><\a:mathml mrow></\a:mathml mrow><\a:mathml mrow>}\box1\HCode{</\a:mathml mrow><\a:mathml mrow>}\box0\HCode{</\a:mathml mrow></\a:mathml msubsup>}}
+\Configure{mhchemsupsub}{\setbox0=\hbox\bgroup$}{$\egroup\setbox1=\hbox\bgroup$}{$\egroup\HCode{<\a:mathml msubsup><\a:mathml mrow></\a:mathml mrow><\a:mathml mrow>}\box1\HCode{</\a:mathml mrow><\a:mathml mrow>}\box0\HCode{</\a:mathml mrow></\a:mathml msubsup>}}
+\Configure{mhchemisotope}{\setbox0=\hbox\bgroup$}{$\egroup\setbox1=\hbox\bgroup$}{$\egroup\HCode{<\a:mathml msubsup><\a:mathml mrow></\a:mathml mrow><\a:mathml mrow>}\box1\HCode{</\a:mathml mrow><\a:mathml mrow>}\box0\HCode{</\a:mathml mrow></\a:mathml msubsup>}}
 
 
 



More information about the tex4ht-commits mailing list.