diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-01 22:55:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-01 22:55:28 +0000 |
commit | 8682430d4182f3910b845536f1da9063c34f201c (patch) | |
tree | 10ae0afcb50b280de2f225d49bdfc791184a1869 /Master | |
parent | 61a8302a1531f7061c2376108ddf4decd165dd02 (diff) |
\par replacement mathjax fix, tex4ht r1012
git-svn-id: svn://tug.org/texlive/trunk@61201 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
3 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index a15a15e34a0..ac56932a2ed 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2021-12-01 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): search for \par<space> in + regex that replaces \par commands. + https://puszcza.gnu.org.ua/bugs/?537 + 2021-11-30 Michal Hoftich <michal.h21@gmail.com> * tex4ht-mathml.tex (mathml.4ht): use numerical entity instead of named diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex index cb7559b255a..70ad6ad4045 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-mathjax.tex 1012 2021-11-19 09:35:54Z michal_h21 $ +% $Id: tex4ht-mathjax.tex 1021 2021-12-01 22:49:07Z michal_h21 $ % compile: latex tex4ht-mathjax % % Copyright 2018-2021 TeX Users Group @@ -63,7 +63,7 @@ We still use regula expressions to escape invalid XML characters to entities, so \regex_replace_all:nnN { \x{3C} } { < } \l_tmpa_tl \regex_replace_all:nnN { \x{3E} } { > } \l_tmpa_tl % replace \par command with blank lines - \regex_replace_all:nnN { \x{5C}par } {\x{A}\x{A}} \l_tmpa_tl + \regex_replace_all:nnN { \x{5C}par\s } {\x{A}\x{A}} \l_tmpa_tl \tl_set:Nx \l_tmpb_tl{ \l_tmpa_tl } \HCode{\l_tmpb_tl} } 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 64a2b2956ea..ce45fe150e6 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 (2021-11-20-09:56), generated from tex4ht-mathjax.tex +% mathjax-latex-4ht.sty (2021-12-01-14:49), generated from tex4ht-mathjax.tex % Copyright 2018-2021 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 2021-11-20-09:56} +\immediate\write-1{version 2021-12-01-14:49} \ExplSyntaxOn @@ -28,7 +28,7 @@ \regex_replace_all:nnN { \x{3C} } { < } \l_tmpa_tl \regex_replace_all:nnN { \x{3E} } { > } \l_tmpa_tl % replace \par command with blank lines - \regex_replace_all:nnN { \x{5C}par } {\x{A}\x{A}} \l_tmpa_tl + \regex_replace_all:nnN { \x{5C}par\s } {\x{A}\x{A}} \l_tmpa_tl \tl_set:Nx \l_tmpb_tl{ \l_tmpa_tl } \HCode{\l_tmpb_tl} } |