diff options
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht index 0c1b86e23fb..66305ba95b0 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht @@ -1,4 +1,4 @@ -% mathjax-latex-4ht.sty (2020-04-19-14:57), generated from tex4ht-mathjax.tex +% mathjax-latex-4ht.sty (2020-04-20-13:49), generated from tex4ht-mathjax.tex % Copyright 2018-2019 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 2020-04-19-14:57} +\immediate\write-1{version 2020-04-20-13:49} \RequirePackage{etoolbox,expl3,environ} @@ -24,6 +24,8 @@ \cs_new_protected:Npn \alteqtoks #1 { \tl_set:Nx \l_tmpa_tl {\detokenize{#1}} + % convert \ { to \:{ + \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 < > and & with xml entities |