[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: integrate \begin \end \AtBeginDocument updates (021e619d)

Phelype Oleinik tex.phelype at gmail.com
Sat Aug 15 19:48:07 CEST 2020


>
> +\ExplSyntaxOn
> +\def\@execute at begin@hook #1{
> +  \expandafter\ifx\csname #1\endcsname\document
> +    \endgroup
> +    \gdef\@execute at begin@hook##1{\UseHook{env/##1/begin}}
> +    \__hook_initialize_all:
> +  \fi
>

Is \__hook_initialize_all: used here only? (can't check now) If so, perhaps
we could rename it \@hook at initialize@all@@ or something like that and avoid
mixing syntaxes here...

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/latex3-commits/attachments/20200815/0f049928/attachment.html>


More information about the latex3-commits mailing list.