summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
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
parent95ebee51840c21223810acf500805000a2c5c0df (diff)
CTAN sync 202210180301
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog10
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex3
-rw-r--r--support/TeX4ht/source/tex4ht-mathjax.tex7
3 files changed, 17 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 8136838cf0..f291004937 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,13 @@
+2022-10-17 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): declare \Configure{MathJaxSource} as
+ an alias to \Configure{MathjaxSource}, for the consistency with the
+ other MathJax configuration names.
+
+ * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): added
+ \Configure{MathJaxMacros} for inclusion of file with \LaTeX\ command
+ declarations.
+
2022-10-11 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): corrected Mhchem
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 2490518aab..b124f822bb 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1207 2022-10-04 14:17:12Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1216 2022-10-17 15:18:30Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -36764,6 +36764,7 @@ within math mode, so deine also \Verb+\underline+ directly.
\<latex math\><<<
\NewConfigure{MathjaxSource}{1}
+\NewConfigure{MathJaxSource}[1]{\Configure{MathjaxSource}{#1}}
>>>
\Section{Space Characters}
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