texlive[66823] Master/texmf-dist: call \@endpart after \part, tex4ht

commits+karl at tug.org commits+karl at tug.org
Tue Apr 11 00:39:55 CEST 2023


Revision: 66823
          http://tug.org/svn/texlive?view=revision&revision=66823
Author:   karl
Date:     2023-04-11 00:39:54 +0200 (Tue, 11 Apr 2023)
Log Message:
-----------
call \@endpart after \part, tex4ht r1321; longtable caption fix, tex4ht r1322

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

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/aa.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/article.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/book.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/report.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,3 +1,16 @@
+2023-04-10  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (longtable.4ht): fixed another \caption issue.
+	https://tex.stackexchange.com/q/682383/2891
+
+	* tex4ht-4ht.tex ( 
+	aa.4ht, acm_proc_article-sp.4ht, article.4ht, book.4ht, 
+	JHEP.4ht, report.4ht, revtex4.4ht, scrbook.4ht, scrbook.4ht, 
+	scrreprt.4ht, scrreprt.4ht
+	): call \@endpart after contents of \part were printed.
+	https://tex.stackexchange.com/a/682376/2891
+
+
 2023-04-08  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): show next paragraph after footnote

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1318 2023-04-06 09:30:00Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1322 2023-04-10 13:54:40Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2023 TeX Users Group    
@@ -10553,7 +10553,8 @@
 \NewConfigure{longtablecaption}{4}
 \def\:tempc#1#2#3{%
     \a:longtablecaption #1{\cap:ref{#2}}\if\relax\detokenize{#1}\relax\else\b:longtablecaption\fi\c:longtablecaption#3\d:longtablecaption
-    \endgraf\vskip\baselineskip}
+    \endgraf%\vskip\baselineskip <- this caused error in https://tex.stackexchange.com/q/682383/2891
+ }
 \HLet\LT at makecaption\:tempc
 >>>
 
@@ -15614,7 +15615,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 >>>
 
 The \''\@endpart' is not defined for \`'article' class.
@@ -15629,7 +15630,9 @@
 \let\no at part|=\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline|=\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 >>>
 
 \<html late parts\><<<
@@ -17030,7 +17033,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -17038,7 +17041,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef
@@ -17045,7 +17050,9 @@
 \let\no at spart\@spart
 \def\@spart#1{%
    {\let\addcontentsline\:gobbleIII\no at spart{}}%
