texlive[54818]
commits+karl at tug.org
commits+karl at tug.org
Mon Apr 20 23:58:09 CEST 2020
Revision: 54818
http://tug.org/svn/texlive?view=revision&revision=54818
Author: karl
Date: 2020-04-20 23:58:09 +0200 (Mon, 20 Apr 2020)
Log Message:
-----------
mathjax support for "\ {", tex4ht 685
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht 2020-04-20 21:15:45 UTC (rev 54817)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht 2020-04-20 21:58:09 UTC (rev 54818)
@@ -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
More information about the tex-live-commits
mailing list.