diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-25 20:07:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-25 20:07:07 +0000 |
commit | f609a6a9f3adcbc22a015861e29f884a2da05abd (patch) | |
tree | 66a675fe8abc73c729840fcd3adf53d91ad398ef /Master/texmf-dist/source/generic | |
parent | df91fbc5bee02c3ec866bc4265c83d5af53ee9df (diff) |
hyperxml tex4ht r975; datetime2 tex4ht r976
git-svn-id: svn://tug.org/texlive/trunk@60323 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 63 |
2 files changed, 70 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 669da6deb7e..5b94888e6e3 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index f4481f9798e..0eb73250a3c 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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} |