diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 8 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 63 |
2 files changed, 70 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 669da6deb7..5b94888e6e 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,11 @@ +2021-08-24 Michal Hoftich <michal.h21@gmail.com> + + * 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@gmail.com> * tex4ht-4ht.tex (siunitx.4ht), diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index f4481f9798..0eb73250a3 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 974 2021-08-22 16:06:00Z michal_h21 $ +% $Id: tex4ht-4ht.tex 976 2021-08-24 14:28:48Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2021 TeX Users Group @@ -31710,7 +31710,68 @@ We must fix some exerquiz issues before we load the package itself. % \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@use@first@valid}[3]{} +\let\hyxmp@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{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} |