[tex4ht-commits] [SCM] tex4ht updated: r1098 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Mar 24 23:18:43 CET 2022
Author: michal_h21
Date: 2022-03-24 22:18:43 +0000 (Thu, 24 Mar 2022)
New Revision: 1098
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-mathjax.tex
Log:
use \detokenize to prevent environment expansion
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-03-24 17:17:15 UTC (rev 1097)
+++ trunk/lit/ChangeLog 2022-03-24 22:18:43 UTC (rev 1098)
@@ -1,5 +1,8 @@
2021-03-24 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): use \detokenize to
+ prevent math environments from expansion.
+ https://puszcza.gnu.org.ua/bugs/?557
* tex4ht-4ht.tex (listings.4ht): ignore spurious spaces at beginning
of listings.
* tex4ht-html4.tex (html4.4ht): removed extra <br> tags, fixed
Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex 2022-03-24 17:17:15 UTC (rev 1097)
+++ trunk/lit/tex4ht-mathjax.tex 2022-03-24 22:18:43 UTC (rev 1098)
@@ -104,7 +104,7 @@
\newcommand\VerbMath[1]{%
\cs_if_exist:cTF{#1}{
\RenewDocumentEnvironment{#1}{+!b}{%
- \NoFonts\expandafter\VerbMathToks\expandafter{##1}{#1}\EndNoFonts%
+ \NoFonts\expandafter\VerbMathToks\expandafter{\detokenize{##1}}{#1}\EndNoFonts%
}{}
}{}%
}
More information about the tex4ht-commits
mailing list.