From 0abe0129e553be9cfceadaba09e359b3d39c47e7 Mon Sep 17 00:00:00 2001 From: Martin Sievers Date: Tue, 23 Jul 2024 16:11:37 +0200 Subject: [PATCH] Fix #173 --- lni.cls | 4 ++-- lni.dtx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lni.cls b/lni.cls index 1a98028..dca0ea7 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 257f0d4..493892f 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}}% }