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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sun Sep 16 13:00:35 CEST 2018


Author: michal_h21
Date: 2018-09-16 14:00:35 +0300 (Sun, 16 Sep 2018)
New Revision: 431

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fix for titlesec runin and display formats

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2018-09-08 21:58:25 UTC (rev 430)
+++ trunk/lit/ChangeLog	2018-09-16 11:00:35 UTC (rev 431)
@@ -1,3 +1,8 @@
+2018-09-16  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (titlesec.4ht): fix for the runin and display formats.
+	https://tex.stackexchange.com/q/451077/2891
+
 2018-09-08  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (biblatex-chicago.4ht): fix for correct punctuation.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2018-09-08 21:58:25 UTC (rev 430)
+++ trunk/lit/tex4ht-4ht.tex	2018-09-16 11:00:35 UTC (rev 431)
@@ -791,6 +791,7 @@
    \:seccntformat{#1}\fi}
 >>>
 
+
 \<titlesec 2005\><<<
 \let\ttl:straight at i\ttl at straight@i
 \def\ttl at straight@i#1[#2]#3{%
@@ -815,6 +816,14 @@
 \HLet\ttl at select\:tempc
 >>>
 
+% runin and display formats ruin tex4ht section patching
+% letting them to the \ttl at hang format seems to fix that
+% https://tex.stackexchange.com/q/451077/2891
+\<titlesec 2005\><<<
+\let\ttlh at runin\ttlh at hang
+\let\ttlh at display\ttlh at hang
+>>>
+
 \<skip extra sec and subsec toc\><<<
 \def\:temp{#1}\edef\:tempa{\expandafter
     \expandafter\expandafter\:gobble



More information about the tex4ht-commits mailing list