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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Aug 24 16:28:48 CEST 2021


Author: michal_h21
Date: 2021-08-24 14:28:48 +0000 (Tue, 24 Aug 2021)
New Revision: 976

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
undefine pdfffedback command for datetime2 package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-08-24 14:05:20 UTC (rev 975)
+++ trunk/lit/ChangeLog	2021-08-24 14:28:48 UTC (rev 976)
@@ -2,6 +2,9 @@
 
 	* tex4ht-4ht.tex (usepackage.4ht, hyperxmp.4ht,
 	hyperxmp-hooks.4ht): fixes for the Hyperxmp package.
+	* tex4ht-4ht.tex (usepackage.4ht, 
+	datetime2-hooks.4ht): undefine \pdffeedback command to prevent
+	compilation error.
 
 2021-08-22  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-08-24 14:05:20 UTC (rev 975)
+++ trunk/lit/tex4ht-4ht.tex	2021-08-24 14:28:48 UTC (rev 976)
@@ -31749,8 +31749,30 @@
 }
 
 >>>\AddFile{9}{hyperxmp-hooks}
+
+\Section{datetime2.sty}
  
+\<add to usepackage\><<<
+\Configure{PackageHooks}{datetime2.sty}{datetime2-hooks.4ht}
+>>>
 
+It seems that pdfffedback primitive is defined in the DVI mode
+in LuaTeX. This results in package loading error with the
+Datetime2 package. We make it temporarily undefined, in order
+to prevent execution of the failing code.
+
+\<datetime2-hooks.4ht\><<<
+% datetime2-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht copywrite|>
+% package redefinitions
+\let\orig:pdffeedback\pdffeedback
+\let\pdffeedback\@undefined
+\:AtEndOfPackage{
+\let\pdffeedback\orig:pdffeedback
+}
+>>>\AddFile{9}{datetime2-hooks}
+
 \Section{nicefrac.sty}
 
 \<nicefrac.4ht\><<<



More information about the tex4ht-commits mailing list.