From 1244f7d5d1d6df31e97da7ec0d4a02f34229e023 Mon Sep 17 00:00:00 2001 From: Frank Mittelbach Date: Mon, 7 Jun 2021 17:14:14 +0200 Subject: [PATCH] message update for \IfBooleanTF --- 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 907cad356..6c28f9e91 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 d55155bbc..5865a2b30 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. \::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. \::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. \::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 2b0f16541..958bc2f5d 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. \::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. \::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. \::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 c8dc8f619..72cc185c9 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. \::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. \::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. \::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 a5b7e6630..f8ccd854b 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. \::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. \::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. \::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