Skip to content
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

\AddToHook broken in old lthooks release for undeclared hooks #1243

Closed
jlaurens opened this issue Jan 16, 2024 · 0 comments
Closed

\AddToHook broken in old lthooks release for undeclared hooks #1243

jlaurens opened this issue Jan 16, 2024 · 0 comments

Comments

@jlaurens
Copy link
Contributor

Brief outline of the bug

The problem also appears in today's developer branch.

Minimal example showing the bug

\nonstopmode
\RequirePackage{latexbug}       % <--should be always 
%\RequirePackage[2020-10-01]{latexrelease} % ⟵uncomment one of these to see the bug
%\RequirePackage[2021-06-01]{latexrelease} % ⟵uncomment one of these to see the bug
%\NewHook{FOO} % ⟵uncomment to avoid the bug
\AddToHook{FOO}{BAR}
\typeout{DONE}
\stop

Log file (required) and possibly PDF file

2.log

jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 16, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 16, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`

Update lthooks-show.sty
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 16, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`

Update lthooks-show.sty
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 16, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`

Update lthooks-show.sty
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 16, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`

Update lthooks-show.sty
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 16, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`

Update lthooks-show.sty
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 19, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`

Update lthooks-show.sty
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 19, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 19, 2024
The underlying purpose is to change the `\ShowHook` output.
- `lthooks-show_20-10.lvt` is frozen at the 2020-10-01 release, no arguments in hooks (see issue latex3#1243)
- `lthooks-show.lvt` is for next changes in `\ShowHook`
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 22, 2024
- `lthooks-show_2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 22, 2024
- `lthooks-show_2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 23, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 24, 2024
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 26, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 26, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jan 30, 2024
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jun 4, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jun 5, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jun 5, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jun 6, 2024
* Test file to demonstrate the latex3#1243 issue

* Fixed
jlaurens added a commit to jlaurens/latex2e that referenced this issue Jun 6, 2024
- `lthooks-show-2020-10-01.lvt` is frozen at the 2020-10-01 release,
  no arguments in hooks
- `update-lthooks-tests.sh` includes the above test
- `lthooks-show.sty` is a library of test helpers. They will be used by
  forthcoming tests, as well as completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant