From baea7e69eae827b38b02f28edd3ee16604c08fb1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 13 Sep 2020 22:13:30 +0000 Subject: rm space regexps, tex4ht r796 git-svn-id: svn://tug.org/texlive/trunk@56340 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/generic') 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 e49325599cd..02d1b02e952 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-07-30-14:01), generated from tex4ht-mathjax.tex +% mathjax-latex-4ht.sty (2020-09-13-14:20), 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-07-30-14:01} +\immediate\write-1{version 2020-09-13-14:20} \RequirePackage{etoolbox,expl3,environ} @@ -24,13 +24,7 @@ \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 \\:{ 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 + % % replace < > and & with xml entities \regex_replace_all:nnN { \x{26} } { & } \l_tmpa_tl \regex_replace_all:nnN { \x{3C} } { < } \l_tmpa_tl \regex_replace_all:nnN { \x{3E} } { > } \l_tmpa_tl -- cgit v1.2.3