texlive[61201] Master/texmf-dist: \par replacement mathjax fix,

commits+karl at tug.org commits+karl at tug.org
Wed Dec 1 23:55:28 CET 2021


Revision: 61201
          http://tug.org/svn/texlive?view=revision&revision=61201
Author:   karl
Date:     2021-12-01 23:55:28 +0100 (Wed, 01 Dec 2021)
Log Message:
-----------
\par replacement mathjax fix, tex4ht r1012

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1012

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-12-01 21:09:38 UTC (rev 61200)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-12-01 22:55:28 UTC (rev 61201)
@@ -1,3 +1,9 @@
+2021-12-01  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): use numerical entity instead of named

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2021-12-01 21:09:38 UTC (rev 61200)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2021-12-01 22:55:28 UTC (rev 61201)
@@ -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 @@
   \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}
 }

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2021-12-01 21:09:38 UTC (rev 61200)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2021-12-01 22:55:28 UTC (rev 61201)
@@ -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}
 }



More information about the tex-live-commits mailing list.