texlive[72258] Master/texmf-dist: avoid spaces after mathjax \begin
commits+karl at tug.org
commits+karl at tug.org
Wed Sep 11 23:21:33 CEST 2024
Revision: 72258
https://tug.org/svn/texlive?view=revision&revision=72258
Author: karl
Date: 2024-09-11 23:21:33 +0200 (Wed, 11 Sep 2024)
Log Message:
-----------
avoid spaces after mathjax \begin and \end
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-09-11 20:27:32 UTC (rev 72257)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-09-11 21:21:33 UTC (rev 72258)
@@ -1,3 +1,8 @@
+2024-09-11 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): prevent insertion of
+ spaces after \begin and \end in \VerbMath.
+
2024-09-10 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): use \detokenize again,
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex 2024-09-11 20:27:32 UTC (rev 72257)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex 2024-09-11 21:21:33 UTC (rev 72258)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathjax.tex 1553 2024-09-10 13:43:17Z michal_h21 $
+% $Id: tex4ht-mathjax.tex 1554 2024-09-11 13:41:52Z michal_h21 $
% compile: latex tex4ht-mathjax
%
% Copyright 2018-2024 TeX Users Group
@@ -132,9 +132,9 @@
\long\def\AltlDisplayDollars#1$${\alteqtoks{\[#1\]}$$}
\newcommand\VerbMathToks[2]{%
- \alteqtoks{\begin{#2}
- #1
- \end{#2}}%
+ \HCode{\string\begin{#2}}%
+ \alteqtoks{#1}%
+ \HCode{\string\end{#2}}%
}
>>>
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht 2024-09-11 20:27:32 UTC (rev 72257)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht 2024-09-11 21:21:33 UTC (rev 72258)
@@ -1,4 +1,4 @@
-% mathjax-latex-4ht.4ht (2024-09-10-13:45), generated from tex4ht-mathjax.tex
+% mathjax-latex-4ht.4ht (2024-09-11-13:40), generated from tex4ht-mathjax.tex
% Copyright 2018-2024 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 2024-09-10-13:45}
+\immediate\write-1{version 2024-09-11-13:40}
\ExplSyntaxOn
@@ -49,9 +49,9 @@
\long\def\AltlDisplayDollars#1$${\alteqtoks{\[#1\]}$$}
\newcommand\VerbMathToks[2]{%
- \alteqtoks{\begin{#2}
- #1
- \end{#2}}%
+ \HCode{\string\begin{#2}}%
+ \alteqtoks{#1}%
+ \HCode{\string\end{#2}}%
}
\ExplSyntaxOn
\seq_new:N\:savedmathjaxenvs
More information about the tex-live-commits
mailing list.