making task titles optiona and removing duplicate verif key on milestone
This commit is contained in:
parent
9534f53254
commit
55b2d73812
@ -404,13 +404,11 @@
|
|||||||
\newcounter{milestone}
|
\newcounter{milestone}
|
||||||
\define@key{milestone}{id}{\gdef\mile@id{#1}}
|
\define@key{milestone}{id}{\gdef\mile@id{#1}}
|
||||||
\define@key{milestone}{month}{\gdef\mile@month{#1}}
|
\define@key{milestone}{month}{\gdef\mile@month{#1}}
|
||||||
\define@key{milestone}{verif}{\gdef\mile@verif{#1}}
|
|
||||||
\newcommand\milestone[3][]{%
|
\newcommand\milestone[3][]{%
|
||||||
\ifdelivs%
|
\ifdelivs%
|
||||||
\setkeys{milestone}{#1}\stepcounter{milestone}%
|
\setkeys{milestone}{#1}\stepcounter{milestone}%
|
||||||
\pdata@def{mile}\mile@id{label}{\milestone@label{\themilestone}}%
|
\pdata@def{mile}\mile@id{label}{\milestone@label{\themilestone}}%
|
||||||
\pdata@def{mile}\mile@id{month}{\mile@month}%
|
\pdata@def{mile}\mile@id{month}{\mile@month}%
|
||||||
\pdata@def{mile}\mile@id{verif}{\mile@verif}%
|
|
||||||
\pdata@def{mile}\mile@id{title}{#2}%
|
\pdata@def{mile}\mile@id{title}{#2}%
|
||||||
\pdata@def{mile}\mile@id{description}{#3}%
|
\pdata@def{mile}\mile@id{description}{#3}%
|
||||||
\@ifundefined{mile@stones}%
|
\@ifundefined{mile@stones}%
|
||||||
@ -466,7 +464,7 @@
|
|||||||
\define@key{task}{PM}{\def\task@PM{#1}}
|
\define@key{task}{PM}{\def\task@PM{#1}}
|
||||||
\define@key{task}{issue}{\def\task@issue{#1}}
|
\define@key{task}{issue}{\def\task@issue{#1}}
|
||||||
\def\task@set#1{\edef\task@id{task\thetask@all}
|
\def\task@set#1{\edef\task@id{task\thetask@all}
|
||||||
\def\task@wphases{0-0}\def\task@partners{}\def\task@lead{}\def\task@PM{}
|
\def\task@wphases{0-0}\def\task@partners{}\def\task@lead{}\def\task@PM{}\def\task@title{}
|
||||||
\setkeys{task}{#1}}
|
\setkeys{task}{#1}}
|
||||||
\def\task@post@title@space{\;}
|
\def\task@post@title@space{\;}
|
||||||
\newcounter{alltasks}
|
\newcounter{alltasks}
|
||||||
@ -476,7 +474,7 @@
|
|||||||
\newenvironment{task}[1][]%
|
\newenvironment{task}[1][]%
|
||||||
{\stepcounter{alltasks}%
|
{\stepcounter{alltasks}%
|
||||||
\@task{#1}\item[\pdata@target{task}{\taskin\task@id\wp@id}{\task@label\thewp\thetask@wp}]%
|
\@task{#1}\item[\pdata@target{task}{\taskin\task@id\wp@id}{\task@label\thewp\thetask@wp}]%
|
||||||
\@ifundefined{task@title}{}{\textbf\task@title}\task@post@title@space%
|
\ifx\task@title\@empty\textbf\task@title\fi\task@post@title@space%
|
||||||
\def\@initial{0-0}\ifx\task@wphases\@initial\else%
|
\def\@initial{0-0}\ifx\task@wphases\@initial\else%
|
||||||
\let\@@sep=\relax\@for\@I:=\task@wphases%
|
\let\@@sep=\relax\@for\@I:=\task@wphases%
|
||||||
\do{\decode@wphase\@I%
|
\do{\decode@wphase\@I%
|
||||||
|
@ -1429,13 +1429,11 @@
|
|||||||
\newcounter{milestone}
|
\newcounter{milestone}
|
||||||
\define@key{milestone}{id}{\gdef\mile@id{#1}}
|
\define@key{milestone}{id}{\gdef\mile@id{#1}}
|
||||||
\define@key{milestone}{month}{\gdef\mile@month{#1}}
|
\define@key{milestone}{month}{\gdef\mile@month{#1}}
|
||||||
\define@key{milestone}{verif}{\gdef\mile@verif{#1}}
|
|
||||||
\newcommand\milestone[3][]{%
|
\newcommand\milestone[3][]{%
|
||||||
\ifdelivs%
|
\ifdelivs%
|
||||||
\setkeys{milestone}{#1}\stepcounter{milestone}%
|
\setkeys{milestone}{#1}\stepcounter{milestone}%
|
||||||
\pdata@def{mile}\mile@id{label}{\milestone@label{\themilestone}}%
|
\pdata@def{mile}\mile@id{label}{\milestone@label{\themilestone}}%
|
||||||
\pdata@def{mile}\mile@id{month}{\mile@month}%
|
\pdata@def{mile}\mile@id{month}{\mile@month}%
|
||||||
\pdata@def{mile}\mile@id{verif}{\mile@verif}%
|
|
||||||
\pdata@def{mile}\mile@id{title}{#2}%
|
\pdata@def{mile}\mile@id{title}{#2}%
|
||||||
\pdata@def{mile}\mile@id{description}{#3}%
|
\pdata@def{mile}\mile@id{description}{#3}%
|
||||||
\@ifundefined{mile@stones}%
|
\@ifundefined{mile@stones}%
|
||||||
@ -1546,7 +1544,7 @@
|
|||||||
\define@key{task}{PM}{\def\task@PM{#1}}
|
\define@key{task}{PM}{\def\task@PM{#1}}
|
||||||
\define@key{task}{issue}{\def\task@issue{#1}}
|
\define@key{task}{issue}{\def\task@issue{#1}}
|
||||||
\def\task@set#1{\edef\task@id{task\thetask@all}
|
\def\task@set#1{\edef\task@id{task\thetask@all}
|
||||||
\def\task@wphases{0-0}\def\task@partners{}\def\task@lead{}\def\task@PM{}
|
\def\task@wphases{0-0}\def\task@partners{}\def\task@lead{}\def\task@PM{}\def\task@title{}
|
||||||
\setkeys{task}{#1}}
|
\setkeys{task}{#1}}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
@ -1566,7 +1564,7 @@
|
|||||||
\newenvironment{task}[1][]%
|
\newenvironment{task}[1][]%
|
||||||
{\stepcounter{alltasks}%
|
{\stepcounter{alltasks}%
|
||||||
\@task{#1}\item[\pdata@target{task}{\taskin\task@id\wp@id}{\task@label\thewp\thetask@wp}]%
|
\@task{#1}\item[\pdata@target{task}{\taskin\task@id\wp@id}{\task@label\thewp\thetask@wp}]%
|
||||||
\@ifundefined{task@title}{}{\textbf\task@title}\task@post@title@space%
|
\ifx\task@title\@empty\textbf\task@title\fi\task@post@title@space%
|
||||||
\def\@initial{0-0}\ifx\task@wphases\@initial\else%
|
\def\@initial{0-0}\ifx\task@wphases\@initial\else%
|
||||||
\let\@@sep=\relax\@for\@I:=\task@wphases%
|
\let\@@sep=\relax\@for\@I:=\task@wphases%
|
||||||
\do{\decode@wphase\@I%
|
\do{\decode@wphase\@I%
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -28,6 +28,13 @@
|
|||||||
\addmetakey*{wa@person}{worktelfax}
|
\addmetakey*{wa@person}{worktelfax}
|
||||||
\addmetakey*{wa@person}{privtelfax}
|
\addmetakey*{wa@person}{privtelfax}
|
||||||
\def\wa@def#1#2#3#4{\expandafter\xdef\csname wa@#1@#2@#3\endcsname{#4}}
|
\def\wa@def#1#2#3#4{\expandafter\xdef\csname wa@#1@#2@#3\endcsname{#4}}
|
||||||
|
\def\wa@ref@test#1#2#3{%
|
||||||
|
\@ifundefined{wa@#1@#2@#3}{%
|
||||||
|
\PackageError{workaddress}{reference to undefined #3 of #1 #2}%
|
||||||
|
{you must define a #1 with #2=#3\MessageBreak%
|
||||||
|
via the macro \protect\WA#1, before you can use it!}
|
||||||
|
}{}%
|
||||||
|
}%
|
||||||
\newcommand\wa@ref[4]{%
|
\newcommand\wa@ref[4]{%
|
||||||
\@ifundefined{wa@#2@#3@#4}{%
|
\@ifundefined{wa@#2@#3@#4}{%
|
||||||
\ifcase#1 {}\or%
|
\ifcase#1 {}\or%
|
||||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
lThis directory contains examples for EU proposals and reports marked up with the
|
This directory contains examples for EU proposals and reports marked up with the
|
||||||
proposal/euproposal class.
|
proposal/euproposal class.
|
||||||
|
|
||||||
strep: a STREP
|
strep: a STREP
|
||||||
|
Binary file not shown.
@ -55,7 +55,7 @@
|
|||||||
\end{proposal}
|
\end{proposal}
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
%%% Local Variables:
|
%%% Local pVariables:
|
||||||
%%% mode: LaTeX
|
%%% mode: LaTeX
|
||||||
%%% TeX-master: t
|
%%% TeX-master: t
|
||||||
%%% End:
|
%%% End:
|
||||||
|
Loading…
Reference in New Issue
Block a user