diff --git a/base/proposal.dtx b/base/proposal.dtx index cc69b2a..3e691af 100644 --- a/base/proposal.dtx +++ b/base/proposal.dtx @@ -326,6 +326,8 @@ % \item In multi-site proposals the \DescribeMacro{lead} |lead| key specifies the work % package or work area lead, the value of this feature should be the short name of the % respective partner. +% \item In multi-site proposals the number of sites can be written as +% |\pdatacount{all}{site}|. % \item For work packages with many prospers the \DescribeMacro{swsites}|swsites| key % can be given (no value needed) to turn the site names sideways to conserve % (horizontal) space. @@ -929,7 +931,8 @@ \newcounter{@PIs} \@ifundefined{prop@gen@PIs}{}{\@for\@I:=\prop@gen@PIs\do{\stepcounter{@PIs}}} \newcounter{@sites} -\@ifundefined{prop@gen@sites}{}{\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}}} +\@ifundefined{prop@gen@sites}{}{\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}} +\pdata@def{all}{site}{count}{\the@site}} \setcounter{page}{0} \begin{prop@proposal}} % \end{macrocode} diff --git a/base/proposal.pdf b/base/proposal.pdf index 4313d6a..e4fe36b 100644 Binary files a/base/proposal.pdf and b/base/proposal.pdf differ diff --git a/base/proposal.sty b/base/proposal.sty index 1d7417b..45f0e28 100644 --- a/base/proposal.sty +++ b/base/proposal.sty @@ -105,7 +105,8 @@ \newcounter{@PIs} \@ifundefined{prop@gen@PIs}{}{\@for\@I:=\prop@gen@PIs\do{\stepcounter{@PIs}}} \newcounter{@sites} -\@ifundefined{prop@gen@sites}{}{\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}}} +\@ifundefined{prop@gen@sites}{}{\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}} +\pdata@def{all}{site}{count}{\the@site}} \setcounter{page}{0} \begin{prop@proposal}} {\end{prop@proposal}