summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-20 21:58:09 +0000
committerKarl Berry <karl@freefriends.org>2020-04-20 21:58:09 +0000
commit13f071547e70c435dd7ca92c06748164f4c565a2 (patch)
treedb6433dc719da4e63b5211da6e6b8225e39b8adb /Master
parentd26de696d3d8f68cd84422f6f64629e693c86223 (diff)
mathjax support for "\ {", tex4ht 685
git-svn-id: svn://tug.org/texlive/trunk@54818 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht6
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