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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Jan 5 18:36:12 CET 2019


Author: michal_h21
Date: 2019-01-05 19:36:12 +0200 (Sat, 05 Jan 2019)
New Revision: 474

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed TOC issues for Titlesec

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-01-05 14:40:26 UTC (rev 473)
+++ trunk/lit/ChangeLog	2019-01-05 17:36:12 UTC (rev 474)
@@ -1,6 +1,7 @@
 2019-01-05  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-tei.tex (tei.4ht): added definitions of the CSS support commands.
+	* tex4ht-4ht.tex (titlesec.4ht): fixed issues with TOC.
 
 2018-12-27  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-01-05 14:40:26 UTC (rev 473)
+++ trunk/lit/tex4ht-4ht.tex	2019-01-05 17:36:12 UTC (rev 474)
@@ -809,9 +809,10 @@
          \else \csname the\sc:tp\endcsname \fi \fi
        }{#8}%
 }
-\def\:tempc{%
+\def\:tempc#1#2#3#4{%
+  \edef\sc:tp{\ifttl at label\else like\fi #1}%
    \let\ttl at savewrite\empty
-   \o:ttl at select:
+   \o:ttl at select:{#1}{#2}{#3}{#4}
 }
 \HLet\ttl at select\:tempc
 >>>



More information about the tex4ht-commits mailing list