diff --git a/lni.cls b/lni.cls index b900c39..7bab59b 100644 --- a/lni.cls +++ b/lni.cls @@ -380,9 +380,9 @@ \newcommand{\@multiaffil}[1]{% \ifcsundef{@emailsandorcids#1}{\csgdef{@emailsandorcids#1}{}}{}% \ifcsempty{@emailsandorcids#1}% - {\csgappto{@emailsandorcids#1}{% + {\protected@csxappto{@emailsandorcids#1}{% \if\relax\@currEmail\relax\else\email{\@currEmail}\fi\if\relax\@currOrcid\relax\else,\ \orcid{\@currOrcid}\fi}}% - {\csgappto{@emailsandorcids#1}{% + {\protected@csxappto{@emailsandorcids#1}{% \if\relax\@currEmail\relax\else;\ \email{\@currEmail}\fi\if\relax\@currOrcid\relax\else,\ \orcid{\@currOrcid}\fi}}% } diff --git a/lni.dtx b/lni.dtx index c98e055..27d0bd1 100644 --- a/lni.dtx +++ b/lni.dtx @@ -1160,9 +1160,9 @@ This work consists of the file lni.dtx \newcommand{\@multiaffil}[1]{% \ifcsundef{@emailsandorcids#1}{\csgdef{@emailsandorcids#1}{}}{}% \ifcsempty{@emailsandorcids#1}% - {\csgappto{@emailsandorcids#1}{% + {\protected@csxappto{@emailsandorcids#1}{% \if\relax\@currEmail\relax\else\email{\@currEmail}\fi\if\relax\@currOrcid\relax\else,\ \orcid{\@currOrcid}\fi}}% - {\csgappto{@emailsandorcids#1}{% + {\protected@csxappto{@emailsandorcids#1}{% \if\relax\@currEmail\relax\else;\ \email{\@currEmail}\fi\if\relax\@currOrcid\relax\else,\ \orcid{\@currOrcid}\fi}}% }