fix error message on wrong keys

This commit is contained in:
Maximilian Keßler 2022-01-23 16:34:32 +01:00
parent d8ce6d2c04
commit 82b6372e4c

View file

@ -1069,7 +1069,7 @@
thmtools .clist_set:N = \l_@@_key_thmtools_clist,
thmtools .default:n = {},
unknown .code:n =
\msg_error:nnn { groupthm } { unknown ~ key } { \l_keys_key_str }
\msg_error:nnx { groupthm } { unknown ~ key } { \str_use:N \l_keys_key_str }
}
\keys_define:nn { groupthm / grouped ~ theorem }
{
@ -1082,7 +1082,7 @@
starred ~ version .bool_set:N = \l_@@_key_starred_version_bool,
starred ~ version .default:n = { true },
unknown .code:n =
\msg_error:nnn { groupthm } { unknown ~ key } { \l_keys_key_str }
\msg_error:nnx { groupthm } { unknown ~ key } { \str_use:N \l_keys_key_str }
}
\keys_define:nn { groupthm / theorem ~ family }
{
@ -1095,14 +1095,14 @@
starred ~ version .bool_set:N = \l_@@_key_starred_version_bool,
starred ~ version .default:n = { true },
unknown .code:n =
\msg_error:nnn { groupthm } { unknown ~ key } { \l_keys_key_str }
\msg_error:nnx { groupthm } { unknown ~ key } { \str_use:N \l_keys_key_str }
}
\keys_define:nn { groupthm / theorem ~ family ~ options }
{
starred ~ version .bool_set:N = \l_@@_key_starred_version_bool,
starred ~ version .default:n = { true },
unknown .code:n =
\msg_error:nnn { groupthm } { unknown ~ key } { \l_keys_key_str }
\msg_error:nnx { groupthm } { unknown ~ key } { \str_use:N \l_keys_key_str }
}
% \end{macrocode}
%