summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hopatch
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-08 03:01:28 +0000
committerNorbert Preining <norbert@preining.info>2023-01-08 03:01:28 +0000
commit7d5553601ccc6f3feed4f9563a6270739bd4da54 (patch)
tree5439910db3631d3200f0f7df70e3d8707ab146cf /macros/latex/contrib/hopatch
parentc946b2e792715f6030486d5214be1df081de37a8 (diff)
CTAN sync 202301080301
Diffstat (limited to 'macros/latex/contrib/hopatch')
-rw-r--r--macros/latex/contrib/hopatch/README.md10
-rw-r--r--macros/latex/contrib/hopatch/hopatch.dtx30
-rw-r--r--macros/latex/contrib/hopatch/hopatch.pdfbin304161 -> 327701 bytes
3 files changed, 24 insertions, 16 deletions
diff --git a/macros/latex/contrib/hopatch/README.md b/macros/latex/contrib/hopatch/README.md
index 6d8cea38fc..7cb0a755a0 100644
--- a/macros/latex/contrib/hopatch/README.md
+++ b/macros/latex/contrib/hopatch/README.md
@@ -1,6 +1,6 @@
# hopatch package for LaTeX
-Version: 2020-08-01 v1.4
+Version: 2023-01-07 v1.5
This packages provides a wrapper to various package hooks
provided by other packages or classes, but does not define
@@ -9,9 +9,11 @@ hook provided by the kernel.
-## Copyright (C)
-* 2007, 2009-2011 Heiko Oberdiek
-* 2016-2020 Oberdiek Package Support Group
+% Copyright (C)
+% 2009-2011 Heiko Oberdiek
+% 2016-2023 Oberdiek Package Support Group
+% https://github.com/ho-tex/hopatch/issues
+
## License
LATEX Project Public License, version 1.3c or later.
diff --git a/macros/latex/contrib/hopatch/hopatch.dtx b/macros/latex/contrib/hopatch/hopatch.dtx
index 8071f7456e..7ef29bf16b 100644
--- a/macros/latex/contrib/hopatch/hopatch.dtx
+++ b/macros/latex/contrib/hopatch/hopatch.dtx
@@ -1,12 +1,12 @@
% \iffalse meta-comment
%
% File: hopatch.dtx
-% Version: 2020-08-01 v1.4
+% Version: 2023-01-07 v1.5
% Info: Wrapper for package hooks
%
% Copyright (C)
% 2011, 2012 Heiko Oberdiek
-% 2016-2020 Oberdiek Package Support Group
+% 2016-2023 Oberdiek Package Support Group
% https://github.com/ho-tex/hopatch/issues
%
% This work may be distributed and/or modified under the
@@ -80,7 +80,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hopatch 2020-08-01 v1.4 Wrapper for package hooks (HO)}
+\Msg{* Package: hopatch 2023-01-07 v1.5 Wrapper for package hooks (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -92,11 +92,11 @@
This is a generated file.
Project: hopatch
-Version: 2020-08-01 v1.4
+Version: 2023-01-07 v1.5
Copyright (C)
2011, 2012 Heiko Oberdiek
- 2016-2020 Oberdiek Package Support Group
+ 2016-2023 Oberdiek Package Support Group
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -158,7 +158,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hopatch.drv}%
- [2020-08-01 v1.4 Wrapper for package hooks (HO)]%
+ [2023-01-07 v1.5 Wrapper for package hooks (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\usepackage{caption}
@@ -176,7 +176,7 @@ and the derived files
% \GetFileInfo{hopatch.drv}
%
% \title{The \xpackage{hopatch} package}
-% \date{2020-08-01 v1.4}
+% \date{2023-01-07 v1.5}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/hopatch/issues}}}
%
@@ -196,8 +196,11 @@ and the derived files
% \begin{declcs}{hopatch@AfterPackage} \M{package} \M{patch code}
% \end{declcs}
%
-% will use the kernel \texttt{package/after/\meta{package}} hook if a
-% LaTeX format later then 2020/20/01 is detected. This can mean that the
+% will use a generic file hook from the kernel if a
+% LaTeX format later then 2020/20/01 is detected
+% (\texttt{package/after/\meta{package}} in version 1.4,
+% \texttt{package/\meta{package}/after} in version 1.5).
+% This can mean that the
% hook code is executed earlier than with version 1.3 (but always after the
% \meta{package}.
% If \meta{package} is already loaded, the \meta{patch code} is executed
@@ -312,7 +315,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hopatch}%
- [2020-08-01 v1.4 Wrapper for package hooks (HO)]
+ [2023-01-07 v1.5 Wrapper for package hooks (HO)]
% \end{macrocode}
% \begin{macrocode}
\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
@@ -323,7 +326,7 @@ and the derived files
\@ifpackageloaded{#1}{%
\@firstofone
}{%
- \AddToHook{package/after/#1}%
+ \AddToHook{package/#1/after}%
}}
% \end{macrocode}
@@ -383,7 +386,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hopatch}%
- [2020-08-01 v1.4 Wrapper for package hooks / legacy code (v1.3) (HO)]
+ [2023-01-07 v1.5 Wrapper for package hooks / legacy code (v1.3) (HO)]
% \end{macrocode}
%
% \subsection{Resources}
@@ -734,6 +737,9 @@ and the derived files
% \item Starting with this version the package will use the hooks provided
% by the LaTeX kernel if the format is newer than 2020/10/01.
% \end{Version}
+% \begin{Version}{2023-01-07 v1.5}
+% \item Correct the name of the package hook
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/macros/latex/contrib/hopatch/hopatch.pdf b/macros/latex/contrib/hopatch/hopatch.pdf
index 9e53875a7e..99426f8314 100644
--- a/macros/latex/contrib/hopatch/hopatch.pdf
+++ b/macros/latex/contrib/hopatch/hopatch.pdf
Binary files differ