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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Wed Jan 16 14:29:46 CET 2019


Author: michal_h21
Date: 2019-01-16 15:29:46 +0200 (Wed, 16 Jan 2019)
New Revision: 479

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed chapter TOC saving in Memoir

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-01-12 21:17:02 UTC (rev 478)
+++ trunk/lit/ChangeLog	2019-01-16 13:29:46 UTC (rev 479)
@@ -1,3 +1,8 @@
+2019-01-16  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (memoir.4ht): fixed chapter TOC creation
+	https://tex.stackexchange.com/q/470352/2891
+
 2019-01-12  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (usepackage.4ht): fixed Biblatex language handling.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-01-12 21:17:02 UTC (rev 478)
+++ trunk/lit/tex4ht-4ht.tex	2019-01-16 13:29:46 UTC (rev 479)
@@ -14249,6 +14249,7 @@
    |<adjust minipageNum for setcounter footnote 0|>%
    {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII\no at chapter[#1]{}%
     \global\let\f at rtoc\f at rtoc
+    \ifx\f at rtoc\empty\gdef\f at rtoc{#2}\fi
     \global\let\f at rhdr\f at rhdr  }%
    \HtmlEnv   \Toc:Title{\f at rtoc}\:chapter{#2}}
 >>>



More information about the tex4ht-commits mailing list