diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-13 22:13:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-13 22:13:30 +0000 |
commit | baea7e69eae827b38b02f28edd3ee16604c08fb1 (patch) | |
tree | 9bcdc0f98c13dc121ad6e071b96b1f035b67c481 /Master/texmf-dist/tex/generic | |
parent | 2bec68bef25161a8b6fbcd1b02877c0399a38b88 (diff) |
rm space regexps, tex4ht r796
git-svn-id: svn://tug.org/texlive/trunk@56340 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht | 12 |
1 files changed, 3 insertions, 9 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 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 |