making wps cancelable, updating the strep, so that it has canceled tasks and deliverables

This commit is contained in:
Michael Kohlhase 2017-09-23 18:04:36 +02:00
parent cec3eb9303
commit f4c375d073
5 changed files with 11 additions and 5 deletions

View File

@ -1044,6 +1044,7 @@
\define@key{workpackage}{short}{\pdata@def{wp}\wp@id{short}{#1}} \define@key{workpackage}{short}{\pdata@def{wp}\wp@id{short}{#1}}
\define@key{workpackage}{lead}{\pdata@def{wp}\wp@id{lead}{#1}\def\wp@lead{#1}\@dmp{lead=#1}} \define@key{workpackage}{lead}{\pdata@def{wp}\wp@id{lead}{#1}\def\wp@lead{#1}\@dmp{lead=#1}}
\define@key{workpackage}{type}{\def\wp@type{#1}\pdata@def{wp}\wp@id{type}{#1}} \define@key{workpackage}{type}{\def\wp@type{#1}\pdata@def{wp}\wp@id{type}{#1}}
\define@key{workpackage}{status}{\def\wp@status{#1}\pdata@def{wp}\wp@id{status}{#1}}
\define@key{workpackage}{wphases}{\def\wp@wphases{#1}\pdata@def{wp}\wp@id{wphases}{#1}} \define@key{workpackage}{wphases}{\def\wp@wphases{#1}\pdata@def{wp}\wp@id{wphases}{#1}}
\define@key{workpackage}{swsites}[true]{\def\wp@swsites{#1}} \define@key{workpackage}{swsites}[true]{\def\wp@swsites{#1}}
% \end{macrocode} % \end{macrocode}
@ -1144,7 +1145,8 @@
\if@RAM\edef\@RAM{\pdataref@num\wp@id\@site{RAM}}\addtocounter{wp@RAM}{\@RAM}\fi} \if@RAM\edef\@RAM{\pdataref@num\wp@id\@site{RAM}}\addtocounter{wp@RAM}{\@RAM}\fi}
\pdata@def{wp}\wp@id{RM}{\thewp@RM}% \pdata@def{wp}\wp@id{RM}{\thewp@RM}%
\if@RAM\pdata@def{wp}\wp@id{RAM}{\thewp@RAM}\fi% \if@RAM\pdata@def{wp}\wp@id{RAM}{\thewp@RAM}\fi%
\fi}% if@sites \fi% if@sites
\ifx\wp@status\@@status@canceled\color{lightgray}\fi}
{\@ifundefined{@tasks}{}{\pdata@def{\wp@id}{task}{ids}\@tasks}} {\@ifundefined{@tasks}{}{\pdata@def{\wp@id}{task}{ids}\@tasks}}
% \end{macrocode} % \end{macrocode}
% \end{environment} % \end{environment}
@ -1162,7 +1164,8 @@
\else\subsubsection*{{\wptitle} (\wprm)}\fi% \else\subsubsection*{{\wptitle} (\wprm)}\fi%
\addcontentsline{toc}{paragraph}{{\wp@mk@title\thewp}: \pdataref{wp}\wp@id{title}}% \addcontentsline{toc}{paragraph}{{\wp@mk@title\thewp}: \pdataref{wp}\wp@id{title}}%
\noindent\ignorespaces% \noindent\ignorespaces%
\fi} \fi
\ifx\wp@status\@@status@canceled\color{lightgray}\fi}
{\end{work@package}} {\end{work@package}}
% \end{macrocode} % \end{macrocode}
% \end{environment} % \end{environment}

Binary file not shown.

View File

@ -141,6 +141,7 @@
\define@key{workpackage}{short}{\pdata@def{wp}\wp@id{short}{#1}} \define@key{workpackage}{short}{\pdata@def{wp}\wp@id{short}{#1}}
\define@key{workpackage}{lead}{\pdata@def{wp}\wp@id{lead}{#1}\def\wp@lead{#1}\@dmp{lead=#1}} \define@key{workpackage}{lead}{\pdata@def{wp}\wp@id{lead}{#1}\def\wp@lead{#1}\@dmp{lead=#1}}
\define@key{workpackage}{type}{\def\wp@type{#1}\pdata@def{wp}\wp@id{type}{#1}} \define@key{workpackage}{type}{\def\wp@type{#1}\pdata@def{wp}\wp@id{type}{#1}}
\define@key{workpackage}{status}{\def\wp@status{#1}\pdata@def{wp}\wp@id{status}{#1}}
\define@key{workpackage}{wphases}{\def\wp@wphases{#1}\pdata@def{wp}\wp@id{wphases}{#1}} \define@key{workpackage}{wphases}{\def\wp@wphases{#1}\pdata@def{wp}\wp@id{wphases}{#1}}
\define@key{workpackage}{swsites}[true]{\def\wp@swsites{#1}} \define@key{workpackage}{swsites}[true]{\def\wp@swsites{#1}}
\newcommand\wp@mk@title[1]{Work Package {#1}} \newcommand\wp@mk@title[1]{Work Package {#1}}
@ -192,7 +193,8 @@
\if@RAM\edef\@RAM{\pdataref@num\wp@id\@site{RAM}}\addtocounter{wp@RAM}{\@RAM}\fi} \if@RAM\edef\@RAM{\pdataref@num\wp@id\@site{RAM}}\addtocounter{wp@RAM}{\@RAM}\fi}
\pdata@def{wp}\wp@id{RM}{\thewp@RM}% \pdata@def{wp}\wp@id{RM}{\thewp@RM}%
\if@RAM\pdata@def{wp}\wp@id{RAM}{\thewp@RAM}\fi% \if@RAM\pdata@def{wp}\wp@id{RAM}{\thewp@RAM}\fi%
\fi}% if@sites \fi% if@sites
\ifx\wp@status\@@status@canceled\color{lightgray}\fi}
{\@ifundefined{@tasks}{}{\pdata@def{\wp@id}{task}{ids}\@tasks}} {\@ifundefined{@tasks}{}{\pdata@def{\wp@id}{task}{ids}\@tasks}}
\newenvironment{workpackage}[1][]% \newenvironment{workpackage}[1][]%
{\begin{work@package}[#1]% {\begin{work@package}[#1]%
@ -201,7 +203,8 @@
\else\subsubsection*{{\wptitle} (\wprm)}\fi% \else\subsubsection*{{\wptitle} (\wprm)}\fi%
\addcontentsline{toc}{paragraph}{{\wp@mk@title\thewp}: \pdataref{wp}\wp@id{title}}% \addcontentsline{toc}{paragraph}{{\wp@mk@title\thewp}: \pdataref{wp}\wp@id{title}}%
\noindent\ignorespaces% \noindent\ignorespaces%
\fi} \fi
\ifx\wp@status\@@status@canceled\color{lightgray}\fi}
{\end{work@package}} {\end{work@package}}
\newcommand\wptitle{\wp@mk@title{\wp@num}: \pdata@target{wp}{\wp@id}{\pdataref{wp}\wp@id{title}}} \newcommand\wptitle{\wp@mk@title{\wp@num}: \pdata@target{wp}{\wp@id}{\pdataref{wp}\wp@id{title}}}
\newcommand\wprm{\pdataref@safe{wp}\wp@id{RM}\if@RAM\ RM+\pdataref{wp}\wp@id{RAM} RAM\fi} \newcommand\wprm{\pdataref@safe{wp}\wp@id{RM}\if@RAM\ RM+\pdataref{wp}\wp@id{RAM} RAM\fi}

Binary file not shown.

View File

@ -1,6 +1,6 @@
\begin{workpackage}[id=management,type=MGT,wphases=0-24!.2, \begin{workpackage}[id=management,type=MGT,wphases=0-24!.2,
title=Project Management,short=Management, title=Project Management,short=Management,
jacuRM=2,barRM=2,efoRM=2,bazRM=2,lead=jacu] jacuRM=2,barRM=2,efoRM=2,bazRM=2,lead=jacu,status=canceled]
We can state the state of the art and similar things before the summary in the boxes We can state the state of the art and similar things before the summary in the boxes
here. here.
\wpheadertable \wpheadertable