[tex4ht-commits] [SCM] tex4ht updated: r1214 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Tue Oct 11 14:25:02 CEST 2022
Author: michal_h21
Date: 2022-10-11 12:25:01 +0000 (Tue, 11 Oct 2022)
New Revision: 1214
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-mathjax.tex
Log:
fixed mhchem mathjax support
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-10-06 22:08:15 UTC (rev 1213)
+++ trunk/lit/ChangeLog 2022-10-11 12:25:01 UTC (rev 1214)
@@ -1,3 +1,8 @@
+2022-10-11 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): corrected Mhchem
+ support.
+
2022-10-06 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): added basic support
Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex 2022-10-06 22:08:15 UTC (rev 1213)
+++ trunk/lit/tex4ht-mathjax.tex 2022-10-11 12:25:01 UTC (rev 1214)
@@ -25,6 +25,7 @@
|<defined commands|>
\AtBeginDocument{%
|<configurations|>
+|<mhchem configurations|>
}
\endinput
>>>
@@ -217,8 +218,10 @@
\fixmathjaxtoc\exp
>>>
-\<configure mathjax-latex-4ht mhchem\><<<
+\<mhchem configurations\><<<
+\@ifpackageloaded{mhchem}{%
\def\ce#1{\texttt{\detokenize{\(\ce{#1}\)}}}
+}{}
>>>
\endinput
More information about the tex4ht-commits
mailing list.