References to included articles
Hi,
In my dissertation the editor told me that the references in the text to included articles should be in form "Article I" or "Articles I, II". The list of included articles should only have the roman numerals. To achieve the correct article references, I created a new command, although I am not sure if this is the best way to do this:
\makeatletter
\newcommand{\articlecite}[1]{%
\def\tempcites{#1}%
\def\lastcite{}%
\@for\thiscite:=#1\do{\edef\lastcite{\thiscite}}% store last citation string
\@tempcnta=0
\@for\onecite:=#1\do{\advance\@tempcnta by 1}%
\ifnum\@tempcnta=1
Article~\cite{\tempcites}%
\else
Articles~%
\@for\onecite:=#1\do{%
\cite{\onecite}%
\edef\tempcompare{\onecite}%
\ifx\tempcompare\lastcite
% last item → do nothing
\else
,\ %
\fi
}%
\fi
}
\makeatother