summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hopatch/hopatch.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hopatch/hopatch.dtx')
-rw-r--r--macros/latex/contrib/hopatch/hopatch.dtx30
1 files changed, 18 insertions, 12 deletions
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