summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-07 20:46:05 +0000
committerKarl Berry <karl@freefriends.org>2024-05-07 20:46:05 +0000
commitdf7822b182b68b12c39d5f8f1c620f8405136dfb (patch)
tree7c8dd15d65f5188f256fad704e78529d71ca5178 /Master/texmf-dist/source/generic/tex4ht
parentab60ca3774663a7c219641b4a47296cdd2b28149 (diff)
fixed restoring of \begin and \end in \measure@, tex4ht r1515
git-svn-id: svn://tug.org/texlive/trunk@71203 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex11
2 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 6fd8ded5b11..146207b308c 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-07 Linas Stonys <lstonys@vtex.lt>
+
+ * tex4ht-4ht.tex (latex.4ht, amsmath.4ht): fixed restoring of \begin
+ and \end in the \measure@ command.
+
2024-05-06 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-sty.tex (tex4ht.sty): don't disable \DocumentMetadata.
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 172cc6fa40d..aa73c275dff 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1514 2024-05-06 14:50:21Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1515 2024-05-07 15:21:27Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -7276,6 +7276,7 @@ and the command \`'\end{xxx}' referes to the meaning of \`'\endxxx'.
\<latex ltmiscen\><<<
\pend:defI\begin{\let\chk:pic|=\EndPicture }
\let\o:begin:|=\begin
+ \expandafter\let \csname o:begin :\expandafter\endcsname\csname begin \endcsname
\let\choose:begin\@firstoftwo
\DeclareRobustCommand\begin[1]{\csname @begin:#1\endcsname
\choose:begin
@@ -7352,7 +7353,7 @@ are initiated within \''\begin{...}'. For instance, in eqnarray there
%%%%%%%%%%%%%
\<latex ltmiscen\><<<
-\let\o:end:|=\end
+\expandafter\let \csname o:end :\expandafter\endcsname\csname end \endcsname
\DeclareRobustCommand\end[1]{\choose:begin
{|<revised end|>}%
{\o:end:{#1}}}
@@ -21218,8 +21219,10 @@ due to a \''\vtop' in the macro definition.
\let\:tempc|=\measure@
\pend:defI\:tempc{\bgroup
\RecallTeXcr \HRestore\noalign \let\EndPicture\empty
- \let\halign|=\TeXhalign \let\span|=\:span \HRestore\begin
- \HRestore\end \a:measure@ }
+ \let\halign|=\TeXhalign \let\span|=\:span
+ \expandafter\HRestore\csname begin \endcsname
+ \expandafter\HRestore\csname end \endcsname
+ \a:measure@ }
\append:defI\:tempc{\egroup}
\HLet\measure@|=\:tempc
\NewConfigure{measure@}{1}