texlive[64735] Master/texmf-dist: MathJaxMacros, tex4ht r1215;

commits+karl at tug.org commits+karl at tug.org
Mon Oct 17 23:22:58 CEST 2022


Revision: 64735
          http://tug.org/svn/texlive?view=revision&revision=64735
Author:   karl
Date:     2022-10-17 23:22:58 +0200 (Mon, 17 Oct 2022)
Log Message:
-----------
MathJaxMacros, tex4ht r1215; MathJaxSource equivalent to MathjaxSource, tex4ht r1216

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1215
    http://tug.org/svn/texlive?view=revision&revision=1216

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-10-17 20:22:19 UTC (rev 64734)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-10-17 21:22:58 UTC (rev 64735)
@@ -1,3 +1,13 @@
+2022-10-17  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): corrected Mhchem

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-10-17 20:22:19 UTC (rev 64734)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-10-17 21:22:58 UTC (rev 64735)
@@ -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 @@
 
 \<latex math\><<<
 \NewConfigure{MathjaxSource}{1}
+\NewConfigure{MathJaxSource}[1]{\Configure{MathjaxSource}{#1}}
 >>>
 
 \Section{Space Characters}

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2022-10-17 20:22:19 UTC (rev 64734)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2022-10-17 21:22:58 UTC (rev 64735)
@@ -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 @@
 \fixmathjaxtoc\exp
 >>>
 
-\<configure mathjax-latex-4ht mhchem\><<<
+\<mhchem configurations\><<<
+\@ifpackageloaded{mhchem}{%
 \def\ce#1{\texttt{\detokenize{\(\ce{#1}\)}}}
+}{}
 >>>
 
 \endinput

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2022-10-17 20:22:19 UTC (rev 64734)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2022-10-17 21:22:58 UTC (rev 64735)
@@ -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 @@
 \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 at eqnsw\else *\fi}
@@ -2322,7 +2323,7 @@
 \expandafter\:temp\usepackage!*?: 
 \def\:tempa{\@latex at 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 @@
 %
 % 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}$}}}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2022-10-17 20:22:19 UTC (rev 64734)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2022-10-17 21:22:58 UTC (rev 64735)
@@ -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\]}\]}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-10-17 20:22:19 UTC (rev 64734)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-10-17 21:22:58 UTC (rev 64735)
@@ -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?}



More information about the tex-live-commits mailing list.