fix missing bug of keys getting set wrongly
This commit is contained in:
parent
4fb0894674
commit
ed41616c4a
2 changed files with 2 additions and 12 deletions
|
@ -79,7 +79,7 @@ __HEADER__(Grouping theorems for easier customization.)
|
|||
postname .groups:n = { theoremgroup },
|
||||
group .clist_set:N = \l_groupthm_key_group_clist,
|
||||
group .default:n = {},
|
||||
group .groups:n = { groupedtheorem },
|
||||
group .groups:n = { groupedtheorem, theoremvariants },
|
||||
mapname .clist_set:N = \l_groupthm_mapname_clist,
|
||||
mapname .default:n = {},
|
||||
mapname .groups:n = { theoremgroup },
|
||||
|
@ -321,7 +321,7 @@ __HEADER__(Grouping theorems for easier customization.)
|
|||
% envname, keys
|
||||
\cs_new:Npn \generate_theorem_variants_from_keys:nn #1 #2
|
||||
{
|
||||
\keys_set_groups:nnn { groupthm } { theoremvariants } { name, thmtools }
|
||||
\keys_set_groups:nnn { groupthm } { theoremvariants } { name, thmtools, group }
|
||||
\keys_set_groups:nnn { groupthm } { theoremvariants } { #2 }
|
||||
|
||||
\tl_if_eq:NnTF \l_groupthm_key_name_tl { \c_novalue_tl }
|
||||
|
|
|
@ -8,14 +8,6 @@
|
|||
|
||||
\usepackage{mkessler-groupthm}
|
||||
|
||||
|
||||
|
||||
\NewGroupedTheorem
|
||||
[
|
||||
group = {dagger, star}
|
||||
]{test}
|
||||
|
||||
|
||||
\GenerateTheoremVariants[ group = {star, dagger} ]{example}
|
||||
|
||||
\DeclareTheoremVariants{example} { !s !t+ }
|
||||
|
@ -54,6 +46,4 @@
|
|||
\end{example*}
|
||||
|
||||
|
||||
|
||||
|
||||
\end{document}
|
||||
|
|
Loading…
Reference in a new issue