summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-17 21:22:58 +0000
committerKarl Berry <karl@freefriends.org>2022-10-17 21:22:58 +0000
commit4b5749ee8c2ef19589630525b78fb72369b66892 (patch)
tree36453dc5c94093aca27d411b3c2ab4a96b99f075 /Master/texmf-dist
parentf517a410c16666faecd6903222ad6f3367eb5c8e (diff)
MathJaxMacros, tex4ht r1215; MathJaxSource equivalent to MathjaxSource, tex4ht r1216
git-svn-id: svn://tug.org/texlive/trunk@64735 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog10
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex3
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex7
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/latex.4ht9
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht9
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht4
6 files changed, 31 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 8136838cf03..f291004937d 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 2490518aab8..b124f822bb3 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
index 2f511185f07..97ac94d20de 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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
diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
index ddd173d63ea..6c61af9d9c4 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
@@ -1,4 +1,4 @@
-% latex.4ht (2022-08-25-13:24), generated from tex4ht-4ht.tex
+% latex.4ht (2022-10-17-13:57), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-08-25-13:24}
+\immediate\write-1{version 2022-10-17-13:57}
\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
@@ -880,6 +880,7 @@ $\vcenter
\HLet\underline\:tempc
\NewConfigure{underline}{2}
\NewConfigure{MathjaxSource}{1}
+\NewConfigure{MathJaxSource}[1]{\Configure{MathjaxSource}{#1}}
\catcode`\#13 \catcode`\!6
\def\reg:eq:narray!1\cr{\SaveMkHalignConf:g{eq:narray\if@eqnsw\else *\fi}
@@ -2322,7 +2323,7 @@ $\vcenter
\expandafter\:temp\usepackage!*?:
\def\:tempa{\@latex@e@error}
\ifx \:temp\:tempa
- % latex209.4ht (2022-08-25-13:24), generated from tex4ht-4ht.tex
+ % latex209.4ht (2022-10-17-13:57), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -2341,7 +2342,7 @@ $\vcenter
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-08-25-13:24}
+\immediate\write-1{version 2022-10-17-13:57}
\let\:fnsymbol\@fnsymbol
\def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
index b74a03e4dc7..a933cf25226 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
@@ -1,4 +1,4 @@
-% mathjax-latex-4ht.4ht (2022-10-11-14:30), generated from tex4ht-mathjax.tex
+% mathjax-latex-4ht.4ht (2022-10-17-13:57), generated from tex4ht-mathjax.tex
% Copyright 2018-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-10-11-14:30}
+\immediate\write-1{version 2022-10-17-13:57}
\ExplSyntaxOn
@@ -35,6 +35,11 @@
\ExplSyntaxOff
\NewConfigure{MathJaxConfig}{1}
+\NewConfigure{MathJaxMacros}[1]{%
+\Configure{@BODY}{\bgroup\NoFonts\ttfamily\detokenize{\(}%
+ \special{t4ht*<#1}%
+\detokenize{\)}\EndNoFonts\egroup}%
+}
\long\def\AltlMath#1\){\expandafter\alteqtoks{\(#1\)}\)}
\long\def\AltlDisplay#1\]{\alteqtoks{\[#1\]}\]}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index aaaceb9cfcb..8a67ca48a38 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-10-06-13:16), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-10-17-13:57), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-10-06-13:16}
+\immediate\write-1{version 2022-10-17-13:57}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}