[tex4ht-commits] [SCM] tex4ht updated: r1321 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Apr 10 13:10:15 CEST 2023


Author: michal_h21
Date: 2023-04-10 11:10:15 +0000 (Mon, 10 Apr 2023)
New Revision: 1321

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
print \@endpart after contents of \part were printed

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-04-08 10:40:15 UTC (rev 1320)
+++ trunk/lit/ChangeLog	2023-04-10 11:10:15 UTC (rev 1321)
@@ -1,3 +1,13 @@
+2023-04-10  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* 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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-04-08 10:40:15 UTC (rev 1320)
+++ trunk/lit/tex4ht-4ht.tex	2023-04-10 11:10:15 UTC (rev 1321)
@@ -15614,7 +15614,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 >>>
 
 The \''\@endpart' is not defined for \`'article' class.
@@ -15629,7 +15629,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 +17032,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -17038,7 +17040,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 +17049,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 +18490,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -18492,7 +18498,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 +18507,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 +18679,7 @@
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    \csname @endpart\endcsname}
+    }
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
@@ -18677,7 +18687,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 +18696,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 tex4ht-commits mailing list.