diff --git a/src/environments/groupthm.pysty3 b/src/environments/groupthm.pysty3 index e1882a0..71bd0cd 100644 --- a/src/environments/groupthm.pysty3 +++ b/src/environments/groupthm.pysty3 @@ -31,12 +31,12 @@ __HEADER__(Grouping theorems for easier customization.) \msg_new:nnn { groupthm } { unknown ~ key } { - Unknown ~ key ~ #1 ~ supplied ~ \msg_line_context: + Unknown ~ key ~ '#1' ~ supplied ~ \msg_line_context: } \msg_new:nnn { groupthm } { unknown ~ group } { - Unknown ~ group ~ #1 ~ supplied ~ \msg_line_context: + Unknown ~ group ~ '#1' ~ supplied ~ \msg_line_context: } %%% Variables @@ -76,7 +76,8 @@ __HEADER__(Grouping theorems for easier customization.) mapname .groups:n = { theoremgroup }, thmtools .clist_set:N = \l_groupthm_thmtools_clist, thmtools .default:n = {}, - thmtools .groups:n = { theoremgroup, groupedtheorem, theoremvariants } + thmtools .groups:n = { theoremgroup, groupedtheorem, theoremvariants }%, +% unknown .code:n = \msg_error:nnn { groupthm } { unknown ~ group } { \l_keys_key_str } } @@ -202,6 +203,8 @@ __HEADER__(Grouping theorems for easier customization.) \new_grouped_theorem_from_keys:nn { #2 } { #1 } } + + %%% Default groups available \NewTheoremGroup