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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Mon Jul 27 13:20:53 CEST 2020


Author: michal_h21
Date: 2020-07-27 14:20:53 +0300 (Mon, 27 Jul 2020)
New Revision: 781

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-sty.tex
Log:
Don't patch \shipout command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-07-26 17:56:45 UTC (rev 780)
+++ trunk/lit/ChangeLog	2020-07-27 11:20:53 UTC (rev 781)
@@ -1,3 +1,8 @@
+2020-07-27  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-sty.tex (tex4ht.sty): don't patch \shipout command.
+	https://listserv.uni-heidelberg.de/cgi-bin/wa?A2=LATEX-L;d8558dd0.2007&S=
+
 2020-07-26  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht),

Modified: trunk/lit/tex4ht-sty.tex
===================================================================
--- trunk/lit/tex4ht-sty.tex	2020-07-26 17:56:45 UTC (rev 780)
+++ trunk/lit/tex4ht-sty.tex	2020-07-27 11:20:53 UTC (rev 781)
@@ -2938,12 +2938,16 @@
 
 
 
-The following is to ensure that no shipout of content is done before
-the header is out.
+> The following is to ensure that no shipout of content is done before
+> the header is out.
 
+Update 2020: patching of shipout is discouraged in LaTeX. I don't know what
+use case the following code has, but it seems that TeX4ht can safelly work 
+without it. We can introduce it back in the case of problems. -- Michal
+
 \<start html doc\><<<
-\let\:shipout|=\shipout
-\def\shipout{\vfil\break\let\shipout|=\:shipout \shipout}
+%\let\:shipout|=\shipout
+%\def\shipout{\vfil\break\let\shipout|=\:shipout \shipout}
 >>>
 
 



More information about the tex4ht-commits mailing list.