[latex3-commits] [git/LaTeX3-latex3-latex2e] copyedits-chris: Final changes to ltfilehook.dtx (a6e0549c)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Sep 10 10:31:01 CEST 2021


Chris

> @@ -724,10 +724,10 @@
>   % \hook{class/} or \hook{package/} and end with \hook{/before} or
>   % \hook{/after} (or \hook{/end} in case of \hook{include/}).
>   % They are all generic
> -% so will be automatically declared when code is added to them.
> +% so will be declared only if code is added to them.
>   %
>   % Those named \hook{.../after} and \texttt{include/.../end}
> -% are, when code is added, automatically declared as reversed hooks.
> +% are, when code is added, declared as reversed hooks.
>   %

I had readded "automatically" last time and commented on it separately. 
I think the word should be added because it is otherwise not clear that 
this declaration is behind the scene and not to be done by the user. 
While technically correct as it is now a reader has to think twice that 
he doesn't need to do the declaration and in fact with cmd/... hooks 
making the mistake of saying \NewHook is deadly.

frank


More information about the latex3-commits mailing list.