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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Feb 13 14:55:59 CET 2024


Author: michal_h21
Date: 2024-02-13 13:55:59 +0000 (Tue, 13 Feb 2024)
New Revision: 1460

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathjax.tex
Log:
fixed handling of the \ce command inside pictures in the mathjax mode

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-02-07 13:33:10 UTC (rev 1459)
+++ trunk/lit/ChangeLog	2024-02-13 13:55:59 UTC (rev 1460)
@@ -1,3 +1,8 @@
+2024-02-13  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): fixed handling of the
+	\ce command used inside pictures.
+
 2024-02-07  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (mhchem.4ht),

Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex	2024-02-07 13:33:10 UTC (rev 1459)
+++ trunk/lit/tex4ht-mathjax.tex	2024-02-13 13:55:59 UTC (rev 1460)
@@ -271,7 +271,8 @@
 
 \<mhchem configurations\><<<
 \@ifpackageloaded{mhchem}{%
-\def\ce#1{\texttt{\detokenize{\(\ce{#1}\)}}}
+\def\:tempa#1{\texttt{\detokenize{\(\ce{#1}\)}}}
+\HLet\ce\:tempa
 }{}
 >>>
 



More information about the tex4ht-commits mailing list.