[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Case changer setup shows in hook (75a1d755)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 21 11:09:54 CET 2022


On 21/02/2022 08:44, Frank Mittelbach wrote:
> Am 21.02.22 um 09:17 schrieb Joseph Wright:
>>
>>      Case changer setup shows in hook
>>
> 
> 
> that suggests that we should move it into the corresponding kernel hook 
> perhaps.
> 
> Not urgent but on the whole I think we should make sure that the kernel 
> does not fill "begindocument" hook --- we do have
> 
>   \@kernel at before@begindocument
>    \UseOneTimeHook{begindocument}%
>    \@kernel at after@begindocument
> 
> for precisely that reason
> 
> frank

My understanding was that the \@kernel hooks should only be used

- for 'absolutely non-skippable' code
- by the kernel, i.e. latex.ltx directly

So by both criteria it's ruled out here: usage is by expl3 not 
latex.ltx, and the functionality here is nice not essential (i.e. if 
it's skipped, basic code doesn't break).

Joseph


More information about the latex3-commits mailing list.