summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-05-08 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2024-05-08 03:00:45 +0000
commit5212716ef44f8ffc4e9fc21540cf5e6472f22f9d (patch)
tree72a2adb43cdfcc24259274163925ab68c1d75a51 /support/TeX4ht/source
parent183e0a342c2d76377b644e9e09493a870d858cc7 (diff)
CTAN sync 202405080300
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog5
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex11
2 files changed, 12 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 6fd8ded5b1..146207b308 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 172cc6fa40..aa73c275df 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/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}