-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\ShowHook
does not recognize generic hooks
#1220
Comments
This issue has been automatically marked as stale because it has not had recent activity. |
Did one of your suggested improvements to |
The last paragraph of section 2.6 Generic hooks says (bold style added by me)
So it seems to me it works as expected that code \ShowHook{babel/french/afterextras}
\ActivateGenericHook{babel/french/afterextras}
\ShowHook{babel/french/afterextras} writes to log -> The hook 'babel/french/afterextras':
> The hook is not declared.
> The hook is empty.
<recently read> }
l.5 \ShowHook{babel/french/afterextras}
-> The hook 'babel/french/afterextras':
> The hook is empty.
<recently read> }
l.7 \ShowHook{babel/french/afterextras} |
@josephwright @muzimuzhi |
Maybe "generic" hooks other than |
Or call cmd, env, file, include, package, and class related hook "builtin generic hooks" and call the other generic ones "custom generic hooks"? |
Brief outline of the bug
According to section 2.6 Generic hooks provided by packages of lthooks.pdf,
babel/⟨language⟩/afterextras
is a generic hook, but that is not what gives\ShowHook
Actually, hooks are either
Either
\ActivateGenericHook
should make the hook generic if it is not already a generic hook, or the correct hook categorization should beand
\ShowHook
only recognizes thebuiltin generic
.The documentation should be amended in both cases.
Minimal example showing the bug
Log file (required) and possibly PDF file
2.log
The text was updated successfully, but these errors were encountered: