From f609a6a9f3adcbc22a015861e29f884a2da05abd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 25 Aug 2021 20:07:07 +0000 Subject: hyperxml tex4ht r975; datetime2 tex4ht r976 git-svn-id: svn://tug.org/texlive/trunk@60323 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 8 +++ .../source/generic/tex4ht/tex4ht-4ht.tex | 63 +++++++++++++++++++++- .../tex/generic/tex4ht/datetime2-hooks.4ht | 28 ++++++++++ .../tex/generic/tex4ht/hyperxmp-hooks.4ht | 29 ++++++++++ Master/texmf-dist/tex/generic/tex4ht/hyperxmp.4ht | 26 +++++++++ .../texmf-dist/tex/generic/tex4ht/usepackage.4ht | 6 ++- 6 files changed, 157 insertions(+), 3 deletions(-) create mode 100644 Master/texmf-dist/tex/generic/tex4ht/datetime2-hooks.4ht create mode 100644 Master/texmf-dist/tex/generic/tex4ht/hyperxmp-hooks.4ht create mode 100644 Master/texmf-dist/tex/generic/tex4ht/hyperxmp.4ht 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 + + * 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 * 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 (|version), generated from |jobname.tex +% Copyright 2021 TeX Users Group +| +\renewcommand*{\hyxmp@use@first@valid}[3]{} +\let\hyxmp@embed@packet\relax +\Hinput{hyperxmp} +\endinput +>>>\AddFile{9}{hyperxmp} + + + +\<<< +\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 (|version), generated from |jobname.tex +% Copyright 2021 TeX Users Group +| +% package redefinitions +\let\orig:pdffeedback\pdffeedback +\let\pdffeedback\@undefined +\:AtEndOfPackage{ +\let\pdffeedback\orig:pdffeedback +} + +>>>\AddFile{9}{hyperxmp-hooks} + +\Section{datetime2.sty} +\<<< +\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 (|version), generated from |jobname.tex +% Copyright 2021 TeX Users Group +| +% package redefinitions +\let\orig:pdffeedback\pdffeedback +\let\pdffeedback\@undefined +\:AtEndOfPackage{ +\let\pdffeedback\orig:pdffeedback +} +>>>\AddFile{9}{datetime2-hooks} \Section{nicefrac.sty} diff --git a/Master/texmf-dist/tex/generic/tex4ht/datetime2-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/datetime2-hooks.4ht new file mode 100644 index 00000000000..7a4d325c7c6 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/datetime2-hooks.4ht @@ -0,0 +1,28 @@ +% datetime2-hooks.4ht (2021-08-24-17:04), generated from tex4ht-4ht.tex +% Copyright 2021 TeX Users Group +% Copyright 2009-2021 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project . +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2021-08-24-17:04} + +% package redefinitions +\let\orig:pdffeedback\pdffeedback +\let\pdffeedback\@undefined +\:AtEndOfPackage{ +\let\pdffeedback\orig:pdffeedback +} + diff --git a/Master/texmf-dist/tex/generic/tex4ht/hyperxmp-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/hyperxmp-hooks.4ht new file mode 100644 index 00000000000..90f724a6726 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/hyperxmp-hooks.4ht @@ -0,0 +1,29 @@ +% hyperxmp-hooks.4ht (2021-08-24-17:04), generated from tex4ht-4ht.tex +% Copyright 2021 TeX Users Group +% Copyright 2009-2021 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project . +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2021-08-24-17:04} + +% package redefinitions +\let\orig:pdffeedback\pdffeedback +\let\pdffeedback\@undefined +\:AtEndOfPackage{ +\let\pdffeedback\orig:pdffeedback +} + + diff --git a/Master/texmf-dist/tex/generic/tex4ht/hyperxmp.4ht b/Master/texmf-dist/tex/generic/tex4ht/hyperxmp.4ht new file mode 100644 index 00000000000..8bbee7cca9f --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/hyperxmp.4ht @@ -0,0 +1,26 @@ +% hyperxmp.4ht (2021-08-24-17:04), generated from tex4ht-4ht.tex +% Copyright 2021 TeX Users Group +% Copyright 2009-2021 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project . +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2021-08-24-17:04} + +\renewcommand*{\hyxmp@use@first@valid}[3]{} +\let\hyxmp@embed@packet\relax +\Hinput{hyperxmp} +\endinput + diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht index 85c6c4f5453..3a073281863 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht @@ -1,4 +1,4 @@ -% usepackage.4ht (2021-05-06-14:39), generated from tex4ht-4ht.tex +% usepackage.4ht (2021-08-24-17:04), generated from tex4ht-4ht.tex % Copyright 2003-2009 Eitan M. Gurari % Copyright 2009-2021 TeX Users Group % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-05-06-14:39} +\immediate\write-1{version 2021-08-24-17:04} \def\:temp{tex4ht}\ifx \:temp\@currname \:warning{\string\usepackage{tex4ht} again?} @@ -67,6 +67,8 @@ \Configure{PackageHooks}{imakeidx.sty}{imakeidx-hooks.4ht} \Configure{PackageHooks}{fancyhdr.sty}{fancyhdr-hooks.4ht} \Configure{PackageHooks}{exerquiz.sty}{exerquiz-hooks.4ht} +\Configure{PackageHooks}{hyperxmp.sty}{hyperxmp-hooks.4ht} +\Configure{PackageHooks}{datetime2.sty}{datetime2-hooks.4ht} \endinput -- cgit v1.2.3