From 16a570c50c75719a7358d813c70c92e602266956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20M=2E=20Thi=C3=A9ry?= Date: Tue, 14 Mar 2017 17:24:27 +0100 Subject: [PATCH] Proposal: added support for "status" and "blog" metadata for deliverables + one example of usage --- base/proposal.sty | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/proposal.sty b/base/proposal.sty index e484721..5df614e 100644 --- a/base/proposal.sty +++ b/base/proposal.sty @@ -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