-   \HtmlEnv   \:likepart{#1}}
+   \HtmlEnv   \:likepart{#1}%
+   \csname @endpart\endcsname%
+ }
 
    \let\no at section\section
 \Def:Section\section{\ifnum \c:secnumdepth>\c at secnumdepth   \else
@@ -18484,7 +18491,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -18492,7 +18499,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef
@@ -18499,7 +18508,9 @@
 \let\no at spart\@spart
 \def\@spart#1{%
    {\let\addcontentsline\:gobbleIII\no at spart{}}%
-   \HtmlEnv   \:likepart{#1}}
+   \HtmlEnv   \:likepart{#1}%
+   \csname @endpart\endcsname%
+ }
 
 \fi
 \ifx \section\:UnDef\else
@@ -18669,7 +18680,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -18677,7 +18688,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef
@@ -18684,7 +18697,9 @@
 \let\no at spart\@spart
 \def\@spart#1{%
    {\let\addcontentsline\:gobbleIII\no at spart{}}%
-   \HtmlEnv   \:likepart{#1}}
+   \HtmlEnv   \:likepart{#1}%
+   \csname @endpart\endcsname%
+ }
 
 \fi
 \ifx \section\:UnDef\else

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,31 +1,23 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% JHEP.4ht                              2009-05-21-09:32 %
-% Copyright (C) 2001--2009       Eitan M. Gurari         %
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3c of this license or (at your option) any   %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3c or later is part of all distributions %
-% of LaTeX version 2005/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
-
+% JHEP.4ht                              2023-04-10-13:46 %
+% Copyright (C) 2001-2009       Eitan M. Gurari         %
+% Copyright 2009-2023 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
    \def\@part[#1]#2{%
     \ifnum \c at secnumdepth >-2\relax
       \SkipRefstepAnchor \refstepcounter{part}%
@@ -33,7 +25,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -41,7 +33,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/aa.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/aa.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/aa.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,6 +1,6 @@
-% aa.4ht (2021-05-02-10:08), generated from tex4ht-4ht.tex
+% aa.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-05-02-10:08}
+\immediate\write-1{version 2023-04-10-13:46}
 
 
 \onecolumn
@@ -34,7 +34,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -42,7 +42,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,6 +1,6 @@
-% acm_proc_article-sp.4ht (2021-05-09-08:03), generated from tex4ht-4ht.tex
+% acm_proc_article-sp.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright (C) 2001-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-05-09-08:03}
+\immediate\write-1{version 2023-04-10-13:46}
 
    \catcode`\:=12
 \def\@citex#1[#2]#3{%
@@ -156,7 +156,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -164,7 +164,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/article.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/article.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/article.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,4 +1,4 @@
-% article.4ht (2023-03-21-10:02), generated from tex4ht-4ht.tex
+% article.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2023 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-03-21-10:02}
+\immediate\write-1{version 2023-04-10-13:46}
 
 
 \Configure{UndefinedSec}{likepart}
@@ -211,7 +211,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -219,7 +219,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/book.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/book.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/book.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,4 +1,4 @@
-% book.4ht (2023-03-21-10:02), generated from tex4ht-4ht.tex
+% book.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2023 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-03-21-10:02}
+\immediate\write-1{version 2023-04-10-13:46}
 
 \Configure{UndefinedSec}{likepart}
 \Configure{UndefinedSec}{likechapter}
@@ -137,7 +137,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -145,7 +145,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,6 +1,6 @@
-% longtable.4ht (2022-04-28-13:47), generated from tex4ht-4ht.tex
+% longtable.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2022 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-04-28-13:47}
+\immediate\write-1{version 2023-04-10-13:46}
 
    \def\:tempc[#1]#2{%
   \gHAdvance\float:cnt  1
@@ -229,7 +229,8 @@
 \NewConfigure{longtablecaption}{4}
 \def\:tempc#1#2#3{%
     \a:longtablecaption #1{\cap:ref{#2}}\if\relax\detokenize{#1}\relax\else\b:longtablecaption\fi\c:longtablecaption#3\d:longtablecaption
-    \endgraf\vskip\baselineskip}
+    \endgraf%\vskip\baselineskip <- this caused error in https://tex.stackexchange.com/q/682383/2891
+ }
 \HLet\LT at makecaption\:tempc
 \def\:tempc#1[#2]#3{%
   \LT at makecaption#1\fnum at table{#3}%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/report.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/report.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/report.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,4 +1,4 @@
-% report.4ht (2023-03-21-10:02), generated from tex4ht-4ht.tex
+% report.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2023 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-03-21-10:02}
+\immediate\write-1{version 2023-04-10-13:46}
 
 
 \Configure{UndefinedSec}{likepart}
@@ -252,7 +252,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -260,7 +260,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,6 +1,6 @@
-% revtex4.4ht (2021-06-27-08:11), generated from tex4ht-4ht.tex
+% revtex4.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 2002-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-06-27-08:11}
+\immediate\write-1{version 2023-04-10-13:46}
 
 \def\:tempc[#1]#2{%
 %\hshow{@array at array@new--222}%
@@ -400,7 +400,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -408,7 +408,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,4 +1,4 @@
-% scrbook.4ht (2023-03-21-10:02), generated from tex4ht-4ht.tex
+% scrbook.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
 % Copyright 2009-2023 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-03-21-10:02}
+\immediate\write-1{version 2023-04-10-13:46}
 
 \let\o:maketitle:\maketitle
 \let\o:maketitle:\maketitle
@@ -206,7 +206,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -214,7 +214,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef
@@ -221,7 +223,9 @@
 \let\no at spart\@spart
 \def\@spart#1{%
    {\let\addcontentsline\:gobbleIII\no at spart{}}%
-   \HtmlEnv   \:likepart{#1}}
+   \HtmlEnv   \:likepart{#1}%
+   \csname @endpart\endcsname%
+ }
 
 \fi
 \ifx \section\:UnDef\else

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht	2023-04-10 22:30:22 UTC (rev 66822)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht	2023-04-10 22:39:54 UTC (rev 66823)
@@ -1,4 +1,4 @@
-% scrreprt.4ht (2023-03-21-10:02), generated from tex4ht-4ht.tex
+% scrreprt.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
 % Copyright (C) 1999-2009 Eitan M. Gurari
 % Copyright 2009-2023 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-03-21-10:02}
+\immediate\write-1{version 2023-04-10-13:46}
 
 \let\o:maketitle:\maketitle
 \def\maketitle{\bgroup
@@ -275,7 +275,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -283,7 +283,9 @@
 \let\no at part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no at part[#1]{}}%
-   \HtmlEnv   \Toc:Title{#1}\:part{#2}}
+   \HtmlEnv   \Toc:Title{#1}\:part{#2}%
+   \csname @endpart\endcsname%
+ }
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef
@@ -290,7 +292,9 @@
 \let\no at spart\@spart
 \def\@spart#1{%
    {\let\addcontentsline\:gobbleIII\no at spart{}}%
-   \HtmlEnv   \:likepart{#1}}
+   \HtmlEnv   \:likepart{#1}%
+   \csname @endpart\endcsname%
+ }
 
 \fi
 \ifx \section\:UnDef\else



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