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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Sep 14 22:09:51 CEST 2021


Author: michal_h21
Date: 2021-09-14 20:09:51 +0000 (Tue, 14 Sep 2021)
New Revision: 980

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-sty.tex
Log:
fixed \PauseCutAt issues

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-09-14 17:59:36 UTC (rev 979)
+++ trunk/lit/ChangeLog	2021-09-14 20:09:51 UTC (rev 980)
@@ -3,8 +3,9 @@
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): fixed TOC support for \exp
 	command.
 	https://puszcza.gnu.org.ua/bugs/?525
+	* tex4ht-sty.tex (tex4ht.sty): fix issues with \PauseCutAt and \ContCutAt.
+	https://puszcza.gnu.org.ua/bugs/?518
 
-
 2021-09-12  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): use global definitions for passing

Modified: trunk/lit/tex4ht-sty.tex
===================================================================
--- trunk/lit/tex4ht-sty.tex	2021-09-14 17:59:36 UTC (rev 979)
+++ trunk/lit/tex4ht-sty.tex	2021-09-14 20:09:51 UTC (rev 980)
@@ -3646,12 +3646,15 @@
    \expandafter\ifx  \csname NoCut:#1\endcsname\relax\else
        \expand:after{\expandafter\let\csname Cut:#1\endcsname=}%
           \csname NoCut:#1\endcsname
+      \expandafter\let\csname Toc:#1\expandafter\endcsname\csname OToc:#1\endcsname
    \fi}
 >>>
 
 e.g., \''PauseCutAt{section}'
 
 \<paused cut at\><<<
+\expandafter\let\csname OToc:#1\expandafter\endcsname\csname Toc:#1\endcsname
+\expandafter\let\csname Toc:#1\endcsname=\rela
 \expandafter\let\csname Cut:#1\endcsname=\null 
 \expandafter\def\csname Cut:#1\endcsname{%   
    \gHAdvance \TitleCount  1 



More information about the tex4ht-commits mailing list.