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

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


Author: michal_h21
Date: 2021-08-24 14:05:20 +0000 (Tue, 24 Aug 2021)
New Revision: 975

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
support for the hyperxmp package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-08-22 16:06:00 UTC (rev 974)
+++ trunk/lit/ChangeLog	2021-08-24 14:05:20 UTC (rev 975)
@@ -1,3 +1,8 @@
+2021-08-24  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht, hyperxmp.4ht,
+	hyperxmp-hooks.4ht): fixes for the Hyperxmp package.
+
 2021-08-22  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (siunitx.4ht),

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2021-08-22 16:06:00 UTC (rev 974)
+++ trunk/lit/Makefile	2021-08-24 14:05:20 UTC (rev 975)
@@ -106,7 +106,7 @@
   fontspec.4ht fontspec-4ht.lua fontspec-luatex.4ht fontspec-xetex.4ht \
     footmisc.4ht framed.4ht frenchb.4ht floatpag.4ht \
   geometry.4ht graphics.4ht graphicx.4ht \
-  hyperref.4ht \
+  hyperref.4ht hyperxmp.4ht \
   imakeidx.4ht \
   jurabib.4ht \
   latex.4ht lettrine.4ht listings.4ht longtable.4ht \

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2021-08-22 16:06:00 UTC (rev 974)
+++ trunk/lit/mktex4ht-cnf.tex	2021-08-24 14:05:20 UTC (rev 975)
@@ -285,6 +285,7 @@
 \AddFile{9}{2up}
 \AddFile{9}{web}
 \AddFile{9}{exerquiz}
+\AddFile{9}{hyperxmp}
 \AddFile{9}{nicefrac}
 \AddFile{9}{multicol}
 \AddFile{2}{lettrine}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-08-22 16:06:00 UTC (rev 974)
+++ trunk/lit/tex4ht-4ht.tex	2021-08-24 14:05:20 UTC (rev 975)
@@ -31710,6 +31710,45 @@
 % \AtEndOfPackage{\AtBeginDocument{\let\a:form\origa:Form}}
 >>>\AddFile{9}{exerquiz-hooks}
 
+\Section{hyperxmp.sty}
+
+
+We want to prevent execution of PDF related commands from 
+Hyperxmp.
+
+\<hyperxmp.4ht\><<<
+% hyperxmp.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht copywrite|>
+\renewcommand*{\hyxmp at use@first at valid}[3]{}
+\let\hyxmp at embed@packet\relax
+\Hinput{hyperxmp}
+\endinput
+>>>\AddFile{9}{hyperxmp}
+
+
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{hyperxmp.sty}{hyperxmp-hooks.4ht}
+>>>
+
+It seems that pdfffedback primitive is defined in the DVI mode
+in LuaTeX. This results in package loading error with the
+Hyperxmp package. We make it temporarily undefined, in order
+to prevent execution of the failing code.
+
+\<hyperxmp-hooks.4ht\><<<
+% hyperxmp-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}{hyperxmp-hooks}
  
 
 \Section{nicefrac.sty}



More information about the tex4ht-commits mailing list.