Proposal: added support for "status" and "blog" metadata for deliverables + one example of usage
This commit is contained in:
parent
aa81161d2c
commit
16a570c50c
@ -419,6 +419,8 @@
|
||||
\define@key{deliv}{short}{\def\deliv@short{#1}}
|
||||
\define@key{deliv}{lead}{\def\deliv@lead{#1}}
|
||||
\define@key{deliv}{issue}{\def\deliv@issue{#1}}
|
||||
\define@key{deliv}{status}{\def\deliv@status{#1}}
|
||||
\define@key{deliv}{blog}{\def\deliv@blog{#1}}
|
||||
\newcounter{deliverable}
|
||||
\newcommand{\wpg@deliv}[3]{% keys, title, type
|
||||
\stepcounter{deliverable}
|
||||
@ -443,8 +445,10 @@
|
||||
\@ifundefined{deliv@lead}
|
||||
{\protect\G@refundefinedtrue\@latex@warning{key 'lead' for Deliv \wpg@id undefined}}
|
||||
{\pdata@def{deliv}{\taskin\deliv@id\wpg@id}{lead}{\deliv@lead}}
|
||||
\@ifundefined{deliv@due}{}{%
|
||||
\@ifundefined{deliv@issue}{}{\pdata@def{deliv}{\taskin\deliv@id\wpg@id}{issue}{\deliv@issue}}
|
||||
\@ifundefined{deliv@status}{}{\pdata@def{deliv}{\taskin\deliv@id\wpg@id}{status}{\deliv@status}}
|
||||
\@ifundefined{deliv@blog}{}{\pdata@def{deliv}{\taskin\deliv@id\wpg@id}{blog}{\deliv@blog}}
|
||||
\@ifundefined{deliv@due}{}{%
|
||||
\@for\@I:=\deliv@due\do{\protected@write\wpg@delivs{}{\string\deliverable%
|
||||
{\ifnum\@I<10 0\@I\else\@I\fi}% sort key
|
||||
{\@I}% due date
|
||||
|
Loading…
Reference in New Issue
Block a user