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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Oct 17 11:14:23 CEST 2020


Author: michal_h21
Date: 2020-10-17 12:14:22 +0300 (Sat, 17 Oct 2020)
New Revision: 817

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

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-10-17 09:11:03 UTC (rev 816)
+++ trunk/lit/ChangeLog	2020-10-17 09:14:22 UTC (rev 817)
@@ -6,6 +6,8 @@
 	the new package hook mechanism.
 	* tex4ht-4ht.tex (usepackage.4ht, caption-hooks.4ht): adapted Caption for
 	the new package hook mechanism.
+	* tex4ht-4ht.tex (usepackage.4ht, pdfbase-hooks.4ht): adapted Pdfbase for
+	the new package hook mechanism.
 
 2020-10-16  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-10-17 09:11:03 UTC (rev 816)
+++ trunk/lit/tex4ht-4ht.tex	2020-10-17 09:14:22 UTC (rev 817)
@@ -4172,20 +4172,19 @@
 %%%%%%%%%%%%%%%%%%
 \Section{pdfbase.sty}
 %%%%%%%%%%%%%%%%%%
-\<use package\><<<
-pdfbase,>>>
-%%%%%%%%%%%%%%%%%%
 
 The pdfbase package redefines \`|\@outputpage| macro, which causes tex4ht patches to fail.
 
 \<add to usepackage\><<<
-\def\:temp{pdfbase}\ifx\@currname\:temp
+\Configure{PackageHooks}{pdfbase.sty}{pdfbase-hooks.4ht}
+>>>
+
+\<pdfbase-hooks.4ht\><<<
 \:AtEndOfPackage{%
   \let\old:outputpage\@outputpage
   \def\@outputpage{\old:outputpage{}}
 }
-\fi
->>>
+>>> \AddFile{9}{pdfbase-hooks}
 
 %%%%%%%%%%%%%%%%%
 \Section{animate.sty}



More information about the tex4ht-commits mailing list.