diff --git a/Flag_of_Europe.png b/Flag_of_Europe.png new file mode 100644 index 0000000000000000000000000000000000000000..38e8a12d5543ac5ddca5baafe588e2a42b0981a1 Binary files /dev/null and b/Flag_of_Europe.png differ diff --git a/ODK_elected_logo.png b/ODK_elected_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..9be7c6f469ef4e4e86ff40f6e597cccc9c5fd733 Binary files /dev/null and b/ODK_elected_logo.png differ diff --git a/deliverablereport.cls b/deliverablereport.cls new file mode 100644 index 0000000000000000000000000000000000000000..5585479660d37977f87c3a1426e7d7ca20bfc541 --- /dev/null +++ b/deliverablereport.cls @@ -0,0 +1,67 @@ +\ProvidesClass{deliverablereport} + +% Specific to ODK +\newcommand{\prop@gen@proposalnumber}{676541} +\newcommand{\prop@gen@acronym}{\href{http://opendreamkit.org}{OpenDreamKit}} +\newcommand{\prop@gen@instrument}{H2020-EINFRA-2015-1} +\newcommand{\prop@gen@logo}{ODK_elected_logo.png} +\newcommand{\prop@gen@image}{Flag_of_Europe.png} + +\LoadClass[a4paper,twoside,12pt]{amsart} +\RequirePackage{hyperref} +\RequirePackage[utf8]{inputenc} +\RequirePackage{ae,aecompl,aeguill} % pour utiliser << et >> +\RequirePackage[french]{babel} +\RequirePackage{times} +\RequirePackage[babel=true,kerning=true]{microtype} +\RequirePackage[left=2.5cm, right=2.5cm, bottom=2.5cm, top=2.5cm]{geometry} +\RequirePackage{graphicx} +%\RequirePackage{pdata} + +% \input{../../Proposal/final.pdata} +% \input{../../Proposal/WApersons} + +\newcommand{\issue}[1]{\def\@issue{#1}} +\newcommand{\deliverydate}[1]{\def\@deliverydate{#1}} +\newcommand{\duedate}[1]{\def\@duedate{#1}} + +% Same as in eu/proposal.cls, but without an hyperlink (since it would +% point to a different document) +\newcommand\site[1]{\wa@ref{institution}{#1}{acronym}} +\newcommand\sitename[1]{\wa@ref{institution}{#1}{name}} + +\newcommand{\deliverable}[2]{ + \gdef\deliv@label{\csname deliv@#1#2@label\endcsname} + \gdef\deliv@title{\csname deliv@#1#2@title\endcsname} + \gdef\deliv@lead{\csname deliv@#1#2@lead\endcsname} + \def\@title{{Report on \deliv@label{},\\lead by \sitename{\deliv@lead} (\site{\deliv@lead}):\\\deliv@title}}% + \def\shorttitle{Report on \deliv@label}} + +\RequirePackage{fancyhdr} +\pagestyle{fancyplain} +%\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0.001pt} +\addtolength{\footskip}{\baselineskip} + +\fancyfoot[L]{\prop@gen@proposalnumber\quad \prop@gen@acronym} +\fancyfoot[C]{} +\fancyfoot[R]{\thepage} + +\fancyhead[RE,LO]{\includegraphics[height=2ex]{\prop@gen@image} \prop@gen@instrument } + +\let\oldmaketitle=\maketitle +\renewcommand{\maketitle}{ + \oldmaketitle% + \centerline{Due on: \@duedate} + \centerline{Delivered on: \@deliverydate} + \bigskip + \bigskip + \centerline{\includegraphics[height=30ex]{\prop@gen@logo}} + Progress on and finalization of this deliverable has been tracked + publicly on:\\ + \url{https://github.com/OpenDreamKit/OpenDreamKit/issues/\@issue} + \bigskip + \thispagestyle{fancyplain} +} + +\endinput diff --git a/pdata.sty b/pdata.sty new file mode 100644 index 0000000000000000000000000000000000000000..1441acdae44281e857ccb293f42cf9cfd1c877ad --- /dev/null +++ b/pdata.sty @@ -0,0 +1,127 @@ +%% +%% This is file `pdata.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% proposal.dtx (with options: `pdata') +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{pdata}[2015/01/14 v1.5 Project Data] +\RequirePackage{workaddress}[2011/05/03] +\RequirePackage{eurosym} +\newif\if@sites\@sitesfalse\let\prop@gen@sites=\relax% +\newcounter{@site}% +\define@key{prop@gen}{site}{\@sitestrue\@dmp{site=#1}% +\stepcounter{@site}\pdata@def{site}{#1}{number}{\the@site}% +\@ifundefined{prop@gen@sites}{\xdef\prop@gen@sites{#1}}{\xdef\prop@gen@sites{\prop@gen@sites,#1}}% +\define@key{prop@gen}{#1RM}{\pdata@def{site}{#1}{intendedRM}{##1}}% +\if@RAM\define@key{prop@gen}{#1RAM}{\pdata@def{site}{#1}{intendedRAM}{##1}}\fi +\define@key{workpackage}{#1RM}{\pdata@def\wp@id{#1}{RM}{##1}}% +\if@RAM\define@key{workpackage}{#1RAM}{\pdata@def\wp@id{#1}{RAM}{##1}}\fi +\define@key{prop@gen}{#1employed}{{\let\tabularnewline\relax\let\hline\relax\let\wa@ref\relax% +\@ifundefined{prop@gen@employed@lines}% +{\xdef\prop@gen@employed@lines{\wa@ref{institution}{#1}{shortname} & ##1\tabularnewline\hline}}% +{\xdef\prop@gen@employed@lines{\prop@gen@employed@lines \wa@ref{institution}{#1}{shortname} & ##1\tabularnewline\hline}}}}} +\define@key{prop@gen}{RM}{\@dmp{RM=#1}\if@sites% +\PackageWarning{Do not use the RM key in the presence of sites}\else% +\pdata@def{all}{intended}{RM}{#1}\fi} +\define@key{prop@gen}{RAM}{\@dmp{RAM=#1}\if@sites% +\PackageWarning{Do not use the RAM key in the presence of sites}\else% +\pdata@def{all}{intended}{RAM}{#1}\fi} +\define@key{prop@gen}{PI}{\@dmp{PI=#1}% +\@ifundefined{prop@gen@PIs}{\xdef\prop@gen@PIs{#1}}{\xdef\prop@gen@PIs{\prop@gen@PIs,#1}}} +\define@key{prop@gen}{pubspage}{\@ifundefined{prop@gen@pubspages}% +{\xdef\prop@gen@pubspages{#1}}{\xdef\prop@gen@pubspages{\prop@gen@pubspages,#1}}} +\define@key{prop@gen}{importfrom}{\message{importing proposal data from #1.pdata}\readpdata{#1}} +\define@key{prop@gen}{instrument}{\def\prop@gen@instrument{#1}% +\pdata@def{prop}{gen}{instrument}{#1}\@dmp{inst=#1}} +\define@key{prop@gen}{title}{\def\prop@gen@title{#1}% +\pdata@def{prop}{gen}{title}{#1}} +\define@key{prop@gen}{acronym}{\gdef\prop@gen@acronym{#1}% +\pdata@def{prop}{gen}{acronym}{#1}\@dmp{acro=#1}} +\define@key{prop@gen}{acrolong}{\def\prop@gen@acrolong{#1}% +\pdata@def{prop}{gen}{acrolong}{#1}} +\define@key{prop@gen}{discipline}{\def\prop@gen@discipline{#1}% +\pdata@def{prop}{gen}{discipline}{#1}} +\define@key{prop@gen}{areas}{\def\prop@gen@areas{#1}% +\pdata@def{prop}{gen}{areas}{#1}} +\define@key{prop@gen}{start}{\def\prop@gen@start{#1}% +\pdata@def{prop}{gen}{start}{#1}} +\define@key{prop@gen}{months}{\def\prop@gen@months{#1}% +\pdata@def{prop}{gen}{months}{#1}} +\define@key{prop@gen}{since}{\def\prop@gen@since{#1}% +\pdata@def{prop}{gen}{since}{#1}} +\define@key{prop@gen}{totalduration}{\def\prop@gen@totalduration{#1}% +\pdata@def{prop}{gen}{totalduration}{#1}} +\define@key{prop@gen}{fundsuntil}{\def\prop@gen@fundsuntil{#1}% +\pdata@def{prop}{gen}{fundsuntil}{#1}} +\define@key{prop@gen}{topdownPM}[true]{\def\prop@gen@topdownPM{#1}} +\define@key{prop@gen}{botupPM}[true]{\def\prop@gen@botupPM{#1}} +\define@key{prop@gen}{keywords}{\def\prop@gen@keywords{#1}} +\newcommand\prop@gen@acro@default{ACRONYM} +\def\prop@gen@acro{\prop@gen@acro@default} +\newcommand\prop@gen@months@default{???months???} +\def\prop@gen@months{\prop@gen@months@default} +\newcommand\prop@gen@title@default{???Proposal Title???} +\def\prop@gen@title{\prop@gen@title@default} +\newcommand\prop@gen@instrument@default{??? Instrument ???} +\def\prop@gen@instrument{\prop@gen@instrument@default} +\newcommand\prop@tl[2]{\xdef\tab@line{} +\@for\tl@ext:={#1}\do{\xdef\tab@line{\tab@line}} +\tab@line} +\def\prop@gen@compactht{false} +\define@key{prop@gen}{compactht}[true]{\def\prop@gen@compactht{#1}} +\newif\ifwork@areas\work@areastrue +\DeclareOption{noworkareas}{\work@areasfalse} +\ProcessOptions +\RequirePackage{xspace} +\newwrite\pdata@out +\newcommand\pdata@open[1]{\immediate\openout\pdata@out=#1.pdata} +\newcommand\pdata@close{\closeout\pdata@out} +\newcommand\readpdata[1]{\IfFileExists{#1.pdata} +{\message{proposal: Reading Project Data}\makeatletter\input{#1.pdata}\makeatother} +{proposal: No Project Data found, (forward) references may be compromized}} +\newcommand\pdata@target[3]{\hypertarget{#1@#2@target}{#3}} +\newcommand\pdata@def[4]{%\@pdata@def{#1}{#2}{#3}{#4}% + \protected@write\pdata@out{}{\string\@pdata@def{#1}{#2}{#3}{#4}}} +\newcommand\@pdata@def[4]{\expandafter\gdef\csname #1@#2@#3\endcsname{#4}} +\newcommand\pdataref[3]{\@ifundefined{#1@#2@#3}% + {\protect\G@refundefinedtrue\@latex@warning{#3 for #1 #2 undefined}??}% + {\csname #1@#2@#3\endcsname}}% +\newcommand\pdataref@aux[3]{\@ifundefined{#1@#2@#3}{??}{\csname #1@#2@#3\endcsname}}% +\newcommand\pdataref@num[3]{\@ifundefined{#1@#2@#3}{0}{\csname #1@#2@#3\endcsname}}% +\newcommand\pdataref@safe[3]{\@ifundefined{#1@#2@#3}{}{\csname #1@#2@#3\endcsname}}% +\newcommand\pdatarefFB[4]{\@ifundefined{#1@#2@#3}% +{\@ifundefined{#1@#2@#4}% +{\protect\G@refundefinedtrue\@latex@warning{both #3 and its fallback #4 undefined for #1 #2}??}% +{\csname #1@#2@#4\endcsname}} +{\csname #1@#2@#3\endcsname}} +\newcommand\pdataRef[3]{\@ifundefined{#1@#2@#3}% +{\protect\G@refundefinedtrue\@latex@warning{#3 for #1 #2 undefined}??}% +{\hyperlink{#1@#2@target}{\csname #1@#2@#3\endcsname}}} +\newcommand\pdataRefFB[4]{\@ifundefined{#1@#2@#3}% +{\@ifundefined{#1@#2@#4}% +{\protect\G@refundefinedtrue\@latex@warning{both #3 and its fallback #4 undefined for #1 #2}??}% +{\hyperlink{#1@#2@target}{\csname #1@#2@#4\endcsname}}} +{\hyperlink{#1@#2@target}{\csname #1@#2@#3\endcsname}}} +\newcommand\prop@count[1]{\ifcase #1 zero\or one\or two\or three\or four\or five\or six\or seven \or + eight\or nine\or ten\or eleven \or twelve\else#1\fi} +\newcommand\pdatacount[2]{\prop@count{\pdataref@num{#1}{#2}{count}}} +\newcommand\pn{\pdataref{prop}{gen}{acronym}\xspace} +\newcommand\pnlong{\pdataref{prop}{gen}{acrolong}\xspace} +\newcommand\WPref[1]{\pdataRef{wp}{#1}{label}} +\newcommand\WPtref[1]{\WPref{#1}: \pdataRefFB{wp}{#1}{short}{title}} +\ifwork@areas +\newcommand\WAref[1]{\pdataRef{wa}{#1}{label}} +\newcommand\WAtref[1]{\WAref{#1}: \pdataRefFB{wa}{#1}{short}{title}} +\fi +\newcommand{\signatures}[1]{\section{#1} +\qquad\number\day. \number\month. \number\year\\[6ex] +\strut\qquad Date\hfill\@for\@p:=\prop@gen@PIs\do{% +\wa@ref{person}\@p{personaltitle}~\wa@ref{person}\@p{name}\hfill}} +\def\@dmp#1{\ifkeys\marginpar{#1}\fi} +\renewcommand\euro{\officialeuro\xspace} +\endinput +%% +%% End of file `pdata.sty'. diff --git a/report.tex b/report.tex new file mode 100644 index 0000000000000000000000000000000000000000..231f89b5fc5fc66f1859d8c58ebeea0a7173a7c3 --- /dev/null +++ b/report.tex @@ -0,0 +1,18 @@ +\documentclass{deliverablereport} + +% Variant: we could just provide the deliverable label as in the +% proposal, and fetch all the information from final.pdata + +\deliverable{management}{infrastructure} +\issue{17} +\deliverydate{1/06/2016} +\duedate{1/06/2019 (M2)} +\author{Michael Kohlhase} +\begin{document} +\maketitle +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: