diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-chemnum.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-chemnum.sty | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemnum.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemnum.sty index 2dc1d945060..478cd42d89d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemnum.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemnum.sty @@ -20,8 +20,7 @@ \ExplSyntaxOn -\cs_undefine:N \chemnum_compound_write:n -\cs_new_protected:Npn \chemnum_compound_write:n #1 +\cs_gset_protected:Npn \chemnum_compound_write:n #1 { \chemnum_get_compound_property:nn {#1} {pre-main-label-code} \group_begin: @@ -37,8 +36,7 @@ \chemnum_get_compound_property:nn {#1} {post-main-label-code} } -\cs_undefine:N \chemnum_subcompound_write:nn -\cs_new_protected:Npn \chemnum_subcompound_write:nn #1#2 +\cs_gset_protected:Npn \chemnum_subcompound_write:nn #1#2 { \group_begin: \bool_if:NTF \l__chemnum_compound_local_bool |