Skip to content

Commit

Permalink
message update for \IfBooleanTF
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Jun 7, 2021
1 parent fdfbe4f commit 1244f7d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion base/ltcmd.dtx
Expand Up @@ -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. }
{
Expand Down
6 changes: 3 additions & 3 deletions base/testfiles-ltcmd/ltcmd004.luatex.tlg
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions base/testfiles-ltcmd/ltcmd004.tlg
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions base/testfiles-ltcmd/ltcmd005.luatex.tlg
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions base/testfiles-ltcmd/ltcmd005.tlg
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1244f7d

Please sign in to comment.