From c9cadc2376bc11c174fedd51cc7559b4273de430 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 10 Apr 2023 22:39:54 +0000 Subject: call \@endpart after \part, tex4ht r1321; longtable caption fix, tex4ht r1322 git-svn-id: svn://tug.org/texlive/trunk@66823 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 13 ++++++ .../source/generic/tex4ht/tex4ht-4ht.tex | 41 +++++++++++------ Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht | 52 ++++++++++------------ Master/texmf-dist/tex/generic/tex4ht/aa.4ht | 12 ++--- .../tex/generic/tex4ht/acm_proc_article-sp.4ht | 12 ++--- Master/texmf-dist/tex/generic/tex4ht/article.4ht | 10 +++-- Master/texmf-dist/tex/generic/tex4ht/book.4ht | 10 +++-- Master/texmf-dist/tex/generic/tex4ht/longtable.4ht | 9 ++-- Master/texmf-dist/tex/generic/tex4ht/report.4ht | 10 +++-- Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht | 12 ++--- Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht | 14 +++--- Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht | 14 +++--- 12 files changed, 126 insertions(+), 83 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index bf51d9bae75..1c44cdae8c3 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,16 @@ +2023-04-10 Michal Hoftich + + * 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 * tex4ht-html4.tex (html4.4ht): show next paragraph after footnote diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index f1aa1c341d6..ad61bdcdf2d 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 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 @@ normal code for caption will not work. \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@makecaption\:tempc >>> @@ -15614,7 +15615,7 @@ CAN'T, e.g., : \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } >>> The \''\@endpart' is not defined for \`'article' class. @@ -15629,7 +15630,9 @@ The above is LaTeX's def without the output of titles. \let\no@part|=\@part \def\@part[#1]#2{% {\let\addcontentsline|=\:gobbleIII\no@part[#1]{}}% - \HtmlEnv \Toc:Title{#1}\:part{#2}} + \HtmlEnv \Toc:Title{#1}\:part{#2}% + \csname @endpart\endcsname% + } >>> \<<< @@ -17030,7 +17033,7 @@ titleref command. \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -17038,14 +17041,18 @@ titleref command. \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 \let\no@spart\@spart \def\@spart#1{% {\let\addcontentsline\:gobbleIII\no@spart{}}% - \HtmlEnv \:likepart{#1}} + \HtmlEnv \:likepart{#1}% + \csname @endpart\endcsname% + } \let\no@section\section \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else @@ -18484,7 +18491,7 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -18492,14 +18499,18 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 \let\no@spart\@spart \def\@spart#1{% {\let\addcontentsline\:gobbleIII\no@spart{}}% - \HtmlEnv \:likepart{#1}} + \HtmlEnv \:likepart{#1}% + \csname @endpart\endcsname% + } \fi \ifx \section\:UnDef\else @@ -18669,7 +18680,7 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -18677,14 +18688,18 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 \let\no@spart\@spart \def\@spart#1{% {\let\addcontentsline\:gobbleIII\no@spart{}}% - \HtmlEnv \:likepart{#1}} + \HtmlEnv \:likepart{#1}% + \csname @endpart\endcsname% + } \fi \ifx \section\:UnDef\else diff --git a/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht b/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht index 523ea6f502a..b0b889371bd 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/JHEP.4ht @@ -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@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 . +% +% If you modify this program, changing the +% version identification would be appreciated. \def\@part[#1]#2{% \ifnum \c@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@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/aa.4ht b/Master/texmf-dist/tex/generic/tex4ht/aa.4ht index 00a6f53a661..cc203900dab 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/aa.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/aa.4ht @@ -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@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht b/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht index c1279db5b20..103b339ba6f 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht @@ -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@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/article.4ht b/Master/texmf-dist/tex/generic/tex4ht/article.4ht index 252694d4a59..063c1076e01 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/article.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/article.4ht @@ -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 @@ UnDFexyz}% \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -219,7 +219,9 @@ UnDFexyz}% \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/book.4ht b/Master/texmf-dist/tex/generic/tex4ht/book.4ht index c5aa4a51a4b..d5fd14d5a61 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/book.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/book.4ht @@ -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 @@ UnDFexyz}% \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -145,7 +145,9 @@ UnDFexyz}% \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht index f4d4dc781c6..49e7e6e43d4 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht @@ -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@makecaption\:tempc \def\:tempc#1[#2]#3{% \LT@makecaption#1\fnum@table{#3}% diff --git a/Master/texmf-dist/tex/generic/tex4ht/report.4ht b/Master/texmf-dist/tex/generic/tex4ht/report.4ht index 14dd047115e..4a10b87ec92 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/report.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/report.4ht @@ -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 @@ UnDFexyz}% \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -260,7 +260,9 @@ UnDFexyz}% \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht b/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht index 7f9b7d89ffc..48da065ba28 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/revtex4.4ht @@ -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@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@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht b/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht index 3fe6e283112..7320657b4b9 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht @@ -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 @@ UnDFexyz}% \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -214,14 +214,18 @@ UnDFexyz}% \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 \let\no@spart\@spart \def\@spart#1{% {\let\addcontentsline\:gobbleIII\no@spart{}}% - \HtmlEnv \:likepart{#1}} + \HtmlEnv \:likepart{#1}% + \csname @endpart\endcsname% + } \fi \ifx \section\:UnDef\else diff --git a/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht b/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht index 423d9d3ae86..306738e0748 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht @@ -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 @@ UnDFexyz}% \else \addcontentsline{toc}{part}{#1}% \fi - \csname @endpart\endcsname} + } \let\:tempb\part \Def:Section\part{\thepart}{#1} \let\:part\part @@ -283,14 +283,18 @@ UnDFexyz}% \let\no@part\@part \def\@part[#1]#2{% {\let\addcontentsline\:gobbleIII\no@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 \let\no@spart\@spart \def\@spart#1{% {\let\addcontentsline\:gobbleIII\no@spart{}}% - \HtmlEnv \:likepart{#1}} + \HtmlEnv \:likepart{#1}% + \csname @endpart\endcsname% + } \fi \ifx \section\:UnDef\else -- cgit v1.2.3