texlive[73752] Master/texmf-dist: remove spurious paragraphs before

commits+karl at tug.org commits+karl at tug.org
Thu Feb 6 22:18:39 CET 2025


Revision: 73752
          https://tug.org/svn/texlive?view=revision&revision=73752
Author:   karl
Date:     2025-02-06 22:18:39 +0100 (Thu, 06 Feb 2025)
Log Message:
-----------
remove spurious paragraphs before sections in koma classes, tex4ht r1637

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1637

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/scrartcl.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	2025-02-06 20:43:49 UTC (rev 73751)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-02-06 21:18:39 UTC (rev 73752)
@@ -1,3 +1,9 @@
+2025-02-06  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (scrbook.4ht, scrartcl.4ht, scrreprt.4ht): remove
+	spurious paragraphs before sections.
+	https://puszcza.gnu.org.ua/bugs/index.php?647
+
 2025-02-05  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): remove spurious paragraphs before

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-02-06 20:43:49 UTC (rev 73751)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-02-06 21:18:39 UTC (rev 73752)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1636 2025-02-05 09:54:48Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1637 2025-02-06 14:30:54Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2025 TeX Users Group    
@@ -18863,6 +18863,13 @@
 \def\minisec#1{\:minisec{#1}\@afterheading}
 >>>
 
+This should supress spurious paragraphs before sections.
+
+\<scr artcl, reprt, book\><<<
+\newcommand*\scr:startsection[6]{\ifvmode\HCode{}\IgnorePar\fi\o:scr at startsection:{#1}{#2}{#3}{#4}{#5}{#6}}
+\HLet\scr at startsection\scr:startsection
+>>>
+
 %%%%%%%%%%%%%%%%%%
 \Section{srcartcl}
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/scrartcl.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/scrartcl.4ht	2025-02-06 20:43:49 UTC (rev 73751)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/scrartcl.4ht	2025-02-06 21:18:39 UTC (rev 73752)
@@ -1,12 +1,12 @@
-% scrartcl.4ht (2021-10-19-14:11), generated from tex4ht-4ht.tex
+% scrartcl.4ht (2025-02-06-13:10), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2025 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
+%   https://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.
 %
@@ -13,11 +13,11 @@
 % This work has the LPPL maintenance status "maintained".
 %
 % The Current Maintainer of this work
-% is the TeX4ht Project <http://tug.org/tex4ht>.
+% is the TeX4ht Project <https://tug.org/tex4ht>.
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-10-19-14:11}
+\immediate\write-1{version 2025-02-06-13:10}
 
 
 \input article.4ht
@@ -24,6 +24,8 @@
 \Def:Section\minisec{}{#1}
 \let\:minisec=\minisec
 \def\minisec#1{\:minisec{#1}\@afterheading}
+\newcommand*\scr:startsection[6]{\ifvmode\HCode{}\IgnorePar\fi\o:scr at startsection:{#1}{#2}{#3}{#4}{#5}{#6}}
+\HLet\scr at startsection\scr:startsection
 \NewConfigure{subtitle}{2}
 \pend:defI\@makefntext{\IgnorePar}
 \let\scr at defineobsoletefonts\thr@@

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht	2025-02-06 20:43:49 UTC (rev 73751)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/scrbook.4ht	2025-02-06 21:18:39 UTC (rev 73752)
@@ -1,12 +1,12 @@
-% scrbook.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
+% scrbook.4ht (2025-02-06-13:10), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2025 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
+%   https://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.
 %
@@ -13,11 +13,11 @@
 % This work has the LPPL maintenance status "maintained".
 %
 % The Current Maintainer of this work
-% is the TeX4ht Project <http://tug.org/tex4ht>.
+% is the TeX4ht Project <https://tug.org/tex4ht>.
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-04-10-13:46}
+\immediate\write-1{version 2025-02-06-13:10}
 
 \let\o:maketitle:\maketitle
 \let\o:maketitle:\maketitle
@@ -391,6 +391,8 @@
 \Def:Section\minisec{}{#1}
 \let\:minisec=\minisec
 \def\minisec#1{\:minisec{#1}\@afterheading}
+\newcommand*\scr:startsection[6]{\ifvmode\HCode{}\IgnorePar\fi\o:scr at startsection:{#1}{#2}{#3}{#4}{#5}{#6}}
+\HLet\scr at startsection\scr:startsection
 \NewConfigure{subtitle}{2}
 \pend:defI\@makefntext{\IgnorePar}
 \let\scr at defineobsoletefonts\thr@@

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht	2025-02-06 20:43:49 UTC (rev 73751)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/scrreprt.4ht	2025-02-06 21:18:39 UTC (rev 73752)
@@ -1,12 +1,12 @@
-% scrreprt.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
+% scrreprt.4ht (2025-02-06-13:10), generated from tex4ht-4ht.tex
 % Copyright (C) 1999-2009 Eitan M. Gurari
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2025 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
+%   https://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.
 %
@@ -13,11 +13,11 @@
 % This work has the LPPL maintenance status "maintained".
 %
 % The Current Maintainer of this work
-% is the TeX4ht Project <http://tug.org/tex4ht>.
+% is the TeX4ht Project <https://tug.org/tex4ht>.
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-04-10-13:46}
+\immediate\write-1{version 2025-02-06-13:10}
 
 \let\o:maketitle:\maketitle
 \def\maketitle{\bgroup
@@ -383,6 +383,8 @@
 \Def:Section\minisec{}{#1}
 \let\:minisec=\minisec
 \def\minisec#1{\:minisec{#1}\@afterheading}
+\newcommand*\scr:startsection[6]{\ifvmode\HCode{}\IgnorePar\fi\o:scr at startsection:{#1}{#2}{#3}{#4}{#5}{#6}}
+\HLet\scr at startsection\scr:startsection
 \NewConfigure{subtitle}{2}
 \pend:defI\@makefntext{\IgnorePar}
 \let\scr at defineobsoletefonts\thr@@



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