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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Jul 30 22:27:51 CEST 2020


Author: michal_h21
Date: 2020-07-30 23:27:50 +0300 (Thu, 30 Jul 2020)
New Revision: 783

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathjax.tex
Log:
remove spurious colon in mathjax mode

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-07-28 13:15:30 UTC (rev 782)
+++ trunk/lit/ChangeLog	2020-07-30 20:27:50 UTC (rev 783)
@@ -1,3 +1,9 @@
+2020-07-30  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): remove spurious colon.
+	https://tex.stackexchange.com/a/555755/2891
+	https://puszcza.gnu.org.ua/bugs/?479
+
 2020-07-28  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-sty.tex (tex4ht.sty),

Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex	2020-07-28 13:15:30 UTC (rev 782)
+++ trunk/lit/tex4ht-mathjax.tex	2020-07-30 20:27:50 UTC (rev 783)
@@ -47,6 +47,8 @@
   \regex_replace_all:nnN { \x{5C} \x{20} \x{7B} } { \x{5C} \x{3A} \x{7B} } \l_tmpa_tl
   % delete spaces before left brackets
   \regex_replace_all:nnN { \x{20} \x{7B} } { \x{7B} } \l_tmpa_tl
+  % replace \\:{ back to \\ { -- this can be introduced by the previous regex
+  \regex_replace_all:nnN { \x{5C} \x{5C}  \x{3A} \x{7B} } { \x{5C} \x{5C} \x{20} \x{7B} } \l_tmpa_tl
   % replace < > and & with xml entities
   \regex_replace_all:nnN { \x{26} } { & } \l_tmpa_tl
   \regex_replace_all:nnN { \x{3C} } { < } \l_tmpa_tl 



More information about the tex4ht-commits mailing list.