[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: message update for \IfBooleanTF (1244f7d5)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon Jun 7 17:14:14 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : TL21-2-kernel-msgs
Link : https://github.com/latex3/latex2e/commit/1244f7d5d1d6df31e97da7ec0d4a02f34229e023
>---------------------------------------------------------------
commit 1244f7d5d1d6df31e97da7ec0d4a02f34229e023
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Jun 7 17:14:14 2021 +0200
message update for \IfBooleanTF
>---------------------------------------------------------------
1244f7d5d1d6df31e97da7ec0d4a02f34229e023
base/ltcmd.dtx | 3 ++-
base/testfiles-ltcmd/ltcmd004.luatex.tlg | 6 +++---
base/testfiles-ltcmd/ltcmd004.tlg | 6 +++---
base/testfiles-ltcmd/ltcmd005.luatex.tlg | 6 +++---
base/testfiles-ltcmd/ltcmd005.tlg | 6 +++---
5 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 907cad35..6c28f9e9 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3671,7 +3671,8 @@
% be expandable or not expandable.
% \begin{macrocode}
\msg_new:nnn { cmd } { if-boolean }
- { Invalid~use~\iow_char:N\\IfBooleanTF~{#1} }
+% { Invalid~use~\iow_char:N\\IfBooleanTF{#1}... }
+ { Invalid~argument~{#1}~to~\iow_char:N\\IfBoolean... }
\msg_new:nnnn { cmd } { loop-in-defaults }
{ Circular~dependency~in~defaults~of~#1. }
{
diff --git a/base/testfiles-ltcmd/ltcmd004.luatex.tlg b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
index d55155bb..5865a2b3 100644
--- a/base/testfiles-ltcmd/ltcmd004.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
@@ -940,7 +940,7 @@ TEST 31: IfBoolean multi token
============================================================
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {}
+ ! cmd: Invalid argument {} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -949,7 +949,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {}
+ ! cmd: Invalid argument {} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -959,7 +959,7 @@ and I'll forget about whatever was undefined.
FALSE
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {\ERROR \ERROR }
+ ! cmd: Invalid argument {\ERROR \ERROR } to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
diff --git a/base/testfiles-ltcmd/ltcmd004.tlg b/base/testfiles-ltcmd/ltcmd004.tlg
index 2b0f1654..958bc2f5 100644
--- a/base/testfiles-ltcmd/ltcmd004.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.tlg
@@ -940,7 +940,7 @@ TEST 31: IfBoolean multi token
============================================================
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {}
+ ! cmd: Invalid argument {} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -949,7 +949,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {}
+ ! cmd: Invalid argument {} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -959,7 +959,7 @@ and I'll forget about whatever was undefined.
FALSE
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {\ERROR \ERROR }
+ ! cmd: Invalid argument {\ERROR \ERROR } to \IfBoolean..
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
diff --git a/base/testfiles-ltcmd/ltcmd005.luatex.tlg b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
index c8dc8f61..72cc185c 100644
--- a/base/testfiles-ltcmd/ltcmd005.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
@@ -286,7 +286,7 @@ required.
LaTeX will ignore this entire definition.
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {foo}
+ ! cmd: Invalid argument {foo} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -296,7 +296,7 @@ and I'll forget about whatever was undefined.
FALSE
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {\foo }
+ ! cmd: Invalid argument {\foo } to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -305,7 +305,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {?}
+ ! cmd: Invalid argument {?} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
diff --git a/base/testfiles-ltcmd/ltcmd005.tlg b/base/testfiles-ltcmd/ltcmd005.tlg
index a5b7e663..f8ccd854 100644
--- a/base/testfiles-ltcmd/ltcmd005.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.tlg
@@ -286,7 +286,7 @@ required.
LaTeX will ignore this entire definition.
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {foo}
+ ! cmd: Invalid argument {foo} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -296,7 +296,7 @@ and I'll forget about whatever was undefined.
FALSE
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {\foo }
+ ! cmd: Invalid argument {\foo } to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -305,7 +305,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \::error
- ! cmd: Invalid use \IfBooleanTF {?}
+ ! cmd: Invalid argument {?} to \IfBoolean...
l. ... }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
More information about the latex3-commits
mailing list.