[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: More concise error help (65af48d2)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri Mar 17 04:12:31 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : hook-args
Link : https://github.com/latex3/latex2e/commit/65af48d285155085e47f7e214ad1dd4c41b7cb21
>---------------------------------------------------------------
commit 65af48d285155085e47f7e214ad1dd4c41b7cb21
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Fri Mar 17 00:12:31 2023 -0300
More concise error help
>---------------------------------------------------------------
65af48d285155085e47f7e214ad1dd4c41b7cb21
base/lthooks.dtx | 5 ++---
base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg | 2 +-
base/testfiles/tlb-latexrelease-rollback-003-often.tlg | 2 +-
base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg | 2 +-
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 46728346..14614f00 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -6790,9 +6790,8 @@
%<latexrelease> {
%<latexrelease> \@latex at error { Rollback~code~executed~twice }
%<latexrelease> {
-%<latexrelease> If~this~was~done~on~purpose~in~a~testing~
-%<latexrelease> environment,~then~there's~(hopefully)~nothing~
-%<latexrelease> to~worry.~Otherwise,~something~went~wrong.
+%<latexrelease> Something~went~wrong~(unless~this~was~
+%<latexrelease> done~on~purpose~in~a~testing~environment).
%<latexrelease> }
%<latexrelease> \use_none:nnnn
%<latexrelease> }
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index 380753e9..7dbc91e3 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -884,7 +884,7 @@ See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l. ...\cs:w __hook_rollback_tidying: \cs_end:
-If this was done on purpose in a testing environment, then there's (hopefully) nothing to worry. Otherwise, something went wrong.
+Something went wrong (unless this was done on purpose in a testing environment).
BEGIN module: ltcmdhooks (....-..-..) on input line ....
The hook management system for commands.
Skipping module ltcmdhooks on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index 084e6131..b788a40f 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -868,7 +868,7 @@ See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l. ...\cs:w __hook_rollback_tidying: \cs_end:
-If this was done on purpose in a testing environment, then there's (hopefully) nothing to worry. Otherwise, something went wrong.
+Something went wrong (unless this was done on purpose in a testing environment).
BEGIN module: ltcmdhooks (....-..-..) on input line ....
The hook management system for commands.
Skipping module ltcmdhooks on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
index b99c3e15..9151b8ab 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -877,7 +877,7 @@ See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l. ...\cs:w __hook_rollback_tidying: \cs_end:
-If this was done on purpose in a testing environment, then there's (hopefully) nothing to worry. Otherwise, something went wrong.
+Something went wrong (unless this was done on purpose in a testing environment).
BEGIN module: ltcmdhooks (....-..-..) on input line ....
The hook management system for commands.
Skipping module ltcmdhooks on input line ....
More information about the latex3-commits
mailing list.