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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Mon Sep 21 15:45:57 CEST 2020


Author: michal_h21
Date: 2020-09-21 16:45:57 +0300 (Mon, 21 Sep 2020)
New Revision: 798

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed eso-pic issue

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-09-18 22:20:15 UTC (rev 797)
+++ trunk/lit/ChangeLog	2020-09-21 13:45:57 UTC (rev 798)
@@ -1,3 +1,9 @@
+2020-09-21  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht): use \providecommand instead of
+	\newcommand in order to prevent errors when eso-pic package is required
+	multiple times.
+
 2020-09-18  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-unicode.tex (unicode.4ht): don't use combining characters for

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-09-18 22:20:15 UTC (rev 797)
+++ trunk/lit/tex4ht-4ht.tex	2020-09-21 13:45:57 UTC (rev 798)
@@ -3586,14 +3586,14 @@
 \<add to usepackage\><<<
 \def\:temp{eso-pic}\ifx \@currname\:temp
 \:dontusepackage{eso-pic}
-\newcommand\AddToShipoutPicture{\@ifstar\@gobble\@gobble}
+\providecommand\AddToShipoutPicture{\@ifstar\@gobble\@gobble}
 \let\AddToShipoutPictureBG\AddToShipoutPicture
 \let\AddToShipoutPictureFG\AddToShipoutPicture
 \let\ClearShipoutPictureBG\relax
 \let\ClearShipoutPictureFG\relax
 \let\ClearShipoutPicture\relax
 \providecommand*\LenToUnit[1]{}
-\newcommand\gridSetup[6][]{}
+\providecommand\gridSetup[6][]{}
 \fi
 >>>
 



More information about the tex4ht-commits mailing list.