From c9f16702435858846c4377e20751dc0fcfcaa418 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 29 Aug 2022 20:44:14 +0000 Subject: $$ display, tex4ht r1190 git-svn-id: svn://tug.org/texlive/trunk@64234 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 ++++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 1fb5e6da0f4..4290ad48654 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2022-08-29 Michal Hoftich + + * tex4ht-html4.tex (html4-math.4ht), + * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): added support for + display math environments delimited by $$. + 2022-08-25 Michal Hoftich * tex4ht-4ht.tex (latex.4ht): make \left and \right commands robust. diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index c41676a9869..a968f259dad 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1188 2022-08-22 15:11:36Z michal_h21 $ +% $Id: tex4ht-html4.tex 1190 2022-08-29 10:21:19Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -8651,6 +8651,7 @@ The hbox is for avoiding the start of a new paragraph, if in vmode. \edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&} \def\:HandleMathjaxCatcodes{\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&}\catcode`\&=11} \Configure{$}{\:HandleMathjaxCatcodes}{\:RestoreMathjaxCatcodes}{\expandafter\AltMathOne} +\Configure{$$}{\:HandleMathjaxCatcodes}{\:RestoreMathjaxCatcodes}{\expandafter\AltlDisplayDollars} % for some reason, it is necessary to specify the catcode change directly in the configuration \Configure{()}{\:HandleMathjaxCatcodes\catcode`\&=11\AltlMath}{\:RestoreMathjaxCatcodes} \Configure{[]}{\:HandleMathjaxCatcodes\catcode`\&=11\AltlDisplay}{\:RestoreMathjaxCatcodes} -- cgit v1.2.3