[tex4ht-commits] [SCM] tex4ht updated: r1554 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Sep 11 15:41:52 CEST 2024


Author: michal_h21
Date: 2024-09-11 13:41:52 +0000 (Wed, 11 Sep 2024)
New Revision: 1554

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathjax.tex
Log:
prevent insertion of spaces after \begin and \end in mathjax

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-09-10 13:43:17 UTC (rev 1553)
+++ trunk/lit/ChangeLog	2024-09-11 13:41:52 UTC (rev 1554)
@@ -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/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex	2024-09-10 13:43:17 UTC (rev 1553)
+++ trunk/lit/tex4ht-mathjax.tex	2024-09-11 13:41:52 UTC (rev 1554)
@@ -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}}%
 }
 >>>
 



More information about the tex4ht-commits mailing list.