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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Oct 17 10:59:06 CEST 2020


Author: michal_h21
Date: 2020-10-17 11:59:05 +0300 (Sat, 17 Oct 2020)
New Revision: 814

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Adapted graphics for the new package hook mechanism

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-10-16 20:38:43 UTC (rev 813)
+++ trunk/lit/ChangeLog	2020-10-17 08:59:05 UTC (rev 814)
@@ -1,3 +1,8 @@
+2020-10-17  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht, graphics-hooks.4ht): adapted Graphics for
+	the new package hook mechanism.
+
 2020-10-16  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-cond4ht.tex (cond4ht.4ht, docbook.4ht, html0.4ht, html32.4ht,

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-10-16 20:38:43 UTC (rev 813)
+++ trunk/lit/tex4ht-4ht.tex	2020-10-17 08:59:05 UTC (rev 814)
@@ -25507,13 +25507,18 @@
 graphics,>>>
 
 \<add to usepackage\><<<
-\def\:temp{graphics}\ifx\@currname\:temp
-  \ifdefined\XeTeXversion
-    \PassOptionsToPackage{dvips}{graphics}
-  \fi
-\fi
+\Configure{PackageHooks}{graphics.sty}{graphics-hooks.4ht}
 >>>
 
+\<graphics-hooks.4ht\><<<
+% graphics-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2020 TeX Users Group
+|<TeX4ht license text|>
+\ifdefined\XeTeXversion
+  \PassOptionsToPackage{dvips}{graphics}
+\fi
+>>> \AddFile{9}{graphics-hooks}
+
 %%%%%%%%%%%%%%%%%%%%%%%
 \SubSection{graphicx}
 %%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.