summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-mathjax.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-18 03:01:49 +0000
committerNorbert Preining <norbert@preining.info>2022-10-18 03:01:49 +0000
commit0b311348359e1406b173d9c0de4974af3e90f836 (patch)
treed054509baef05d9c3f452f88e3a011219350d9cf /support/TeX4ht/source/tex4ht-mathjax.tex
parent95ebee51840c21223810acf500805000a2c5c0df (diff)
CTAN sync 202210180301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-mathjax.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-mathjax.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-mathjax.tex b/support/TeX4ht/source/tex4ht-mathjax.tex
index 2f511185f0..97ac94d20d 100644
--- a/support/TeX4ht/source/tex4ht-mathjax.tex
+++ b/support/TeX4ht/source/tex4ht-mathjax.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathjax.tex 1212 2022-10-06 10:29:28Z michal_h21 $
+% $Id: tex4ht-mathjax.tex 1214 2022-10-11 12:25:01Z michal_h21 $
% compile: latex tex4ht-mathjax
%
% Copyright 2018-2022 TeX Users Group
@@ -25,6 +25,7 @@
|<defined commands|>
\AtBeginDocument{%
|<configurations|>
+|<mhchem configurations|>
}
\endinput
>>>
@@ -217,8 +218,10 @@ Fixes for tables of contents.
\fixmathjaxtoc\exp
>>>
-\<configure mathjax-latex-4ht mhchem\><<<
+\<mhchem configurations\><<<
+\@ifpackageloaded{mhchem}{%
\def\ce#1{\texttt{\detokenize{\(\ce{#1}\)}}}
+}{}
>>>
\endinput