texlive[56972] Master/texmf-dist/tex/generic/tex4ht/titlesec.4ht:

commits+karl at tug.org commits+karl at tug.org
Fri Nov 20 23:29:33 CET 2020


Revision: 56972
          http://tug.org/svn/texlive?view=revision&revision=56972
Author:   karl
Date:     2020-11-20 23:29:33 +0100 (Fri, 20 Nov 2020)
Log Message:
-----------
titlesec paragraph handling, tex4ht r843

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

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/titlesec.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/titlesec.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/titlesec.4ht	2020-11-20 22:12:22 UTC (rev 56971)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/titlesec.4ht	2020-11-20 22:29:33 UTC (rev 56972)
@@ -1,6 +1,6 @@
-% titlesec.4ht (2019-01-05-15:17), generated from tex4ht-4ht.tex
+% titlesec.4ht (2020-11-20-14:29), generated from tex4ht-4ht.tex
 % Copyright 2000-2009 Eitan M. Gurari
-% Copyright 2009-2019 TeX Users Group
+% Copyright 2009-2020 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 2019-01-05-15:17}
+\immediate\write-1{version 2020-11-20-14:29}
 
 \ifx \ttl at assign@ii\:Undef
    \ifx \ttl at sect\:UnDef\else
@@ -83,10 +83,14 @@
        }{#8}%
 }
 \def\:tempc#1#2#3#4{%
+  \begingroup
+  \let\everypar\@gobble% don't let titlesec to break our paragraph handling
   \edef\sc:tp{\ifttl at label\else like\fi #1}%
    \let\ttl at savewrite\empty
    \o:ttl at select:{#1}{#2}{#3}{#4}
+   \endgroup
 }
+
 \HLet\ttl at select\:tempc
 \let\ttlh at runin\ttlh at hang
 \let\ttlh at display\ttlh at hang



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