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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Oct 6 12:29:29 CEST 2022


Author: michal_h21
Date: 2022-10-06 10:29:28 +0000 (Thu, 06 Oct 2022)
New Revision: 1212

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-mathjax.tex
Log:
Added basic mathjax support for mhchem

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-10-06 10:20:25 UTC (rev 1211)
+++ trunk/lit/ChangeLog	2022-10-06 10:29:28 UTC (rev 1212)
@@ -1,4 +1,7 @@
 2022-10-06  Michal Hoftich  <michal.h21 at gmail.com>
+	
+	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): added basic support
+	for Mhchem.
 
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): added basic support
 	for \label commands inside equations.

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2022-10-06 10:20:25 UTC (rev 1211)
+++ trunk/lit/mktex4ht-cnf.tex	2022-10-06 10:29:28 UTC (rev 1212)
@@ -378,4 +378,5 @@
 \AddFile{9}{sectionbreak}
 \AddFile{9}{subfiles}
 \AddFile{9}{fontawesome5}
+\AddFile{9}{mhchem}
 % \AddFile{9}{mktex4ht}

Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex	2022-10-06 10:20:25 UTC (rev 1211)
+++ trunk/lit/tex4ht-mathjax.tex	2022-10-06 10:29:28 UTC (rev 1212)
@@ -216,3 +216,9 @@
 \fixmathjaxtoc\\
 \fixmathjaxtoc\exp
 >>>
+
+\<configure mathjax-latex-4ht mhchem\><<<
+\def\ce#1{\texttt{\detokenize{\(\ce{#1}\)}}}
+>>>
+
+\endinput



More information about the tex4ht-commits mailing list.