[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks-doc-updates: added changes entries (eea9285b)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Aug 20 11:58:42 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : lthooks-doc-updates
Link : https://github.com/latex3/latex2e/commit/eea9285b77fa6218989c62665d52761ce1bed5ef
>---------------------------------------------------------------
commit eea9285b77fa6218989c62665d52761ce1bed5ef
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Aug 20 11:58:42 2021 +0200
added changes entries
>---------------------------------------------------------------
eea9285b77fa6218989c62665d52761ce1bed5ef
base/changes.txt | 13 +++++++++++++
base/lthooks.dtx | 15 ++++++++++++---
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 37cf376b..e89d1ca2 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,19 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2021-08-20 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * lthooks.dtx:
+ Documentation updates for generic hook commands (gh/638).
+
+ Deprecate \hook_disable:n, \hook_provide:n,
+ \hook_provide_reversed:n, \hook_provide_pair:nn,
+ \DisableHook, \ProvideHook, \ProvideReversedHook,
+ and \ProvideMirroredHookPair.
+
+ Instead: \hook_activate_generic:n, \hook_disable_generic:n,
+ \ActivateGenericHook and \DisableGenericHook.
+
2021-08-12 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* lthooks.dtx (subsubsection{Generic hooks for all environments}):
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index fdb9e938..7ff2d712 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
%%% From File: lthooks.dtx
%
% \begin{macrocode}
-\def\lthooksversion{v1.0o}
-\def\lthooksdate{2021/08/12}
+\def\lthooksversion{v1.0p}
+\def\lthooksdate{2021/08/20}
% \end{macrocode}
%
%<*driver>
@@ -186,6 +186,8 @@
% to provide support for special use cases mainly involving
% generic command hooks.
%
+% \changes{v1.0p}{2021/08/20}{Documentation updates for generic hook commands (gh/638)}
+%
% \begin{function}{\DisableGenericHook}
% \begin{syntax}
% \cs{DisableGenericHook} \Arg{hook}
@@ -1345,6 +1347,8 @@
% \subsection{Generic hooks provided by packages}
% \label{sec:generic-hooks}
%
+% \changes{v1.0p}{2021/08/20}{Section on generic hooks added (gh/638)}
+%
% The hook management system also implements a category of hooks
% that are called \enquote{Generic Hooks}. Normally a hook has to
% be explicitly declared before it can be used in code. This
@@ -2522,6 +2526,8 @@
%
% \subsubsection{Disabling and providing hooks}
%
+% \changes{v1.0p}{2021/08/20}{Renames of generic hook commands (gh/638)}
+%
% \begin{macro}{\hook_disable_generic:n}
% \begin{macro}{\@@_disable:n}
% \begin{macro}[pTF]{\@@_if_disabled:n}
@@ -5049,7 +5055,10 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \subsection{Deprecated that needs cleanup \ldots}
+% \subsection{Deprecated that needs cleanup at some point}
+%
+% \changes{v1.0p}{2021/08/20}{Added deprecation warnings for
+% old generic hook commands (gh/638)}
%
% \begin{macro}{
% \hook_disable:n,
More information about the latex3-commits
mailing list.