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 },
|
postname .groups:n = { theoremgroup },
|
||||||
group .clist_set:N = \l_groupthm_key_group_clist,
|
group .clist_set:N = \l_groupthm_key_group_clist,
|
||||||
group .default:n = {},
|
group .default:n = {},
|
||||||
group .groups:n = { groupedtheorem },
|
group .groups:n = { groupedtheorem, theoremvariants },
|
||||||
mapname .clist_set:N = \l_groupthm_mapname_clist,
|
mapname .clist_set:N = \l_groupthm_mapname_clist,
|
||||||
mapname .default:n = {},
|
mapname .default:n = {},
|
||||||
mapname .groups:n = { theoremgroup },
|
mapname .groups:n = { theoremgroup },
|
||||||
|
@ -321,7 +321,7 @@ __HEADER__(Grouping theorems for easier customization.)
|
||||||
% envname, keys
|
% envname, keys
|
||||||
\cs_new:Npn \generate_theorem_variants_from_keys:nn #1 #2
|
\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 }
|
\keys_set_groups:nnn { groupthm } { theoremvariants } { #2 }
|
||||||
|
|
||||||
\tl_if_eq:NnTF \l_groupthm_key_name_tl { \c_novalue_tl }
|
\tl_if_eq:NnTF \l_groupthm_key_name_tl { \c_novalue_tl }
|
||||||
|
|
|
@ -8,14 +8,6 @@
|
||||||
|
|
||||||
\usepackage{mkessler-groupthm}
|
\usepackage{mkessler-groupthm}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\NewGroupedTheorem
|
|
||||||
[
|
|
||||||
group = {dagger, star}
|
|
||||||
]{test}
|
|
||||||
|
|
||||||
|
|
||||||
\GenerateTheoremVariants[ group = {star, dagger} ]{example}
|
\GenerateTheoremVariants[ group = {star, dagger} ]{example}
|
||||||
|
|
||||||
\DeclareTheoremVariants{example} { !s !t+ }
|
\DeclareTheoremVariants{example} { !s !t+ }
|
||||||
|
@ -53,7 +45,5 @@
|
||||||
test
|
test
|
||||||
\end{example*}
|
\end{example*}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
Loading…
Reference in a new issue