summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-30 03:01:31 +0000
committerNorbert Preining <norbert@preining.info>2022-08-30 03:01:31 +0000
commita77b48e45a7d631d231a8eee66703ce9c02c44c9 (patch)
tree7850cc2376ad8a70365c34f328e444fde3cd3e24 /support/TeX4ht/source
parent7608bc5b1a3303bcbcbc8f677d3562d6da3a9674 (diff)
CTAN sync 202208300301
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex3
2 files changed, 8 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 1fb5e6da0f..4290ad4865 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-29 Michal Hoftich <michal.h21@gmail.com>
+
+ * 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 <michal.h21@gmail.com>
* tex4ht-4ht.tex (latex.4ht): make \left and \right commands robust.
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index c41676a986..a968f259da 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/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}