[tex4ht-commits] [SCM] tex4ht updated: r843 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Fri Nov 20 23:24:52 CET 2020
Author: michal_h21
Date: 2020-11-21 00:24:51 +0200 (Sat, 21 Nov 2020)
New Revision: 843
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed paragraph handling in titlesec
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2020-11-12 20:42:32 UTC (rev 842)
+++ trunk/lit/ChangeLog 2020-11-20 22:24:51 UTC (rev 843)
@@ -1,3 +1,8 @@
+2020-11-20 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (titlesec.4ht): fixed paragraph handling in sectioning
+ commands.
+
2020-11-12 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-fonts-noncjk.tex(
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2020-11-12 20:42:32 UTC (rev 842)
+++ trunk/lit/tex4ht-4ht.tex 2020-11-20 22:24:51 UTC (rev 843)
@@ -878,10 +878,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
>>>
More information about the tex4ht-commits
mailing list.