diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex index 3be548df8ed..8f8a98f8d95 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex @@ -94,13 +94,13 @@ \tl_set:Nn \l__chemmacros_reaction_lorname_tl { \chemmacros_translate:n {reaction} } \tl_set:Nn \reactionlistname { \chemmacros_translate:n {list-of-reactions} } -\keys_define:nn {chemmacros/reactions} +\chemmacros_define_keys:nn {reactions} { list-name .tl_set:N = \reactionlistname , list-entry .tl_set:N = \l__chemmacros_reaction_lorname_tl , } \ChemCompatibilityFrom{5.2} -\keys_define:nn {chemmacros/reactions} +\chemmacros_define_keys:nn {reactions} { list-heading-cmd .code:n = \cs_set_protected:Npn \__chemmacros_reaction_heading:n ##1 {#1} @@ -109,11 +109,11 @@ \cs_if_exist:NTF \chapter { - \keys_set:nn {chemmacros/reactions} + \chemmacros_set_keys:nn {reactions} { list-heading-cmd = \chapter* {#1} } } { - \keys_set:nn {chemmacros/reactions} + \chemmacros_set_keys:nn {reactions} { list-heading-cmd = \section* {#1} } } |