initial commit moving here from svn

This commit is contained in:
Michael Kohlhase 2014-02-15 12:01:14 +01:00
parent e1c9c126fd
commit 7f3c8b0ebc
109 changed files with 8791 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
SRCDIRS =
DOCDIRS = eu/examples dfg/examples
DTXDIRS = base dfg eu
MAKEDIRS = $(DTXDIRS)
TDSCOLL ?= $(shell basename $$PWD)
DISTDIRS = $(DTXDIRS)
all clean distclean:
@for d in $(MAKEDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
package doc filedate checksum enablechecksum disablechecksum:
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done
TDSURL = https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal
TDS.src =
TDS.doc = README
TDS.src =
include lib/Makefile.ctan
echo:
echo $(DISTDIRS)

20
README Normal file
View File

@ -0,0 +1,20 @@
*proposal.cls: A set of LaTeX classes for preparing proposals for collaborative projects
The base proposal class supports many of the general elemenst of project proposals. It is
optimized towards collaborate projects. This class is intended to be specialized to
particular funding bodies that have their own styles.
MANIFEST:
base: the base proposal class
dfg: the instance for Deutsche Forschungsgemeinschaft
eu: the instance for EU proposals
etc: style files from the sTeX bundle added for convenience
(only in SVN, not on CTAN)
lib: Makefiles for the management of self-documenting packages
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal

18
base/Makefile Normal file
View File

@ -0,0 +1,18 @@
PREFIX = ../lib
PACKAGE = base
TDSCOLL = proposal
DTX.cls.base = proposal
TDS.tex = reporting.cls pdata.sty
CTAN = $(TDS.tex)
REDUNDANT = dcm.sty metakeys.sty sref.sty
all: package doc
include $(PREFIX)/Makefile.vars
TEXINPUTS = .:
include $(PREFIX)/Makefile.in
echo:
echo $(PACKAGEDATE)

12
base/README Normal file
View File

@ -0,0 +1,12 @@
proposal.cls: A class for preparing proposals for collaborative projects
The proposal class supports many of the general elemenst of project proposals. It is
optimized towards collaborate projects. This class is intended to be specialized to
particular funding bodies that have their own styles.
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal

110
base/pdata.sty Normal file
View File

@ -0,0 +1,110 @@
%%
%% 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}[2013/02/19 v1.4 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}}
\newcommand\prop@gen@acro{ACRONYM}
\newcommand\prop@gen@months{???}
\newcommand\prop@gen@title{???Proposal Title???}
\newcommand\prop@gen@instrument{??? Instrument ???}
\newcommand\prop@tl[2]{\xdef\tab@line{}
\@for\tl@ext:={#1}\do{\xdef\tab@line{\tab@line&#2}}
\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\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\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]{\pdataRef{wp}{#1}{label}: \pdataRef{wp}{#1}{short}}
\ifwork@areas
\newcommand\WAref[1]{\pdataRef{wa}{#1}{label}}
\newcommand\WAtref[1]{\pdataRef{wa}{#1}{label}: \pdataRef{wa}{#1}{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'.

11
base/proposal-blx.bib Normal file
View File

@ -0,0 +1,11 @@
@Comment{$ biblatex control file $}
@Comment{$ biblatex version 2.1 $}
Do not modify this file!
This is an auxiliary file used by the 'biblatex' package.
This file may safely be deleted. It will be recreated as
required.
@Control{biblatex-control,
options = {2.1:0:0:1:0:0:1:1:0:1:0:0:12:1:3:1:79:+},
}

917
base/proposal.cls Normal file
View File

@ -0,0 +1,917 @@
%%
%% This is file `proposal.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% proposal.dtx (with options: `cls')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{proposal}[2013/02/19 v1.4 Project Proposal]
\newif\if@wpsubsection\@wpsubsectionfalse
\newif\ifsubmit\submitfalse
\newif\ifpublic\publicfalse
\newif\ifkeys\keysfalse
\newif\ifdelivs\delivsfalse
\newif\ifwork@areas\work@areastrue
\newif\if@RAM\@RAMfalse
\def\proposal@class{article}
\DeclareOption{wpsubsection}{\@wpsubsectiontrue}
\DeclareOption{submit}{\submittrue}
\DeclareOption{public}{\publictrue}
\DeclareOption{noworkareas}{\work@areasfalse\PassOptionsToClass{\CurrentOption}{pdata}}
\DeclareOption{RAM}{\@RAMtrue}
\DeclareOption{report}{\def\proposal@class{report}}
\DeclareOption{keys}{\keystrue}
\DeclareOption{deliverables}{\delivstrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass[a4paper,twoside]{\proposal@class}
\RequirePackage{amssymb}
\RequirePackage{url}
\RequirePackage{graphicx}
\RequirePackage{colortbl}
\RequirePackage{xcolor}
\RequirePackage{rotating}
\RequirePackage{fancyhdr}
\RequirePackage{array}
\RequirePackage{xspace}
\RequirePackage{comment}
\AtBeginDocument{\ifpublic\excludecomment{private}\fi}
\RequirePackage{tikz}
\RequirePackage{paralist}
\RequirePackage{a4wide}
\RequirePackage{boxedminipage}
\renewcommand{\thempfootnote}{\roman{mpfootnote}}
\renewcommand{\familydefault}{\sfdefault}
\RequirePackage[scaled=.90]{helvet}
\RequirePackage{textcomp}
\RequirePackage[hyperref=auto,style=numeric,defernumbers=true,backend=bibtex,backref=true,firstinits=true,maxbibnames=6]{biblatex}[2010/11-19]
\RequirePackage{csquotes}
\RequirePackage{mdframed}
\RequirePackage{pdata}
\definecolor{darkblue}{rgb}{0,0,.7}
\ifsubmit\def\prop@link@color{darkblue}\else\def\prop@link@color{blue}\fi
\RequirePackage[bookmarks=true,linkcolor=\prop@link@color,
citecolor=\prop@link@color,urlcolor=\prop@link@color,colorlinks=true,
breaklinks=true, bookmarksopen=true]{hyperref}
\ifsubmit
\RequirePackage[hide]{ed}
\RequirePackage[final,today]{svninfo}
\else
\RequirePackage[show]{ed}
\RequirePackage[eso-foot,today]{svninfo}
\fi
\renewcommand\ednoteshape{\sl\footnotesize}
\ifpublic\excludecomment{private}\else\includecomment{private}\fi
\setcounter{secnumdepth}{3}
\newif\ifofpage\ofpagefalse
\fancyhead[RE,LO]{\prop@gen@acronym}
\newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi}
\fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}}
\pagestyle{fancyplain}
\newmdenv[settings=\large]{emphbox}
\newenvironment{prop@proposal}
{\thispagestyle{empty}%
\begin{center}
{\LARGE \prop@gen@instrument}\\[.2cm]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
{\large\today}\\[1em]
\begin{tabular}{c*{\the@PIs}{c}}
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{name}}\\
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{name}}
\end{tabular}\\[2cm]
\end{center}
\setcounter{tocdepth}{2}\tableofcontents\newpage\setcounter{page}{1}}
{\section{List of Attachments}
\begin{itemize}
\@for\@I:=\prop@gen@PIs\do{%
\item Curriculum Vitae and list of publications for
\wa@ref{person}\@I{personaltitle} \wa@ref{person}\@I{name}
\end{itemize}}\newpage
\printbibliography[heading=warnpubs]}
\newenvironment{proposal}[1][]{\readpdata\jobname
\ofpagetrue\setkeys{prop@gen}{#1}
\pdata@open\jobname
\if@sites\else
\define@key{workpackage}{RM}{\pdata@def{wp}\wp@id{RM}{##1}\@dmp{RM=##1}}
\if@RAM\define@key{workpackage}{RAM}{\pdata@def{wp}\wp@id{RAM}{##1}\@dmp{RAM=##1}}\fi
\fi
\newcounter{@PIs}
\@ifundefined{prop@gen@PIs}{}{\@for\@I:=\prop@gen@PIs\do{\stepcounter{@PIs}}}
\newcounter{@sites}
\@ifundefined{prop@gen@sites}{}{\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}}}
\setcounter{page}{0}
\begin{prop@proposal}}
{\end{prop@proposal}
\pdata@def{prop}{page}{last}{\thepage}\ofpagefalse
\pdata@close}
\newcommand\site[1]{\hyperlink{site@#1@target}{\wa@ref{institution}{#1}{acronym}}}
\newcommand\sitename[1]{\hyperlink{site@#1@target}{\wa@ref{institution}{#1}{name}}}
\newcommand\objective@label[1]{O#1}
\define@key{obj}{id}{\def\obj@id{#1}\@dmp{id=#1}}
\define@key{obj}{title}{\def\obj@title{#1}\@dmp{title=#1}}
\define@key{obj}{short}{\def\obj@short{#1}\@dmp{short=#1}}
\newcounter{objective}
\newenvironment{objective}[1][]
{\let\obj@id\relax\let\obj@title\relax\let\obj@short\relax%
\setkeys{obj}{#1}\stepcounter{objective}%
\goodbreak\smallskip\par\noindent%
\textbf{\objective@label{\arabic{objective}}:%
~\pdata@target{obj}{\obj@id}{\pdataref{obj}{\obj@id}{title}}\ignorespaces}%
\pdata@def{obj}\obj@id{label}{\objective@label\theobjective}%
\@ifundefined{obj@title}{}{\pdata@def{obj}\obj@id{title}\obj@title}%
\@ifundefined{obj@short}{}{\pdata@def{obj}\obj@id{short}\obj@short}}
{}
\newcommand\OBJref[1]{\pdataRef{obj}{#1}{label}}
\newcommand\OBJtref[1]{\pdataRef{obj}{#1}{label}: \pdataRef{obj}{#1}{title}}
\ifwork@areas
\define@key{workarea}{id}{\def\wa@id{#1}\@dmp{id=#1}}
\define@key{workarea}{title}{\pdata@def{wa}\wa@id{title}{#1}}
\define@key{workarea}{short}{\pdata@def{wa}\wa@id{short}{#1}}
\define@key{workarea}{lead}{\pdata@def{wa}\wa@id{lead}{#1}}
\fi
\define@key{workpackage}{id}{\def\wp@id{#1}\@dmp{id=#1}}
\define@key{workpackage}{title}{\pdata@def{wp}\wp@id{title}{#1}}
\define@key{workpackage}{lead}{\pdata@def{wp}\wp@id{lead}{#1}\def\wp@lead{#1}\@dmp{lead=#1}}
\define@key{workpackage}{short}{\pdata@def{wp}\wp@id{short}{#1}}
\define@key{workpackage}{type}{\def\wp@type{#1}\pdata@def{wp}\wp@id{type}{#1}}
\define@key{workpackage}{wphases}{\def\wp@wphases{#1}\pdata@def{wp}\wp@id{wphases}{#1}}
\newcommand\wp@mk@title[1]{Work Package {#1}}
\newcommand\wp@label[1]{WP{#1}}
\ifwork@areas
\newcommand\wa@label[1]{WA{#1}}
\newcommand\wa@mk@title[1]{Work Area {#1}}
\fi
\ifwork@areas\newcounter{wa}\newcounter{wp}[wa]\else\newcounter{wp}\fi
\ifdelivs\newcounter{deliv}[wp]\fi
\newcounter{allwp}
\newcommand\update@wps[1]{\@ifundefined{@wps}{\xdef\@wps{#1}}{\xdef\@wps{\@wps,#1}}}
\newcommand\update@tasks[1]{\@ifundefined{@tasks}{\xdef\@tasks{#1}}{\xdef\@tasks{\@tasks,#1}}}
\newcommand\update@deps[1]{\@ifundefined{task@deps}{\xdef\task@deps{#1}}{\xdef\task@deps{\task@deps,#1}}}
\ifwork@areas\def\update@was#1{\@ifundefined{@was}{\xdef\@was{#1}}{\xdef\@was{\@was,#1}}}\fi
\newcommand\decode@wphase[1]{\expandafter\decode@p@start#1@%
\local@count\wphase@end\advance\local@count by -\wphase@start%
\def\wphase@len{\the\local@count}}
\def\decode@p@start#1-#2@{\def\wphase@start{#1}\decode@p@end#2!@}
\def\decode@p@end#1!#2@{\def\wphase@end{#1}\def\@test{#2}%
\ifx\@test\@empty\def\wphase@force{1}\else\decode@p@force#2\fi}
\def\decode@p@force#1!{\def\wphase@force{#1}}
\def\wphases@start#1-#2@{\def\wphase@start{#1}}
\newcommand\startend@wphases[1]{\def\@test{#1}
\ifx\@test\@empty\def\wphase@start{0}\def\wphase@end{0}\else%
\@for\@I:=#1\do{\expandafter\decode@p@start\@I @}
\expandafter\wphases@start#1@\fi}
\newcounter{wp@RM}
\if@RAM\newcounter{wp@RAM}\fi
\newenvironment{work@package}[1][]%
{\def\wp@wphases{0-0}% default values
\setkeys{workpackage}{#1}\stepcounter{wp}\stepcounter{allwp}%
\startend@wphases\wp@wphases%
\pdata@def{wp}\wp@id{start}\wphase@start\pdata@def{wp}\wp@id{end}\wphase@end%
\@ifundefined{wp@type}{}{\pdata@def{wp}\wp@id{type}\wp@type}%
\let\@tasks=\relax%
\edef\wp@num{\ifwork@areas\thewa.\fi\thewp}%
\pdata@def{wp}\wp@id{label}{\wp@label\wp@num}%
\pdata@def{wp}\wp@id{number}{\thewp}%
\pdata@def{wp}\wp@id{page}{\thepage}%
\update@wps\wp@id%
\edef\wp@num{\ifwork@areas\thewa.\fi\thewp}%
\pdata@def{wp}{\wp@id}{num}{\thewp}%
\if@sites%
\setcounter{wp@RM}{0}\if@RAM\setcounter{wp@RAM}{0}\fi%
\@for\@site:=\prop@gen@sites\do{%
\edef\@RM{\pdataref@num\wp@id\@site{RM}}\addtocounter{wp@RM}{\@RM}%
\if@RAM\edef\@RAM{\pdataref@num\wp@id\@site{RAM}}\addtocounter{wp@RAM}{\@RAM}\fi}
\pdata@def{wp}\wp@id{RM}{\thewp@RM}%
\if@RAM\pdata@def{wp}\wp@id{RAM}{\thewp@RAM}\fi%
\fi}% if@sites
{\@ifundefined{@tasks}{}{\pdata@def{\wp@id}{task}{ids}\@tasks}}
\newenvironment{workpackage}[1][]%
{\begin{work@package}[#1]%
\if@sites\goodbreak\medskip\wpheadertable%
\else\subsubsection*{{\wptitle} (\wprm)}\fi%
\addcontentsline{toc}{paragraph}{{\wp@mk@title\thewp}: \pdataref{wp}\wp@id{title}}%
\ignorespaces}
{\end{work@package}}
\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}
\newcount\site@contribution%
\newcommand\if@site@contributes[2]{%
\ifx\prop@gen@compactht\@true
\if@RAM\ifnum\pdataref@num\wp@id{#1}{RM} > 0 \ifnum \pdataref@num\wp@id{#1}{RAM} > 0 #2\fi\fi
\else\ifnum\pdataref@num\wp@id{#1}{RM} > 0 #2\fi\fi
\else #2\fi}
\newcounter{wp@sites@num}
\newcommand\wp@sites@efforts@lines{%
\setcounter{wp@sites@num}{0}
{\let\G@refundefinedtrue=\relax\let\@latex@warning=\relax%
\let\site\relax\let\textbf\relax\let\sum@style\relax\let\lead@style\relax%
\let\pn\relax\let\sys\relax%
\xdef\wp@sites@line{\wp@legend@site}\xdef\wp@efforts@line{\wp@legend@effort}%initialize lines
\@for\@site:=\prop@gen@sites\do{\if@site@contributes\@site{\stepcounter{wp@sites@num}}%
\xdef\wp@sites@line{\wp@sites@line%
\if@site@contributes\@site{&\ifx\@site\wp@lead\lead@style{\site{\@site}}\else\site{\@site}\fi}}%
\xdef\wp@efforts@line{\wp@efforts@line%
\if@site@contributes\@site{&\pdataref@safe\wp@id\@site{RM}\if@RAM+\pdataref@safe\wp@id\@site{RAM}\fi}}}%
\xdef\wp@sites@line{\wp@sites@line&\sum@style{\wp@legend@all}}%
\xdef\wp@efforts@line{\wp@efforts@line&
\sum@style{\textbf{\pdataref{wp}\wp@id{RM}\if@RAM+\pdataref{wp}\wp@id{RAM}\fi}}}}}
\newcommand\wpheadertable{%
\wp@sites@efforts@lines%
\par\noindent\begin{tabular}{|l||l|*{\thewp@sites@num}{c|}|c|}\hline%
\textbf{\wp@mk@title{\wp@num}}&\wp@sites@line\\\hline%
\textsf{\pdata@target{wp}{\wp@id}{\pdataref{wp}\wp@id{title}}} &\wp@efforts@line\\\hline%
\end{tabular}\smallskip\par\noindent\ignorespaces}
\newcommand\wp@legend@site{Site}
\newcommand\wp@legend@effort{Effort\if@RAM{ (RM+RAM)}\fi}
\newcommand\wp@legend@all{\textbf{all}}
\newcounter{prop@RM}\if@RAM\newcounter{prop@RAM}\fi
\ifwork@areas
\newcounter{wa@RM}\if@RAM\newcounter{wa@RAM}\fi\newcounter{wa@wps}
\newenvironment{workarea}[1][]
{\setkeys{workarea}{#1}
\let\@wps=\relax
\stepcounter{wa}
\pdata@def{wa}{\wa@id}{label}{\wa@label\thewa}
\pdata@def{wa}{\wa@id}{number}{\thewa}
\pdata@def{wa}{\wa@id}{page}{\thepage}
\update@was{\wa@id}
\pdata@def{wa}{\wa@id}{num}{\thewa}
\setcounter{wa@RM}{0}\if@RAM\setcounter{wa@RAM}{0}\fi\setcounter{wa@wps}{0}
\edef\@@wps{\pdataref@aux\wa@id{wp}{ids}}
\@for\@wp:=\@@wps\do{\stepcounter{wa@wps}%
\if@sites
\@for\@site:=\prop@gen@sites\do{%
\edef\@RM{\pdataref@num\@wp\@site{RM}}
\if@RAM\edef\@RAM{\pdataref@num\@wp\@site{RAM}}\fi
\addtocounter{wa@RM}{\@RM}\addtocounter{prop@RM}{\@RM}
\if@RAM\addtocounter{wa@RAM}{\@RAM}\addtocounter{prop@RAM}{\@RAM}\fi}
\else
\edef\@RM{\pdataref@num{wp}\@wp{RM}}
\if@RAM\edef\@RAM{\pdataref@num{wp}\@wp{RAM}}\fi
\addtocounter{wa@RM}{\@RM}\addtocounter{prop@RM}{\@RM}
\if@RAM\addtocounter{wa@RAM}{\@RAM}\addtocounter{prop@RAM}{\@RAM}\fi
\fi}
\pdata@def{wa}\wa@id{RM}\thewa@RM
\pdata@def{prop}{all}{RM}\theprop@RM
\if@RAM
\pdata@def{wa}\wa@id{RAM}\thewa@RAM
\pdata@def{prop}{all}{RAM}\theprop@RAM
\fi
\subsubsection*{{\wa@mk@title\thewa}: {\pdata@target{wa}\wa@id{\pdataref{wa}\wa@id{title}}}}
\addcontentsline{toc}{subsubsection}{{\wa@mk@title\thewa}: \pdataref{wa}\wa@id{title}}%
\ignorespaces}
{\@ifundefined{@wps}{}{\pdata@def\wa@id{wp}{ids}\@wps}\pdata@def\wa@id{wp}{count}\thewa@wps}\fi
\ifdelivs\newwrite\wpg@delivs\fi
\newenvironment{workplan}%
{\ifdelivs\immediate\openout\wpg@delivs=\jobname.delivs\fi
\ifwork@areas\let\@was=\relax\else\let\@wps=\relax\fi}%
{\@ifundefined{task@deps}{}{\pdata@def{all}{task}{deps}{\task@deps}}
\pdata@def{all}{task}{count}{\thealltasks}
\ifwork@areas
\@ifundefined{@was}{}{\pdata@def{all}{wa}{ids}\@was}
\else
\@ifundefined{@wps}{}{\pdata@def{all}{wp}{ids}\@wps}
\fi
\ifdelivs\@ifundefined{mile@stones}{}
{\@for\@I:=\mile@stones\do{%
\pdata@def{mile}\@I{delivs}{\@ifundefined{\@I delivs}{}{\csname\@I delivs\endcsname}}}}\fi
\ifwork@areas\pdata@def{all}{wa}{count}{\thewa}\fi
\pdata@def{all}{wp}{count}{\theallwp}
\ifdelivs
\pdata@def{all}{deliverables}{count}{\thedeliverable}
\pdata@def{all}{milestones}{count}{\themilestone}
\fi
\ifdelivs\closeout\wpg@delivs\fi}
\newcommand\deliv@error{\PackageError{proposal}
{To use use deliverables, you have to specify the option 'deliverables'}}
\newenvironment{wpdelivs}{\begin{wp@delivs}}{\end{wp@delivs}}
\newenvironment{wp@delivs}
{\ifdelivs\textbf\deliv@legend@delivs:\\[-3ex]%
\begin{compactdesc}\else\deliv@error\fi}
{\ifdelivs\end{compactdesc}\fi}
\newcommand\deliv@legend@delivs{Deliverables}
\newenvironment{wadelivs}
{\textbf\deliv@legend@delivs:\\[-3ex]\begin{wp@delivs}}
{\end{wp@delivs}}
\newcommand\lec[1]{\strut\hfil\strut\null\nobreak\hfill\hbox{$\leadsto$#1}\par}
\newcommand\deliv@label[1]{M{#1}}
\newcommand\delivref[2]{\pdataRef{deliv}{#1#2}{label}}
\newcommand\delivtref[2]{\pdataRef{deliv}{#1#2}{label}: \pdataRef{deliv}{#1#2}{short}}
\define@key{deliv}{id}{\def\deliv@id{#1}}
\define@key{deliv}{due}{\def\deliv@due{#1}}
\define@key{deliv}{dissem}{\def\deliv@dissem{#1}}
\define@key{deliv}{nature}{\def\deliv@nature{#1}}
\define@key{deliv}{miles}{\def\deliv@miles{#1}}
\define@key{deliv}{short}{\def\deliv@short{#1}}
\newcounter{deliverable}
\newcommand{\wpg@deliv}[3]{% keys, title, type
\stepcounter{deliverable}
\let\deliv@miles=\relax% clean state
\def\@type{#3}\def\@wp{wp}% set up ifx
\def\wpg@id{\csname #3@id\endcsname}
\setkeys{deliv}{#1}\stepcounter{deliv}% set state
\ifx\@type\@wp\def\current@label{\deliv@label{\ifwork@areas\thewa.\fi\thewp.\thedeliv}}
\else\def\current@label{\deliv@label{\thewa.\thedeliv}}\fi
\pdata@def{deliv}{\wpg@id\deliv@id}{label}{\current@label}
\pdata@def{deliv}{\wpg@id\deliv@id}{title}{#2}
\@ifundefined{deliv@short}
{\pdata@def{deliv}{\wpg@id\deliv@id}{short}{#2}}
{\pdata@def{deliv}{\wpg@id\deliv@id}{short}{\deliv@short}}
\pdata@def{deliv}{\wpg@id\deliv@id}{nature}{\deliv@nature}
\pdata@def{deliv}{\wpg@id\deliv@id}{dissem}{\deliv@dissem}
\@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
{\current@label}% label
{\@ifundefined{deliv@id}{\protect\G@refundefinedtrue\@latex@warning{key 'id' for Deliv #1
undefined}??}{\wpg@id\deliv@id}}% id
{\@ifundefined{deliv@dissem}{\protect\G@refundefinedtrue\@latex@warning{key 'dissem' for
Deliv #1 undefined}??}{\deliv@dissem}}% dissemination level
{\@ifundefined{deliv@nature}{\protect\G@refundefinedtrue\@latex@warning{key 'nature' for Deliv
#1 undefined}??}{\deliv@nature}}% nature
{#2}
{\ifx\@type\@wp{WP\ifwork@areas\thewa.\fi\thewp}\else{WA\thewa}\fi}}}}%WP
\item[\current@label: (Month \deliv@due; nature: \deliv@nature, dissem.: \deliv@dissem)] \pdata@target{deliv}{\wpg@id\deliv@id}{\textit{#2}}
\@ifundefined{deliv@miles}{}{% print the milestones and update their deliverables
\let\m@sep=\relax% do not print the separator the first time round
\lec{\@for\@I:=\deliv@miles\do{% Iterate over the milestones mentioned
\m@sep\pdataRef{mile}{\@I}{label}% print the milestone reference
\let\m@sep=,}}%set the separator for the next times
\def\d@sep{,}
\@for\@I:=\deliv@miles\do{% Iterate over the milestones mentioned
\expandafter\ifx\csname\@I delivs\endcsname\relax% Check that the miles@delivs is empty
{\expandafter\xdef\csname\@I delivs\endcsname{\wpg@id\deliv@id}}% if so, skip the separator
\else\expandafter\xdef\csname\@I delivs\endcsname%if not add it
{\csname\@I delivs\endcsname\d@sep\wpg@id\deliv@id}\fi}}}
\newenvironment{wadeliv}[2][]{\ifdelivs\wpg@deliv{#1}{#2}{wa}\else\deliv@error\fi}{}
\newenvironment{wpdeliv}[2][]{\ifdelivs\wpg@deliv{#1}{#2}{wp}\else\deliv@error\fi}{}
\newcommand\milestone@label[1]{M{#1}}
\newcommand\mileref[1]{\pdataRef{mile}{#1}{label}}
\newcommand\miletref[1]{\pdataRef{mile}{#1}{label}: \pdataRef{mile}{#1}{short}}
\newcounter{milestone}
\define@key{milestone}{id}{\gdef\mile@id{#1}}
\define@key{milestone}{month}{\gdef\mile@month{#1}}
\define@key{milestone}{verif}{\gdef\mile@verif{#1}}
\newcommand\milestone[3][]{%
\ifdelivs%
\setkeys{milestone}{#1}\stepcounter{milestone}%
\pdata@def{mile}\mile@id{label}{\milestone@label{\themilestone}}%
\pdata@def{mile}\mile@id{month}{\mile@month}%
\pdata@def{mile}\mile@id{verif}{\mile@verif}%
\pdata@def{mile}\mile@id{title}{#2}%
\@ifundefined{mile@stones}{\xdef\mile@stones{\mile@id}}{\xdef\mile@stones{\mile@stones,\mile@id}}%
\@milestone{#1}{#2}{#3}% presentation
\else\deliv@error\fi}
\newcommand\@milestone[3]{%
\pdata@target{mile}\mile@id{\textbf{\milestone@label\themilestone}}&
\textbf{#2} &
\prop@milesfor\mile@id &
\pdataref{mile}\mile@id{month} &
\pdataref{mile}\mile@id{verif}\\\hline
\multicolumn{5}{|p{14cm}|}{#3}\\\hline\hline}
\newenvironment{milestones}{\begin{@milestones}}{\end{@milestones}}
\newenvironment{@milestones}
{\ifdelivs\begin{longtable}{|l|p{4cm}|p{5cm}|l|p{2.5cm}|}\hline
\#&\miles@legend@name&\miles@legend@involved&\miles@legend@month&\miles@legend@verif\\\hline\hline%
\else\deliv@error\fi}
{\ifdelivs\end{longtable}%
\footnotetext\miles@legend@footnote\fi}
\newcommand\miles@legend@name{Name}
\newcommand\miles@legend@month{Mo}
\newcommand\miles@legend@verif{Means of Verif.}
\newcommand\miles@legend@involved{WPs\footnotemark/Deliverables involved}
\newcommand\miles@legend@footnote{The work package number is the first number in the deliverable number.}
\newcommand\prop@milesfor[1]{\edef\@delivs{\pdataref@safe{mile}{#1}{delivs}}%
\let\m@sep=\relax\def\new@sep{,\ }%
\@for\@I:=\@delivs\do{\m@sep\pdataRef{deliv}\@I{label}\let\m@sep=\new@sep}}
\newcommand{\deliverable}[8]{\pdataRef{deliv}{#4}{label}&#7&#8&#6&#5&#2\\\hline}%sortkey,due,label,id,title,type,level
\newenvironment{deliverables}[1]{\ifdelivs\begin{longtable}{|l|p{#1}|l|l|l|l|}\hline
\#&\delivs@legend@name&\delivs@legend@wp&\delivs@legend@nature&
\delivs@legend@level&\delivs@legend@due\\\hline\hline\else\deliv@error\fi}
{\ifdelivs\end{longtable}\fi}
\newcommand\delivs@legend@name{Deliverable name}
\newcommand\delivs@legend@wp{WP}
\newcommand\delivs@legend@nature{Nature}
\newcommand\delivs@legend@level{Level}
\newcommand\delivs@legend@due{Due}
\newcommand{\inputdelivs}[1]{%
\begin{deliverables}{#1}%
\IfFileExists{\jobname.deliverables}%
{\input{\jobname.deliverables}}%
{\IfFileExists{\jobname.delivs}{\input{\jobname.delivs}}{}}
\end{deliverables}}
\newenvironment{tasklist}
{\begin{compactenum}}{\end{compactenum}}
\newcommand\task@label[1]{T#1}
\define@key{task}{id}{\def\task@id{#1}\@dmp{id=#1}}
\define@key{task}{wphases}{\def\task@wphases{#1}\pdata@def{task}{\taskin\task@id\wp@id}{wphases}{#1}\@dmp{wphases=#1}}
\define@key{task}{requires}{\@requires\task@id{#1}\@dmp{req=#1}}
\define@key{task}{title}{\def\task@title{#1}\pdata@def{task}{\taskin\task@id\wp@id}{title}{#1}\@dmp{title=#1}}
\define@key{task}{lead}{\def\task@lead{#1}\pdata@def{task}{\taskin\task@id\wp@id}{lead}{#1}\@dmp{lead=#1}}
\define@key{task}{partners}{\def\task@partners{#1}\pdata@def{task}{\taskin\task@id\wp@id}{partners}{#1}\@dmp{partners=#1}}
\def\task@set#1{\edef\task@id{task\thetask@all}
\def\task@wphases{0-0}\def\task@partners{}\def\task@lead{}
\setkeys{task}{#1}}
\newcounter{alltasks}
\newenvironment{task}[1][]%
{\stepcounter{alltasks}
\@task{#1}\item[\pdata@target{task}{\taskin\task@id\wp@id}{\task@label{\thetask@wp}}]%
\@ifundefined{task@title}{}{\textbf\task@title}%
\def\@initial{0-0}\ifx\task@wphases\@initial\else%
\ (\let\@@sep=\relax\@for\@I:=\task@wphases%
\do{\decode@wphase\@I\@@sep\show@wphase\wphase@start\wphase@end\wphase@force\let\@@sep=\sep@wphases}%
\ifx\task@lead\@empty\else; \task@legend@partners: \site\task@lead~(\legend@lead)\fi%
\ifx\task@partners\@empty\else\@for \@I:=\task@partners\do{, \site\@I}\fi)\\\fi}
{}
\newcommand\month@label[1]{M#1}
\newcommand\show@wphase[3]{\def\@test{#3}\month@label{#1}-\month@label{#2}%
\ifx\@test\@empty\@ #3}
\newcommand\sep@wphases{; }
\newcommand\legend@partners{Partners}
\newcommand\legend@lead{lead}
\newcommand\task@label@long{Task}
\newcounter{task@all}\newcounter{task@wp}[wp]
\newcount\task@@end
\def\@task#1{\stepcounter{task@all}\stepcounter{task@wp}%
\task@set{#1}%
\pdata@def{task}{\taskin\task@id\wp@id}{wphases}\task@wphases
\pdata@def{task}{\taskin\task@id\wp@id}{label}{\task@label\thetask@wp}%
\pdata@def{task}{\taskin\task@id\wp@id}{number}{\thetask@wp}%
\pdata@def{task}{\taskin\task@id\wp@id}{page}{\thepage}%
\update@tasks{\taskin\task@id\wp@id}}
\newcommand\workphase[1]{\PackageError{proposal}
{The \protect\workphase macro is deprecated,\MessageBreak
use the attributes wphase on the workpackage environment instead!}}
\newcommand\localtaskref[1]{\pdataRef{task}{\wp@id @#1}{label}}
\newcommand\taskin[2]{#2@#1}
\newcommand\taskref[2]{\WPref{#1}.\pdataRef{task}{#1@#2}{label}}
\newcommand\taskreflong[2]{\WPref{#1}.\pdataRef{task}{#2}{label}}
\newcommand\tasktref[2]{\WPref{#1} (\task@label@long \pdataRef{task}{#1@#2}{number})}
\newcounter{gantt@deps}
\def\@requires#1#2{\stepcounter{gantt@deps}%
\edef\dep@id{taskdep\thegantt@deps}%
\pdata@def{taskdep}\dep@id{from}{\taskin{#1}\wp@id}%
\pdata@def{taskdep}\dep@id{to}{#2}%
\update@deps\dep@id}
\newcommand\prop@lead[1]{\@ifundefined{wp@#1@lead}%
{\protect\G@refundefinedtrue\@latex@warning{lead for WP #1 undefined}??}%
{\csname wp@#1@lead\endcsname}}
\definecolorset{gray/rgb/hsb/cmyk}{}{}%
{leadgray,.90/.90,.90,.90/0,0,.90/0,0,0,.10;%
wagray,.70/.70,.70,.70/0,0,.70/0,0,0,.30}
\newcommand\sum@style[1]{\cellcolor{wagray}{\textbf{#1}}}
\newcommand\wa@style[1]{\cellcolor{wagray}{\textbf{#1}}}
\newcommand\wp@style[1]{#1}
\newcommand\lead@style[1]{\cellcolor{leadgray}{\textit{#1}}}
\newcommand\wp@lead@style@explained{light gray italicised}
\newcounter{wpfig@options}
\define@key{wpfig}{size}{\def\wpfig@size{#1}\@dmp{size=#1}}
\def\@true{true}
\def\wpfig@pages{false}
\define@key{wpfig}{pages}[true]{\def\wpfig@pages{#1}\stepcounter{wpfig@options}}
\def\wpfig@type{false}
\define@key{wpfig}{type}[true]{\def\wpfig@type{#1}\stepcounter{wpfig@options}}
\def\wpfig@start{false}
\define@key{wpfig}{start}[true]{\def\wpfig@start{#1}\stepcounter{wpfig@options}}
\def\wpfig@length{false}
\define@key{wpfig}{length}[true]{\def\wpfig@length{#1}\stepcounter{wpfig@options}}
\def\wpfig@end{false}
\define@key{wpfig}{end}[true]{\def\wpfig@end{#1}\stepcounter{wpfig@options}}
\def\@sw#1{\begin{sideways}#1\end{sideways}}
\newenvironment{wp@figure}{\begin{figure}[ht]\wpfig@style\begin{center}
{\let\@sw\relax\let\textbf\relax\let\site\relax\let\pn\relax\let\sys\relax%
\gdef\wpfig@headline{\wpfig@legend@wap&\wpfig@legend@title%
\ifx\wpfig@type\@true&\wpfig@legend@type\fi%
\ifx\wpfig@pages\@true&\@sw{\wpfig@legend@page}\fi%
\ifx\wpfig@start\@true&\@sw{\wpfig@legend@start}\fi%
\ifx\wpfig@length\@true&\@sw{\wpfig@legend@length}\fi
\ifx\wpfig@end\@true&\@sw{\wpfig@legend@end}\fi}%
\if@sites%
\@for\@site:=\prop@gen@sites\do{%
\xdef\wpfig@headline{\wpfig@headline&\@sw{\wpfig@legend@siteRM{\@site}}}%
\if@RAM\xdef\wpfig@headline{\wpfig@headline&\@sw{\wpfig@legend@siteRAM{\@site}}}\fi}%
\xdef\wpfig@headline{\wpfig@headline&\@sw{\wpfig@legend@totalRM}}%
\if@RAM\xdef\wpfig@headline{\wpfig@headline&\@sw{\wpfig@legend@totalRAM}}\fi%
\else% if@sites
\xdef\wpfig@headline{\wpfig@headline &\@sw{\wpfig@legend@RM}\if@RAM&\@sw{\wpfig@legend@RAM}\fi}
\fi}%if@sites
\if@RAM\begin{tabular}{|l|l|*{\thewpfig@options}{r|}*{\the@sites}{r|r|}|r|r|}\hline
\else\begin{tabular}{|l|l|*{\thewpfig@options}{r|}|*{\the@sites}{r|}|r|}\hline\fi
\wpfig@headline\\\hline\hline}
{\end{tabular}\smallskip\\
\wpfig@legend@RAM@expl
\if@sites; \wpfig@legend@lead@expl\fi
\caption{\wpfig@legend@caption}\label{fig:wplist}
\end{center}\end{figure}}
\newcommand\wpfig@legend@wap{\textbf{\ifwork@areas{WA/P}\else{WP}\fi}}
\newcommand\wpfig@legend@title{\textbf{Title}}
\newcommand\wpfig@legend@type{\textbf{type}}
\newcommand\wpfig@legend@page{\textbf{page}}
\newcommand\wpfig@legend@start{\textbf{start}}
\newcommand\wpfig@legend@length{\textbf{length}}
\newcommand\wpfig@legend@end{\textbf{end}}
\newcommand\wpfig@legend@siteRM[1]{\site{#1}\if@RAM\ RM\fi}
\newcommand\wpfig@legend@siteRAM[1]{\site{#1}\ RAM}
\newcommand\wpfig@legend@totalRM{total\if@RAM\ RM\fi}
\newcommand\wpfig@legend@totalRAM{total RAM}
\newcommand\wpfig@legend@RM{RM}
\newcommand\wpfig@legend@RAM{RAM}
\newcommand\wpfig@legend@RAM@expl{\if@RAM R(A)M $\widehat=$ Researcher (Assistant) Months\else\ Efforts in PM\fi}
\newcommand\wpfig@legend@lead@expl{WP lead efforts \wp@lead@style@explained}
\newcommand\wpfig@legend@caption{{\ifwork@areas Work Areas and \fi}Work Packages}
\def\wpfig@style{}
\newcommand\wpfigstyle[1]{\def\wpfig@style{#1}}
\newcount\local@count
\newcount\@@@RM\if@RAM\newcount\@@@RAM\fi
\newcount\all@@@RM\if@RAM\newcount\all@@@RAM\fi
\newcommand{\wpfig}[1][]{\setcounter{wpfig@options}{0}\setkeys{wpfig}{#1}
{\gdef\@wp@lines{}%initialize
\let\tabularnewline\relax\let\hline\relax\let\lead@style\relax% so they
\let\wa@style\relax\let\wp@style\relax \let\@sw\relax\let\textbf\relax% do not
\let\G@refundefinedtrue=\relax\let\@latex@warning=\relax\let\hyperlink=\relax% bother
\let\pn\relax\let\xspace\relax% us
\ifwork@areas
\edef\@@was{\pdataref@safe{all}{wa}{ids}}%
\@for\@@wa:=\@@was\do{% iterate over the work areas
\xdef\@@wa@line{\wa@style{\pdataRef{wa}\@@wa{label}}%
&\wa@style{\@ifundefined{wa@\@@wa @short}{\pdataref{wa}\@@wa{title}}{\pdataref{wa}\@@wa{short}}}%
\ifx\wpfig@type\@true&\wa@style{\pdataref{wa}\@@wa{type}}\fi%
\ifx\wpfig@pages\@true&\wa@style{\pdataref{wa}\@@wa{page}}\fi%
\ifx\wpfig@start\@true&\wa@style{\pdataref{wa}\@@wa{start}}\fi%
\ifx\wpfig@length\@true&\wa@style{\pdataref{wa}\@@wa{len}}\fi%
\ifx\wpfig@end\@true&\wa@style{\pdataref{wa}\@@wa{end}}\fi}
\if@sites
\@for\@site:=\prop@gen@sites\do{%
\edef\@@wps{\pdataref@safe\@@wa{wp}{ids}}%
\local@count 0%
\@for\@@wp:=\@@wps\do{\advance\local@count by \pdataref@num\@@wp\@site{RM}}%
\pdata@def\@@wa\@site{RM}{\the\local@count}%
\xdef\@@wa@line{\@@wa@line&\wa@style{\the\local@count}}%
\if@RAM
\local@count 0%
\@for\@@wp:=\@@wps\do{\advance\local@count by \pdataref@num\@@wp\@site{RAM}}
\pdata@def\@@wa\@site{RAM}{\the\local@count}%
\xdef\@@wa@line{\@@wa@line&\wa@style{\the\local@count}}%
\fi}
\local@count0\relax%
\@for\@site:=\prop@gen@sites\do{\global\advance\local@count by \pdataref@num\@@wa\@site{RM}}%
\xdef\@@wa@line{\@@wa@line &\wa@style{\textbf{\the\local@count}}}
\if@RAM
\local@count0\relax%
\@for\@site:=\prop@gen@sites\do{\global\advance\local@count by \pdataref@num\@@wa\@site{RAM}}%
\xdef\@@wa@line{\@@wa@line &\wa@style{\textbf{\the\local@count}}}
\fi
\else% if@sites
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}%
\xdef\@@wa@line{\@@wa@line&\wa@style{\pdataref{wa}\@@wa{RM}}
\if@RAM&\wa@style{\pdataref{wa}\@@wa{RAM}}\fi}%
\fi% if@sites
\xdef\@wp@lines{\@wp@lines\@@wa@line\tabularnewline\hline}% add the line for the workarea
\edef\@@wps{\pdataref@safe\@@wa{wp}{ids}}%
\@for\@@wp:=\@@wps\do{% iterate over its work packages
\xdef\@@wp@line{\pdataRef{wp}\@@wp{label}%
&\@ifundefined{wp@\@@wp @short}{\pdataref{wp}\@@wp{title}}{\pdataref{wp}\@@wp{short}}%
\ifx\wpfig@type\@true&\pdataref{wp}\@@wp{type}\fi%
\ifx\wpfig@pages\@true&\pdataref{wp}\@@wp{page}\fi%
\ifx\wpfig@start\@true&\pdataref{wp}\@@wp{start}\fi%
\ifx\wpfig@length\@true&\pdataref{wp}\@@wp{len}\fi%
\ifx\wpfig@end\@true&\pdataref{wp}\@@wp{end}\fi}
\if@sites
\@for\@site:=\prop@gen@sites\do{%
\edef\@@lead{\pdataref@safe{wp}\@@wp{lead}}
\edef\@@RM{\ifx\@@lead\@site\lead@style{\pdataref@safe\@@wp\@site{RM}}\else\wp@style{\pdataref@safe\@@wp\@site{RM}}\fi}
\xdef\@@wp@line{\@@wp@line&\@@RM}
\if@RAM
\edef\@@RAM{\ifx\@@lead\@site\lead@style{\pdataref@safe\@@wp\@site{RAM}}\else\wp@style{\pdataref@safe\@@wp\@site{RAM}}\fi}
\xdef\@@wp@line{\@@wp@line&\@@RAM}
\fi}
\local@count0\relax%
\@for\@site:=\prop@gen@sites\do{\global\advance\local@count by \pdataref@num\@@wp\@site{RM}}%
\xdef\@@wp@line{\@@wp@line &\textbf{\the\local@count}}
\if@RAM
\global\local@count0\relax%
\@for\@site:=\prop@gen@sites\do{\global\advance\local@count by \pdataref@num\@@wp\@site{RAM}}%
\xdef\@@wp@line{\@@wp@line &\textbf{\the\local@count}}
\fi% if@sites
\else% if@sites
\xdef\@@wp@line{\@@wp@line&\wp@style{\pdataref@safe{wp}\@@wp{RM}}}
\if@RAM\xdef\@@wp@line{\@@wp@line&\wp@style{\pdataref@safe{wp}\@@wp{RAM}}}\fi
\fi% if@sites
\xdef\@wp@lines{\@wp@lines\@@wp@line\tabularnewline\hline}}}
\else% ifwork@areas
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}%
\@for\@@wp:=\@@wps\do{% iterate over its work packages
\xdef\@@wp@line{\pdataRef{wp}\@@wp{label}%
&\@ifundefined{wp@\@@wp @short}{\pdataref{wp}\@@wp{title}}{\pdataref{wp}\@@wp{short}}
\ifx\wpfig@type\@true&\pdataref{wp}\@@wp{type}\fi%
\ifx\wpfig@pages\@true&\pdataref{wp}\@@wp{page}\fi%
\ifx\wpfig@start\@true&\pdataref{wp}\@@wp{start}\fi%
\ifx\wpfig@length\@true&\pdataref{wp}\@@wp{len}\fi%
\ifx\wpfig@end\@true&\pdataref{wp}\@@wp{end}\fi}
\if@sites
\@for\@site:=\prop@gen@sites\do{%
\edef\@@lead{\pdataref@safe{wp}\@@wp{lead}}
\edef\@@RM{\ifx\@@lead\@site\lead@style{\pdataref@safe\@@wp\@site{RM}}\else\wp@style{\pdataref@safe\@@wp\@site{RM}}\fi}
\xdef\@@wp@line{\@@wp@line&\@@RM}
\if@RAM
\edef\@@RAM{\ifx\@@lead\@site\lead@style{\pdataref@safe\@@wp\@site{RAM}}\else\wp@style{\pdataref@safe\@@wp\@site{RAM}}\fi}
\xdef\@@wp@line{\@@wp@line&\wp@style\@@RAM}
\fi}
\global\local@count0\relax%
\@for\@site:=\prop@gen@sites\do{\global\advance\local@count by \pdataref@num\@@wp\@site{RM}}%
\xdef\@@wp@line{\@@wp@line &\textbf{\the\local@count}}
\if@RAM
\global\local@count0\relax%
\@for\@site:=\prop@gen@sites\do{\global\advance\local@count by \pdataref@num{#1}\@site{RAM}}%
\xdef\@@wp@line{\@@wp@line &\textbf{\the\local@count}}
\fi
\else% if@sites
\xdef\@@wp@line{\@@wp@line&\wp@style{\pdataref@safe{wp}\@@wp{RM}}}
\if@RAM\xdef\@@wp@line{\@@wp@line&\wp@style{\pdataref@safe{wp}\@@wp{RAM}}\fi}
\fi% if@sites
\xdef\@wp@lines{\@wp@lines\@@wp@line\tabularnewline\hline}}
\fi%ifwork@areas
\gdef\@totals{}
\ifwork@areas
\if@sites
\@for\@site:=\prop@gen@sites\do{% iterate over the sites
\@@@RM=0\if@RAM\@@@RAM=0\fi
\edef\@@was{\pdataref@safe{all}{wa}{ids}}%
\@for\@@wa:=\@@was\do{% iterate over the work areas
\edef\@@wps{\pdataref@safe\@@wa{wp}{ids}}%
\@for\@@wp:=\@@wps\do{% iterate over the work packages
\advance\@@@RM by \pdataref@num\@@wp\@site{RM}%
\if@RAM\advance\@@@RAM by \pdataref@num\@@wp\@site{RAM}\fi}}
\pdata@def{all}\@site{RM}{\the\@@@RM}\if@RAM\pdata@def{all}\@site{RAM}{\the\@@@RAM}\fi
\advance\all@@@RM by \the\@@@RM\if@RAM\advance\all@@@RAM by \the\@@@RAM\fi
\xdef\@totals{\@totals & \textbf{\the\@@@RM}\if@RAM& \textbf{\the\@@@RAM}\fi}}
\xdef\@totals{\@totals & \textbf{\the\all@@@RM}\if@RAM&\textbf{\the\all@@@RAM}\fi}
\pdata@def{all}{total}{RM}{\the\all@@@RM}\if@RAM\pdata@def{all}{total}{RAM}{\the\all@@@RAM}\fi
\else% if@sites
\@@@RM=0\if@RAM\@@@RAM=0\fi
\edef\@@was{\pdataref@safe{all}{wa}{ids}}%
\@for\@@wa:=\@@was\do{\edef\@@wps{\pdataref@safe\@@wa{wp}{ids}}%
\@for\@@wp:=\@@wps\do{% iterate over the work packages
\advance\@@@RM by \pdataref@num{wp}\@@wp{RM}%
\if@RAM\advance\@@@RAM by \pdataref@num{wp}\@@wp{RAM}\fi}}
\pdata@def{all}{total}{RM}{\the\@@@RM}\if@RAM\pdata@def{all}{total}{RAM}{\the\@@@RAM}\fi
\xdef\@totals{&\the\@@@RM\if@RAM &\the\@@@RAM\fi}
\fi% if@sites
\else%i.e. no work@areas
\if@sites
\@for\@site:=\prop@gen@sites\do{%iterate over the sites
\@@@RM=0\if@RAM\@@@RAM=0\fi%
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}%
\@for\@@wp:=\@@wps\do{% iterate over the work packages
\advance\@@@RM by \pdataref@num\@@wp\@site{RM}%
\if@RAM\advance\@@@RAM by \pdataref@num\@@wp\@site{RAM}\fi}
\pdata@def{all}\@site{RM}{\the\@@@RM}\if@RAM\pdata@def{all}\@site{RAM}{\the\@@@RAM}\fi
\xdef\@totals{\@totals & \textbf{\the\@@@RM}\if@RAM& \textbf{\the\@@@RAM}\fi}
\advance\all@@@RM by \the\@@@RM\if@RAM\advance\all@@@RAM by \the\@@@RAM\fi}
\xdef\@totals{\@totals &\textbf{\the\all@@@RM}\if@RAM&\textbf{\the\all@@@RAM}\fi}
\pdata@def{all}{total}{RM}{\the\all@@@RM}\if@RAM\pdata@def{all}{total}{RAM}{\the\all@@@RAM}\fi
\else% if@sites
\@@@RM=0\if@RAM\@@@RAM=0\fi
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}%
\@for\@@wp:=\@@wps\do{% iterate over the work packages
\advance\@@@RM by \pdataref@num{wp}\@@wp{RM}%
\if@RAM\advance\@@@RAM by \pdataref@num{wp}\@@wp{RAM}\fi}
\pdata@def{all}{total}{RM}{\the\@@@RM}\if@RAM\pdata@def{all}{total}{RAM}{\the\@@@RAM}\fi
\xdef\@totals{&\the\@@@RM\if@RAM &\the\@@@RAM\fi}
\fi% if@sites
\fi
\gdef\intended@totals{}
\if@sites
\@for\@site:=\prop@gen@sites\do{
\xdef\intended@totals{\intended@totals&\textbf{\pdataref@safe{site}\@site{intendedRM}}}
\if@RAM\xdef\intended@totals{\intended@totals&\textbf{\pdataref@safe{site}\@site{intendedRAM}}}\fi}
\if@RAM\xdef\intended@totals{\intended@totals&&}\else\xdef\intended@totals{\intended@totals&}\fi
\else% if@sites
\xdef\intended@totals{\intended@totals&\textbf{\pdataref@safe{all}{intended}{RM}}}
\if@RAM\xdef\intended@totals{\intended@totals&\textbf{\pdataref@safe{all}{intended}{RAM}}}\fi
\fi}% if@sites
\local@count\thewpfig@options\advance\local@count by 2
\begin{wp@figure}
\@wp@lines\hline%
\multicolumn{\the\local@count}{|c|}{\prop@legend@totals}\@totals\\\hline%
\ifsubmit\else\multicolumn{\the\local@count}{|c|}{\prop@legend@intendedtotals}%
\intended@totals\\\hline\fi
\end{wp@figure}}
\newcommand\prop@legend@totals{\textbf{totals}}
\newcommand\prop@legend@intendedtotals{\textbf{intended totals}}
\newif\ifgantt@draft\gantt@draftfalse
\define@key{gantt}{xscale}{\def\gantt@xscale{#1}}
\define@key{gantt}{yscale}{\def\gantt@yscale{#1}}
\define@key{gantt}{step}{\def\gantt@step{#1}}
\define@key{gantt}{size}{\def\gantt@size{#1}}
\define@key{gantt}{draft}[true]{\ifsubmit\else\gantt@drafttrue\fi}
\def\gantt@set#1{\gantt@draftfalse\def\gantt@xscale{1}\def\gantt@yscale{.35}\def\gantt@step{3}
\setkeys{gantt}{#1}}
\newenvironment{gantt}[2][]
{\gantt@set{#1}
\@ifundefined{gantt@size}{}{\csname\gantt@size\endcsname}
\newdimen\gantt@ymonths
\gantt@ymonths=#2 cm
\advance\gantt@ymonths by .5cm
\begin{tikzpicture}[xscale=\gantt@xscale,yscale=\gantt@yscale]
\draw[xstep=\gantt@step,gray,very thin] (0,0) grid (\prop@gen@months,#2);
\foreach \x in {0,\gantt@step,...,\prop@gen@months} \node at (\x,\gantt@ymonths) {\x};}
{\end{tikzpicture}}
\newdimen\gantt@ymid\newdimen\gantt@yinc\newdimen\gantt@xend
\newcommand{\@action}[5]{%
\gantt@ymid=#2 cm\gantt@yinc=\gantt@yscale cm
\gantt@xend=#3 cm\advance\gantt@xend by #4 cm
\advance\gantt@ymid by \gantt@yinc
\fill (#3,#2) rectangle +(#4,#5);
\node (#1@left) at (#3,\gantt@ymid) {};
\node (#1@right) at (\gantt@xend,\gantt@ymid) {};}
\def\@dependency#1#2{\draw[->,line width=2pt,color=red] (#1@right) -- (#2@left);}
\newcommand\gantt@compute@effort[3]{% start, len, force
\@@e=#1\advance\@@e by #2
\ifnum\thegantt@month<#1\else
\ifnum\thegantt@month<\@@e
\gantt@plus=#3cm\advance\gantt@effort by \gantt@plus\fi\fi}
\newcommand{\ganttchart}[1][]{\begin{figure}[ht]\centering
\gantt@set{#1}
\def\gantt@wps{\pdataref@num{all}{wp}{count}}
\begin{gantt}[#1]{\gantt@wps}
\newcounter{taskwps}\newcount\@@line
\edef\@@was{\pdataref@safe{all}{wa}{ids}}
\ifwork@areas
\@for\@@wa:=\@@was\do{% iterate over work areas
\edef\@@wps{\pdataref@safe\@@wa{wp}{ids}}
\@for\@@wp:=\@@wps\do{% iterate over work packages
\stepcounter{taskwps}
\@@line=\gantt@wps\advance\@@line by -\thetaskwps
\edef\@@tasks{\pdataref@safe\@@wp{task}{ids}}
\node at (-1/\gantt@xscale,\@@line) [above=-2pt] {\pdataRef{wp}\@@wp{label}};
\edef\@@wphases{\pdataref@safe{wp}\@@wp{wphases}}
\@for\@@ft:=\@@wphases\do{%wp-level work phases
\decode@wphase\@@ft
\@action\@@wp\@@line\wphase@start\wphase@len\wphase@force}
\@for\@@task:=\@@tasks\do{% tasks
\edef\@@wphases{\pdataref@safe{task}\@@task{wphases}}
\@for\@@ft:=\@@wphases\do{%task-level work phases
\decode@wphase\@@ft
\@action\@@task\@@line\wphase@start\wphase@len\wphase@force}}}}
\else% ifwork@ares
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}
\@for\@@wp:=\@@wps\do{% iterate over work packages
\stepcounter{taskwps}
\@@line=\gantt@wps\advance\@@line by -\thetaskwps
\edef\@@tasks{\pdataref@safe\@@wp{task}{ids}}
\node at (-1/\gantt@xscale,\@@line) [above=-2pt] {\pdataRef{wp}\@@wp{label}};
\edef\@@wphases{\pdataref@safe{wp}\@@wp{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the wp-level work phases
\decode@wphase\@@ft
\@action\@@wp\@@line\wphase@start\wphase@len\wphase@force}
\@for\@@task:=\@@tasks\do{% task-level work phases
\edef\@@wphases{\pdataref@safe{task}\@@task{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the task-level work phases
\decode@wphase\@@ft
\@action\@@task\@@line\wphase@start\wphase@len\wphase@force}}}
\fi% ifwork@areas
\edef\@@deps{\pdataref@safe{all}{task}{deps}}
\@for\@@dep:=\@@deps\do{%
\@dependency{\pdataref@safe{taskdep}\@@dep{from}}{\pdataref@safe{taskdep}\@@dep{to}}}
\ifgantt@draft
\newcounter{gantt@month}
\newcount\@@e\newdimen\gantt@effort\newdimen\gantt@plus
\@whilenum\thegantt@month<\prop@gen@months\do{% step over months
\gantt@effort=0cm
\ifwork@areas
\edef\@@was{\pdataref@safe{all}{wa}{ids}}
\@for\@@wa:=\@@was\do{% iterate over work areas
\edef\@@wps{\pdataref@safe\@@wa{wp}{ids}}
\@for\@@wp:=\@@wps\do{% iterate over work packages
\edef\@@wphases{\pdataref@safe{wp}\@@wp{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the wp-level work phases
\decode@wphase\@@ft
\gantt@compute@effort\wphase@start\wphase@len\wphase@force}
\edef\@@tasks{\pdataref@safe\@@wp{task}{ids}}
\@for\@@task:=\@@tasks\do{% iterate over tasks
\edef\@@wphases{\pdataref@safe{task}\@@task{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the wp-level work phases
\decode@wphase\@@ft
\gantt@compute@effort\wphase@start\wphase@len\wphase@force}}}}
\fill (\thegantt@month,-5) rectangle +(1,\gantt@effort);
\else% ifwork@areas
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}
\@for\@@wp:=\@@wps\do{% iterate over work packages
\edef\@@wphases{\pdataref@safe{wp}\@@wp{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the wp-level work phases
\decode@wphase\@@ft
\gantt@compute@effort\wphase@start\wphase@len\wphase@force}
\edef\@@tasks{\pdataref@safe\@@wp{task}{ids}}
\@for\@@task:=\@@tasks\do{% iterate over tasks
\edef\@@wphases{\pdataref@safe{task}\@@task{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the wp-level work phases
\decode@wphase\@@ft
\gantt@compute@effort\wphase@start\wphase@len\wphase@force}}}
\fill (\thegantt@month,-5) rectangle +(1,\gantt@effort);
\fi% ifwork@areas
\stepcounter{gantt@month}}
\fi% ifgantt@draft
\end{gantt}
\caption{\gantt@caption}\label{fig:gantt}
\end{figure}}
\newcommand\gantt@caption@main{Overview Work Package Activities}
\newcommand\gantt@caption@lower{lower bar shows the overall effort \if@RAM (RAM only)\fi per month}
\newcommand\gantt@caption{\gantt@caption@main\ifgantt@draft\xspace (\gantt@caption@lower)\fi}
\newcommand{\gantttaskchart}[1][]{\begin{figure}[ht]\centering\gantt@set{#1}
\def\gantt@tasks{\pdataref@num{all}{task}{count}}
\begin{gantt}[#1]{\gantt@tasks}
\newcounter{gantt@tasks}\newcount\@@line
\edef\@@wps{\pdataref@safe{all}{wp}{ids}}
\@for\@@wp:=\@@wps\do{% iterate over work packages
\edef\@@tasks{\pdataref@safe\@@wp{task}{ids}}
\@for\@@task:=\@@tasks\do{% iterate over the tasks
\stepcounter{gantt@tasks}
\@@line=\gantt@tasks\advance\@@line by -\thegantt@tasks
\node at (-1/\gantt@xscale,\@@line) [above=-2pt] {\taskreflong\@@wp\@@task};
\edef\@@wphases{\pdataref@safe{task}\@@task{wphases}}
\@for\@@ft:=\@@wphases\do{%iterate over the task-level work phases
\decode@wphase\@@ft
\@action\@@task\@@line\wphase@start\wphase@len\wphase@force
}}}% end all iterations
\end{gantt}
\caption{\gantt@caption@main}\label{fig:gantt}
\end{figure}}
\newcommand\jpub{\textcolor{\prop@link@color}{\textbf{\large{$\star$}}}}
\newcommand\jpro{\textcolor{\prop@link@color}{\textbf{\large{$\bullet$}}}}
\newcommand\jorga{\textcolor{\prop@link@color}{\textbf{\large{$\circ$}}}}
\newcommand\add@joint[3]{\@ifundefined{coherence@#1@#2}%
{\@namedef{coherence@#1@#2}{#3}}%
{\expandafter\g@addto@macro\csname coherence@#1@#2\endcsname{#3}}}
\newcommand\prop@joint[2]{\@for\@first:=#2\do{%
\@for\@second:=#2\do{\ifx\@first\@second\else\add@joint\@first\@second{#1}\fi}}}
\newcommand\jointproj[1]{\prop@joint\jpro{#1}}
\newcommand\jointpub[1]{\prop@joint\jpro{#1}}
\newcommand\jointorga[1]{\prop@joint\jorga{#1}}
\newcommand{\coherencematrix}{
{\let\tabularnewline\relax\let\hline\relax\let\site\relax% so they do
\let\@sw\relax\let\jpub\relax\let\jpro\relax\let\jorga\relax% not bother us
\gdef\@ct@head{}
\@for\@site:=\prop@gen@sites\do{\xdef\@ct@head{\@ct@head &\site{\@site}}}
\gdef\@ct@lines{\@ct@head\tabularnewline\hline\hline} %initialize with head line
\@for\@site:=\prop@gen@sites\do{\xdef\@ct@line{\site{\@site}}
\@for\@@site:=\prop@gen@sites\do{
\xdef\@ct@line{\@ct@line&\ifx\@site\@@site{X}\fi
\@ifundefined{coherence@\@site @\@@site}{}{\@nameuse{coherence@\@site @\@@site}}}}
\xdef\@ct@lines{\@ct@lines\@ct@line\tabularnewline\hline}}}
\begin{tabular}{|l||*{\the@site}{c|}}\hline
\@ct@lines\hline
joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ project,
\jorga $\hat=$ organization}\\\hline
\end{tabular}}
\newcommand\coherencetable{%
\begin{table}[ht]
\begin{center}\small\setlength{\tabcolsep}{.5em}
\renewcommand{\arraystretch}{.9}\coherencematrix
\end{center}
\caption{\coherence@caption}\label{tab:collaboration}
\end{table}}
\newcommand\coherence@caption{Previous Collaboration between {\pn} members}
\defbibheading{empty}{}
\newif\if@allpapers\@allpaperstrue
\newcommand\prop@ppl[3][]{\@allpapersfalse\message{ppl processing: #2}%
\printbibliography[heading=subbibliography,type=#2,title=#3#1]%
\@ifundefined{prop@rl}{\xdef\prop@rl{#2}}{\xdef\prop@rl{\prop@rl, #2}}}
\newcommand\prop@prl[1]{\message{unclassified: #1}%
\printbibliography[heading=subbibliography,title=Unclassified,#1]}%
\define@key{paperlist}{unclassified}[true]{\message{unclass: \prop@rl}\prop@prl\prop@rl}
\define@key{paperlist}{articles}[true]{\prop@ppl{article}{Articles}}
\define@key{paperlist}{chapters}[true]{\prop@ppl{inbook}{Book Chapters}}
\define@key{paperlist}{confpapers}[true]{\prop@ppl[,keyword=conference]{inproceedings}{Conference Papers}}
\define@key{paperlist}{wspapers}[true]{\prop@ppl[,notkeyword=conference]{inproceedings}{Workshop Papers}}
\define@key{paperlist}{theses}[true]{\prop@ppl{thesis}{Theses}}
\define@key{paperlist}{submitted}[true]{\prop@ppl[,keyword=submitted]{unpublished}{Submitted}}
\define@key{paperlist}{books}[true]{\prop@ppl{book}{Monographs}}
\define@key{paperlist}{techreports}[true]{\prop@ppl{techreport}{Technical Reports}}
\newcommand\prop@paperlist[2][]{%
\begin{refsection}%
\nocite{#2}%
\let\biboldfont\bibfont%
\renewcommand{\bibfont}{\footnotesize}%
\renewcommand{\baselinestretch}{.9}
\setkeys{paperlist}{#1}
\@ifundefined{prop@rl}{}{\@latex@warning{some papers are not classified!}}
\if@allpapers\printbibliography[heading=empty]\fi%
\let\bibfont\biboldfont%
\end{refsection}}
\def\prop@warnpubs@message{Many of the proposers' publications are online at one of the following URIs:}
\def\prop@warnpubs@title{References}
\defbibheading{warnpubs}{\section*{\prop@warnpubs@title}%
\@ifundefined{prop@gen@pubspages}
{\@latex@warning{No publication pages specified;
use the pubspage key in the proposal environment!}}
{\prop@warnpubs@message%
\@for\@I:=\prop@gen@pubspages\do{\par\noindent\csname\@I\endcsname}}}
\defbibheading{empty}{}
\endinput
%%
%% End of file `proposal.cls'.

2374
base/proposal.dtx Normal file

File diff suppressed because it is too large Load Diff

37
base/proposal.ins Normal file
View File

@ -0,0 +1,37 @@
%%
%% This file generates files required to use the proposal package.
%% At your command prompt write
%%
%% latex proposal.ins
%%
%% Copyright(c) 2011 Michael Kohlhase
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
%% Either version 1.0 or, at your option, any later version.
%%
%% $Id: proposal.ins 21941 2011-06-30 07:02:41Z kohlhase $
%% $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/base/proposal.ins $
\input docstrip
\preamble
\endpreamble
%\usedir{tex/latex/listings}
\keepsilent
\askforoverwritefalse
% generate base package
\generate{\file{proposal.cls}{\from{proposal.dtx}{cls}}}
\generate{\file{reporting.cls}{\from{proposal.dtx}{reporting}}}
\generate{\file{pdata.sty}{\from{proposal.dtx}{pdata}}}
\Msg{*}
\Msg{* You probably need to move the file proposal.cls into a directory}
\Msg{* searched by TeX.}
\Msg{*}
\Msg{* And don't forget to refresh your filename database}
\Msg{* if your TeX distribution uses such a database.}
\Msg{*}
\endbatchfile

BIN
base/proposal.pdf Normal file

Binary file not shown.

137
base/reporting.cls Normal file
View File

@ -0,0 +1,137 @@
%%
%% This is file `reporting.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% proposal.dtx (with options: `reporting')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{reporting}[2013/02/19 v1.4 Project Reporting]
\newif\if@wpsubsection\@wpsubsectionfalse
\newif\ifsubmit\submitfalse
\newif\ifpublic\publicfalse
\newif\ifkeys\keysfalse
\newif\ifdelivs\delivsfalse
\newif\ifwork@areas\work@areastrue
\newif\if@RAM\@RAMfalse
\def\proposal@class{article}
\DeclareOption{wpsubsection}{\@wpsubsectiontrue}
\DeclareOption{submit}{\submittrue}
\DeclareOption{public}{\publictrue}
\DeclareOption{noworkareas}{\work@areasfalse\PassOptionsToClass{\CurrentOption}{pdata}}
\DeclareOption{RAM}{\@RAMtrue}
\DeclareOption{report}{\def\proposal@class{report}}
\DeclareOption{keys}{\keystrue}
\DeclareOption{deliverables}{\delivstrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass[a4paper,twoside]{\proposal@class}
\RequirePackage{amssymb}
\RequirePackage{url}
\RequirePackage{graphicx}
\RequirePackage{colortbl}
\RequirePackage{xcolor}
\RequirePackage{rotating}
\RequirePackage{fancyhdr}
\RequirePackage{array}
\RequirePackage{xspace}
\RequirePackage{comment}
\AtBeginDocument{\ifpublic\excludecomment{private}\fi}
\RequirePackage{tikz}
\RequirePackage{paralist}
\RequirePackage{a4wide}
\RequirePackage{boxedminipage}
\renewcommand{\thempfootnote}{\roman{mpfootnote}}
\renewcommand{\familydefault}{\sfdefault}
\RequirePackage[scaled=.90]{helvet}
\RequirePackage{textcomp}
\RequirePackage[hyperref=auto,style=numeric,defernumbers=true,backend=bibtex,backref=true,firstinits=true,maxbibnames=6]{biblatex}[2010/11-19]
\RequirePackage{csquotes}
\RequirePackage{mdframed}
\RequirePackage{pdata}
\definecolor{darkblue}{rgb}{0,0,.7}
\ifsubmit\def\prop@link@color{darkblue}\else\def\prop@link@color{blue}\fi
\RequirePackage[bookmarks=true,linkcolor=\prop@link@color,
citecolor=\prop@link@color,urlcolor=\prop@link@color,colorlinks=true,
breaklinks=true, bookmarksopen=true]{hyperref}
\ifsubmit
\RequirePackage[hide]{ed}
\RequirePackage[final,today]{svninfo}
\else
\RequirePackage[show]{ed}
\RequirePackage[eso-foot,today]{svninfo}
\fi
\renewcommand\ednoteshape{\sl\footnotesize}
\ifpublic\excludecomment{private}\else\includecomment{private}\fi
\setcounter{secnumdepth}{3}
\newif\ifofpage\ofpagefalse
\fancyhead[RE,LO]{\prop@gen@acronym}
\newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi}
\fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}}
\pagestyle{fancyplain}
\newif\if@report\@reportfalse
\newenvironment{report}[1][]%
{\@reporttrue\readpdata\jobname%
\ofpagetrue\setkeys{prop@gen}{#1}%
\pdata@open\jobname%
\@ifundefined{prop@gen@PIs}{}{\newcounter{@PIs}\@for\@I:=\prop@gen@PIs\do{\stepcounter{@PIs}}}%
\@ifundefined{prop@gen@sites}{}{\newcounter{@sites}\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}}}%
\setcounter{page}{0}%
\begin{prop@report}}
{\end{prop@report}%
\pdata@def{prop}{page}{last}{\thepage}\ofpagefalse\newpage
\printbibliography[heading=warnpubs]
\pdata@close}
\newenvironment{prop@report}
{\begin{center}
{\LARGE Final Project Report}\\[.2cm]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
{\large\today}\\[1em]
\begin{tabular}{c*{\the@PIs}{c}}
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{name}}\\
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{name}}
\end{tabular}\\[2cm]
\end{center}
\setcounter{tocdepth}{2}\tableofcontents\newpage\setcounter{page}{1}}
{}
\defbibheading{empty}{}
\newif\if@allpapers\@allpaperstrue
\newcommand\prop@ppl[3][]{\@allpapersfalse\message{ppl processing: #2}%
\printbibliography[heading=subbibliography,type=#2,title=#3#1]%
\@ifundefined{prop@rl}{\xdef\prop@rl{#2}}{\xdef\prop@rl{\prop@rl, #2}}}
\newcommand\prop@prl[1]{\message{unclassified: #1}%
\printbibliography[heading=subbibliography,title=Unclassified,#1]}%
\define@key{paperlist}{unclassified}[true]{\message{unclass: \prop@rl}\prop@prl\prop@rl}
\define@key{paperlist}{articles}[true]{\prop@ppl{article}{Articles}}
\define@key{paperlist}{chapters}[true]{\prop@ppl{inbook}{Book Chapters}}
\define@key{paperlist}{confpapers}[true]{\prop@ppl[,keyword=conference]{inproceedings}{Conference Papers}}
\define@key{paperlist}{wspapers}[true]{\prop@ppl[,notkeyword=conference]{inproceedings}{Workshop Papers}}
\define@key{paperlist}{theses}[true]{\prop@ppl{thesis}{Theses}}
\define@key{paperlist}{submitted}[true]{\prop@ppl[,keyword=submitted]{unpublished}{Submitted}}
\define@key{paperlist}{books}[true]{\prop@ppl{book}{Monographs}}
\define@key{paperlist}{techreports}[true]{\prop@ppl{techreport}{Technical Reports}}
\newcommand\prop@paperlist[2][]{%
\begin{refsection}%
\nocite{#2}%
\let\biboldfont\bibfont%
\renewcommand{\bibfont}{\footnotesize}%
\renewcommand{\baselinestretch}{.9}
\setkeys{paperlist}{#1}
\@ifundefined{prop@rl}{}{\@latex@warning{some papers are not classified!}}
\if@allpapers\printbibliography[heading=empty]\fi%
\let\bibfont\biboldfont%
\end{refsection}}
\def\prop@warnpubs@message{Many of the proposers' publications are online at one of the following URIs:}
\def\prop@warnpubs@title{References}
\defbibheading{warnpubs}{\section*{\prop@warnpubs@title}%
\@ifundefined{prop@gen@pubspages}
{\@latex@warning{No publication pages specified;
use the pubspage key in the proposal environment!}}
{\prop@warnpubs@message%
\@for\@I:=\prop@gen@pubspages\do{\par\noindent\csname\@I\endcsname}}}
\defbibheading{empty}{}
\endinput
%%
%% End of file `reporting.cls'.

17
dfg/Makefile Normal file
View File

@ -0,0 +1,17 @@
PREFIX = ../lib
PACKAGE = dfg
TDSCOLL = proposal
DTX.cls.base = dfgproposal
TDS.tex = dfgreporting.cls dfgpdata.sty
CTAN = $(TDS.tex)
EXDIRS = examples
all: package doc
@for d in $(EXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@); done;
include $(PREFIX)/Makefile.vars
TEXINPUTS = .:
include $(PREFIX)/Makefile.in

15
dfg/README Normal file
View File

@ -0,0 +1,15 @@
dfgproposal.cls: A class for preparing DFG proposals for collaborative projects
dfgreporting.cls: A class for reporting on DFG projects.
The dfgproposal and dfgreporting classes supports many of the specific elements of an
Einzelantrag to the DFG and the respective reporting documents. It is optimized towards
collaborative projects. The package comes with extensive examples. To start a new proposal
or report just copy the respective directory and modify. Note that the structure of EU
proposals changes from time to time, so that the examples may be out of date.
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg

83
dfg/dfgpdata.sty Normal file
View File

@ -0,0 +1,83 @@
%%
%% This is file `dfgpdata.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% dfgproposal.dtx (with options: `pdata')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{dfgpdata}[2013/02/19 v1.4 DFG Project Data]
\newif\ifdeutsch\deutschfalse
\DeclareOption{german}{\deutschtrue\message{Deutscher Antrag}}
\ProcessOptions
\define@key{prop@gen}{thema}{\def\prop@gen@thema{#1}\pdata@def{prop}{gen}{thema}{#1}}
\renewcommand\prop@gen@instrument{Neuantrag auf Sachbeihilfe}
\newcommand\prop@gen@thema{??? Thema ???}
\newcommand\deu[1]{#1}
\newcommand\dfg@applicants@lines{%
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{personaltitle} \wa@ref{person}\tl@ext{name}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{academictitle}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{birthdate}}\\}
\newcommand\dfg@applicants@institute@lines{%
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{shortname}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{workaddress}}\\
\prop@tl\prop@gen@PIs{Tel: \wa@ref{person}\tl@ext{worktel}}\\
\prop@tl\prop@gen@PIs{Fax: \wa@ref{person}\tl@ext{workfax}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{email}}\\}
\newcommand\dfg@applicants@private@lines{%
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{privaddress}}\\
\prop@tl\prop@gen@PIs{Tel: \wa@ref{person}\tl@ext{privtel}}\\}
\newcommand\dfg@applicants{%
\subsection{\if@sites\ifnum\the@sites>1 Joint Proposal; \fi\fi%
Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}%
\dfg@applicants@table}
\newcommand\dfg@topic{\subsection{\ifdeutsch Thema\else Topic \deu{(Thema)}\fi}\prop@gen@thema}
\newcommand\dfg@area@field{%
\ifdeutsch\subsection{Fachgebiet und Arbeitsrichtung}\else
\subsection{Research area and field of work \deu{(Fachgebiet und Arbeitsrichtung)}}\fi
\ifdeutsch Disziplin\else Scientific discipline\fi: \prop@gen@discipline\\
\ifdeutsch Arbeitsgebiet\else Fields of work\fi: \prop@gen@areas}
\newcommand\dfgprojpapers[2][]{\prop@paperlist[#1]{#2}}
\ifdeutsch
\renewcommand\prop@of@pages[2]{Seite~#1\ifofpage~von~#2\fi}
\renewcommand\wp@mk@title[1]{Arbeitspaket {#1}}
\renewcommand\wp@label[1]{AP{#1}}
\ifwork@areas
\renewcommand\wa@label[1]{AB{#1}}
\renewcommand\wa@mk@title[1]{Arbeitsbereich {#1}}
\fi
\renewcommand\prop@legend@totals{\textbf{Summen}}
\renewcommand\prop@legend@intendedtotals{\textbf{intendierte Summen}}
\renewcommand\wpfig@legend@wap{\textbf{\ifwork@areas{Arbeitsbereiche}\else{AP}\fi}}
\renewcommand\wpfig@legend@title{\textbf{Titel}}
\renewcommand\wpfig@legend@type{\textbf{Typ}}
\renewcommand\wpfig@legend@page{\textbf{Seite}}
\renewcommand\wpfig@legend@start{\textbf{Start}}
\renewcommand\wpfig@legend@length{\textbf{Dauer}}
\renewcommand\wpfig@legend@end{\textbf{Ende}}
\renewcommand\wpfig@legend@siteRM[1]{\site{#1}\if@RAM\ PM\fi}
\renewcommand\wpfig@legend@siteRAM[1]{\site{#1}\ HM}
\renewcommand\wpfig@legend@totalRM{Summe\if@RAM\ PM\fi}
\renewcommand\wpfig@legend@totalRAM{Summe HM}
\renewcommand\wpfig@legend@RM{PM}
\renewcommand\wpfig@legend@RAM{HM}
\renewcommand\wpfig@legend@RAM@expl{\if@RAM P/HM $\widehat=$ Personen/Hilfskraft Monate;\else\ Aufw\"ande in Personenmonaten\\\fi}
\renewcommand\wpfig@legend@lead@expl{(Arbeitspaketleiter sind \wp@lead@style@explained}
\renewcommand\wp@lead@style@explained{grau und kursiv markiert)}
\renewcommand\wpfig@legend@caption{{\ifwork@areas Arbeitsbereiche und \fi}Arbeitspakete}
\renewcommand\wp@legend@site{Partner}
\renewcommand\wp@legend@effort{Aufwand\if@RAM{ (PM+HM)}\fi}
\renewcommand\wp@legend@all{\textbf{Summe}}
\renewcommand\gantt@caption@main{Zeitliche Verteilung der Arbeitspakete}
\renewcommand\gantt@caption@lower{draft: unten die Lastverteilung}
\renewcommand\coherence@caption{Bisherige Kollaboration der {\pn} Partner}
\renewcommand\objective@label[1]{Z#1}
\renewcommand\task@label[1]{S#1}
\renewcommand\legend@partners{Partner}
\renewcommand\legend@lead{Leiter}
\renewcommand\task@label@long{Schritt}
\fi
\endinput
%%
%% End of file `dfgpdata.sty'.

110
dfg/dfgproposal.cls Normal file
View File

@ -0,0 +1,110 @@
%%
%% This is file `dfgproposal.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% dfgproposal.dtx (with options: `cls')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{dfgproposal}[2013/02/19 v1.4 DFG Proposal]
\newif\ifgeneral\generalfalse
\DeclareOption{general}{\generaltrue}
\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{dfgpdata}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{proposal}}
\ProcessOptions
\LoadClass{proposal}
\RequirePackage{eurosym}
\RequirePackage{dfgpdata}
\ifdeutsch\RequirePackage[ngerman]{babel}
\else\RequirePackage[ngerman,USenglish]{babel}\fi
\newenvironment{sitedescription}[2][]%
{\def\@test{#1}\def\@@title{\ifx\@test\@empty\wa@ref{institution}{#2}{acronym}\else #1\fi:
\textsc{\wa@ref{institution}{#2}{name}}}
\@for\@I:=#2\do{\pdata@target{site}\@I{}}\subsubsection\@@title}
{}
\newlength\applicants@table@columnwidth
\newcommand\dfg@applicants@table%
{\setlength\applicants@table@columnwidth\textwidth
\advance\applicants@table@columnwidth by -6em
\divide\applicants@table@columnwidth by \the@PIs
\ifnum\the@PIs>2\begin{tabular}{|l|*{\the@PIs}{p{\applicants@table@columnwidth}|}}
\else\begin{tabular}{|l|*{\the@PIs}{l|}}\fi
\hline
\dfg@applicants@lines\hline
&\multicolumn{\the@PIs}{|l|}{\textbf{Work Address\deu{ (Dienstanschrift)}:}}\\\hline
\dfg@applicants@institute@lines\hline
&\multicolumn{\the@PIs}{|l|}{\textbf{Private Address\deu{ (Privatanschrift)}:}}\\\hline
\dfg@applicants@private@lines\hline
\end{tabular}}
\renewenvironment{prop@proposal}
{\thispagestyle{empty}%
\begin{center}
{\LARGE \prop@gen@instrument}\\[.2cm]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
%{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
%{\large\today}\\[1em]
\WAauthorblock[aff]\prop@gen@PIs\\[2cm]
\end{center}
\ifgeneral
\edef\keep@tocdepth{\value{tocdepth}}
\setcounter{tocdepth}{2}\tableofcontents
\setcounter{tocdepth}{\keep@tocdepth}
\setcounter{section}{-1}
\newpage\thispagestyle{empty}
\ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else
\section{General Information (for the ELAN system only)}\fi
\dfg@applicants
\dfg@topic
\dfg@area@field
\ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else
\subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}}
\fi
\@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration};
\ifdeutsch
\@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit
\prop@gen@since.}
\else
\@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started
\prop@gen@since.}
\fi
\ifdeutsch\subsection{Antragszeitraum}\else
\subsection{Application period \deu{(Antragszeitraum)}}\fi
\prop@gen@months\quad Months starting \prop@gen@start
\@ifundefined{prop@gen@fundsuntil}{}
{ (\ifdeutsch mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)}
\ifdeutsch\else\selectlanguage{USenglish}\fi
\newpage\fi%ifgeneral
\setcounter{page}{0}}
{}
\ifdeutsch
\def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:}
\def\prop@warnpubs@title{Literatur}
\fi
\newcommand\attachments{\ifdeutsch\section{Verzeichnis der Anlagen}\else
\section{List of Attachments \deu{(Verzeichnis der Anlagen)}}\fi
\begin{itemize}
\@for\@I:=\prop@gen@PIs\do{%
\item\ifdeutsch Lebenslauf und Publikatinsverzeichnis\else
Curriculum Vitae and list of publications for \fi
\@nameuse{wa@person@\@I @personaltitle}
\@nameuse{wa@person@\@I @name}
(CD + \ifdeutsch Ausdruck\else printed version\fi)}
\ifdeutsch
\item Publications either cited in section~\ref{sec:ourpubs} or occurring in one of the
curricula vitae (CD only)\else
\item Zitierte Publicationen aus Abschnitt~\ref{sec:ourpubs} oder einem der Lebensl\"aufe
(nur CD)\fi
\end{itemize}}
\ifgeneral
\newenvironment{Zusammenfassung}{\thispagestyle{empty}\subsection{Zusammenfassung}\begin{otherlanguage}{ngerman}}
{\end{otherlanguage}\newpage\setcounter{page}1}
\newenvironment{Summary}{\thispagestyle{empty}\subsection{Summary}}
{\newpage\setcounter{page}1}
\else
\excludecomment{Summary}
\excludecomment{Zusammenfassung}
\fi
\endinput
%%
%% End of file `dfgproposal.cls'.

607
dfg/dfgproposal.dtx Normal file
View File

@ -0,0 +1,607 @@
% \iffalse meta-comment
% A class for preparing DFG proposals
%
% Copyright (c) 2011 Michael Kohlhase, all rights reserved
%
% This file is distributed under the terms of the LaTeX Project Public
% License from CTAN archives in directory macros/latex/base/lppl.txt.
% Either version 1.0 or, at your option, any later version.
%
% The development version of this file can be found at
% $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/dfgproposal.dtx $
% \fi
%
% \iffalse
%<cls|pdata|reporting>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<cls>\ProvidesClass{dfgproposal}[2013/02/19 v1.4 DFG Proposal]
%<pdata>\ProvidesPackage{dfgpdata}[2013/02/19 v1.4 DFG Project Data]
%<reporting>\ProvidesPackage{dfgreporting}[2013/02/19 v1.4 DFG Project Reporting]
%<*driver>
\documentclass[twoside]{ltxdoc}
\DoNotIndex{\def,\long,\edef,\xdef,\gdef,\let,\global}
\DoNotIndex{\begin,\AtEndDocument,\newcommand,\newcounter,\stepcounter}
\DoNotIndex{\immediate,\openout,\closeout,\message,\typeout}
\DoNotIndex{\section,\scshape,\arabic}
\EnableCrossrefs
%\CodelineIndex
%\OnlyDescription
\RecordChanges
\usepackage{textcomp,url,paralist,a4wide,xspace}
\usepackage[show]{ed}
\usepackage[eso-foot,today,draft]{svninfo}
\usepackage[maxnames=6,hyperref=auto,style=alphabetic,backend=bibtex]{biblatex}
\bibliography{kwarc}
\usepackage[bookmarks=true,linkcolor=blue,
citecolor=blue,urlcolor=blue,colorlinks=true,
breaklinks=true, bookmarksopen=true]{hyperref}
\makeindex
\newcommand\subversion{\textsc{Subversion}\xspace}
\begin{document}
\svnInfo $Id: dfgproposal.dtx 24385 2013-05-12 09:53:03Z kohlhase $
\svnKeyword $URL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/dfgproposal.dtx $
\DocInput{dfgproposal.dtx}
\end{document}
%</driver>
% \fi
%
%\iffalse\CheckSum{627}\fi
%
% \changes{v1.1}{2011/03/18}{separating out from new proposal class}
% \changes{v1.1}{2011/12/09}{various tweaks and corrections}
%
% \GetFileInfo{dfgproposal.cls}
%
% \MakeShortVerb{\|}
%
% \title{Preparing DFG Proposals and Reports in {\LaTeX} with \texttt{dfgproposal.cls}}
% \author{Michael Kohlhase\\
% Computer Science, Jacobs University Bremen\\
% \url{http://kwarc.info/kohlhase}}
% \maketitle
%
% \begin{abstract}
% The |dfgproposal| class supports many of the specific elements of a DFG Proposal. It
% is optimized towards collaborative projects. The package comes with an extensive
% example (a fake DFG proposal) that shows all elements in action.
% \end{abstract}
%
% \tableofcontents\newpage
%
% \section{Introduction}\label{sec:intro}
%
% Writing grant proposals is a collaborative effort that requires the integration of
% contributions from many individuals. The use of an ASCII-based format like {\LaTeX}
% allows to coordinate the process via a source code control system like
% \subversion, allowing the proposal writing team to concentrate on the contents
% rather than the mechanics of wrangling with text fragments and revisions.
%
% The |dfgproposal| class extends the |proposal| class~\cite{Kohlhase:pplp:svn} and
% supports many of the specific elements of a DFG Proposal. The package documentation
% is still preliminary, fragmented and incomplete and only dwells on the particulars of
% DFG proposals, so we treat~\cite{Kohlhase:pplp:svn} as a prerequisite. Please consult
% the example proposal |dfg/proposal.tex|, which comes with the package and shows the usage of
% the class in action. It is intended as a template for your proposal, but please bear in
% mind that the DFG guidelines may change, if in doubt, please consult the DFG guide for
% proposers~\cite{DFG:102e}.
%
% The |dfgreporting| class supports most of the specific elements of the final project
% reports to the DFG. The example report |dfg/finalreport.tex| is intended as a template
% for your final report, the DFG guide~\cite[pp. 9f]{DFG:2012e} gives details (the German
% Version~\cite[pp. 23ff]{DFG:201} has more).
%
% The |dfgproposal| and |dfgreporting| classes and the |dfgpdata| package are distributed
% under the terms of the LaTeX Project Public License from CTAN archives in directory
% |macros/latex/base/lppl.txt|. Either version 1.0 or, at your option, any later
% version. The CTAN archive always contains the latest stable version, the development
% version can be found at
% {\url{https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal}}. For bug reports
% please use the sTeX trac at {\url{https://trac.kwarc.info/sTeX/}} with component
% |dfgproposal|.
%
% \section{The User Interface}\label{sec:user-interface}
%
% In this section we will describe the functionality offered by the |dfgproposal| class
% along the lines of the macros and environments the class provides. Much of the
% functionality can better be understood by studying the functional example |proposal.tex|
% (and its dependents) that comes with the |dfgproposal| package in conjunction with the
% proposer's leaflet of the DFG~\cite{DFG:102e} (we have included it as |1_02e.pdf| for
% convenience into the package distribution).\ednote{talk about reporting as well.}
%
% \subsection{Package Options}\label{sec:user:options}
%
% As usual in {\LaTeX}, the package is loaded by
% |\documentclass[|\meta{options}|]{dfgproposal}|, where |[|\meta{options}|]| is optional
% and gives a comma separated list of options specified in~\cite{Kohlhase:pplp:svn}. The
% |dfgproposal| class adds the two options
% \begin{compactenum}
% \item \DescribeMacro{general}|general|, which allows generates a first section with
% general proposal metadata (as the old form proposals required). This is useful to
% check all the data (and have a place to copy/paste from).
% \item \DescribeMacro{german}|german|, which makes all the generated parts in German.
% \end{compactenum}
%
% \subsection{Proposal Metadata and Title page}\label{sec:user:metadata}
%
% The metadata of the proposal is specified in the \DescribeEnv{proposal}|proposal|
% environment, which also generates the title page and the first section of the proposal
% as well as the last pages of the proposal with the signatures, enclosures, and
% references. The |proposal| environment should contain all the mandatory parts of the
% proposal text. The |proposal| environment uses the following DFG-specific keys to
% specify metadata.
% \begin{compactitem}
% \item \DescribeMacro{thema}|thema| for a concise (up to 140 characters) description of
% the topic of the proposal. This has to be in German and will be used by the DFG in
% internal communications and publications.
% \end{compactitem}
%
% \subsection{Project-Related Papers}\label{sec:user:papers}
%
% Since August 2010, DFG requests list of ``project-related papers'' as section 2.2. We
% use the |biblatex| package to automate this. We only need to use
% \DescribeMacro{\dfgprojpapers}|\dfgprojpapers{|\meta{keys}|}|, where \meta{keys} is a
% comma-separated list of keys from the bibTeX database used in the proposal. Note that
% you will have to run |bibtex -min-crossrefs=999 proposal1-blx.aux| to generate file
% |proposal1.bbl| that generates the bibliography list. To automate this (at least on Unix
% systems), we have added the field |Makefile.template|, which allows you do do any
% necessary steps by just typing |make|.
%
% \subsection{Final Report Infrastructure}\label{sec:user:report}
%
% The |dfgreporting| class gives an infrastructure for writing final reports of completed
% projects (see the file |finalreport.tex| in the package distribution). The
% \DescribeEnv{finalreport}|finalreport| environment has functionality analogous to the
% |proposal| environment. It takes the same metadata keys --- making it easy to generate
% by copy/paste from the proposal --- but adds the keys
% \DescribeMacro{reportperiod}|reportperiod| for specifying the funded period,
% \DescribeMacro{applareas}|applareas| for the application areas, and
% \DescribeMacro{*employed}\meta{site}|employed| for all sites \meta{site}. The latter
% allow to specify the employee and their employment times. Furthermore, the key
% \DescribeMacro{key}|key| can be used to specify the reference key (something like
% \texttt{KO 2428 47-11}) given to the project by DFG. Note that in the case of multiple
% proposers, you can use multiple instances of |key| to specify more than one reference
% key.
%
% \section{Limitations and Enhancements}\label{sec:limitations}
%
% The |dfgproposal| is relatively early in its development, and many enhancements are
% conceivable. We will list them here.
% \begin{enumerate}
% \item Some people still want to write their proposal and reports in German, for that it
% would be nice to have a localized version.
% \item it would be nice if we could count the characters in the places where lengths are
% restricted (|Abriss|, and |thema|). Then we could warn the authors.
% \end{enumerate}
% If you have other enhancements to propose or feel you can alleviate some limitation,
% please feel free to contact the author.
%
%\section*{Acknowledgements}
%
% The following persons have contributed suggestions and fixes to the |dfgproposal| class:
% Florian Rabe, Christoph Lange, Andrea Kohlhase, Jens Lehmann.
%
% \StopEventually{\newpage\PrintIndex\newpage\PrintChanges\newpage\printbibliography}\newpage
%
% \section{The Implementation}\label{sec:implementation}
%
% In this section we describe the implementation of the functionality of the |dfgproposal|
% and |dfgreporting| classes and the |dfgpdata| package.
%
% \subsection{Package Options and Format Initialization}\label{sec:impl:options}
%
% We first set up the options for the package.
%
% \begin{macrocode}
%<cls>\newif\ifgeneral\generalfalse
%<cls>\DeclareOption{general}{\generaltrue}
%<cls|reporting>\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{dfgpdata}}
%<cls>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{proposal}}
%<reporting>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{reporting}}
%<pdata>\newif\ifdeutsch\deutschfalse
%<pdata>\DeclareOption{german}{\deutschtrue\message{Deutscher Antrag}}
%<cls|reporting|pdata>\ProcessOptions
% \end{macrocode}
%
% Then we load the packages we make use of
%
% \begin{macrocode}
%<cls>\LoadClass{proposal}
%<reporting>\LoadClass{reporting}
%<*cls|reporting>
\RequirePackage{eurosym}
\RequirePackage{dfgpdata}
\ifdeutsch\RequirePackage[ngerman]{babel}
\else\RequirePackage[ngerman,USenglish]{babel}\fi
%</cls|reporting>
% \end{macrocode}
%
% \subsection{Proposal Metadata}\label{sec:impl:metadata}
%
% We extend the metadata keys from the |proposal| class.
% \begin{macrocode}
%<*pdata>
\define@key{prop@gen}{thema}{\def\prop@gen@thema{#1}\pdata@def{prop}{gen}{thema}{#1}}
%</pdata>
% \end{macrocode}
% and now the ones for the final report
% \begin{macrocode}
%<*reporting>
\define@key{prop@gen}{reportperiod}{\def\prop@gen@reportperiod{#1}}
\define@key{prop@gen}{applareas}{\def\prop@gen@applareas{#1}}
\define@key{prop@gen}{key}{\@dmp{key=#1}%
\@ifundefined{prop@gen@keys}{\xdef\prop@gen@keys{#1}}{\xdef\prop@gen@keys{\prop@gen@keys,#1}}}
\define@key{prop@gen}{coop}{\@dmp{coop=#1}%
\@ifundefined{prop@gen@coops}{\xdef\prop@gen@coops{{#1}}}{\xdef\prop@gen@coops{\prop@gen@coops,{#1}}}}
\define@key{prop@gen}{projpapers}{\def\prop@gen@projpapers{#1}}
%</reporting>
% \end{macrocode}
%
% and the default values, these will be used, if the author does not specify something
% better.
%
% \begin{macrocode}
%<*pdata>
\renewcommand\prop@gen@instrument{Neuantrag auf Sachbeihilfe}
\newcommand\prop@gen@thema{??? Thema ???}
\newcommand\deu[1]{#1}
% \end{macrocode}
%
% Now, we can build the title page and general information, we first start with the
% applicants table. The following macros build up the lines to be used in the table
% eventually.
% \begin{macro}{\dfg@applicants@*}
% the macros use the |\prop@tl| macro from the base |proposal| package which iterates
% over the first argument (the PIs here) building up lines with the material from the
% second argument (where |\tl@ext| is the current PI).
% \begin{macrocode}
\newcommand\dfg@applicants@lines{%
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{personaltitle} \wa@ref{person}\tl@ext{name}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{academictitle}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{birthdate}}\\}
\newcommand\dfg@applicants@institute@lines{%
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{shortname}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{workaddress}}\\
\prop@tl\prop@gen@PIs{Tel: \wa@ref{person}\tl@ext{worktel}}\\
\prop@tl\prop@gen@PIs{Fax: \wa@ref{person}\tl@ext{workfax}}\\
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{email}}\\}
\newcommand\dfg@applicants@private@lines{%
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{privaddress}}\\
\prop@tl\prop@gen@PIs{Tel: \wa@ref{person}\tl@ext{privtel}}\\}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\dfg@applicants}
% We automatically make it plurals if there is more than one PI and we indicate a joint
% proposal if there is more than one site.
% \begin{macrocode}
\newcommand\dfg@applicants{%
\subsection{\if@sites\ifnum\the@sites>1 Joint Proposal; \fi\fi%
Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}%
\dfg@applicants@table}
% \end{macrocode}
% \end{macro}
%
% \begin{macrocode}
\newcommand\dfg@topic{\subsection{\ifdeutsch Thema\else Topic \deu{(Thema)}\fi}\prop@gen@thema}
% \end{macrocode}
%
% \begin{macrocode}
\newcommand\dfg@area@field{%
\ifdeutsch\subsection{Fachgebiet und Arbeitsrichtung}\else
\subsection{Research area and field of work \deu{(Fachgebiet und Arbeitsrichtung)}}\fi
\ifdeutsch Disziplin\else Scientific discipline\fi: \prop@gen@discipline\\
\ifdeutsch Arbeitsgebiet\else Fields of work\fi: \prop@gen@areas}
%</pdata>
% \end{macrocode}
%
% \begin{environment}{sitedescription}
% \ednote{this code should probably be refactored into proposal.dtx}
% \begin{macrocode}
%<*cls>
\newenvironment{sitedescription}[2][]%
{\def\@test{#1}\def\@@title{\ifx\@test\@empty\wa@ref{institution}{#2}{acronym}\else #1\fi:
\textsc{\wa@ref{institution}{#2}{name}}}
\@for\@I:=#2\do{\pdata@target{site}\@I{}}\subsubsection\@@title}
{}
% \end{macrocode}
% \end{environment}
%
% \subsection{Proposal Title Page}\label{sec:impl:proptitlepage}
%
% \begin{macro}{\dfg@applicants@table}
% Now, we can build the title page and general information, we first start with the
% applicants table: We first compute the width of the columns for the case where we have
% more than two PIs. Then we add the lines we compute with the auxiliary macros
% |\dfg@applicants@lines|, |\dfg@applicants@institute@lines| and
% |\dfg@applicants@private@lines|
% \begin{macrocode}
\newlength\applicants@table@columnwidth
\newcommand\dfg@applicants@table%
{\setlength\applicants@table@columnwidth\textwidth
\advance\applicants@table@columnwidth by -6em
\divide\applicants@table@columnwidth by \the@PIs
\ifnum\the@PIs>2\begin{tabular}{|l|*{\the@PIs}{p{\applicants@table@columnwidth}|}}
\else\begin{tabular}{|l|*{\the@PIs}{l|}}\fi
\hline
\dfg@applicants@lines\hline
&\multicolumn{\the@PIs}{|l|}{\textbf{Work Address\deu{ (Dienstanschrift)}:}}\\\hline
\dfg@applicants@institute@lines\hline
&\multicolumn{\the@PIs}{|l|}{\textbf{Private Address\deu{ (Privatanschrift)}:}}\\\hline
\dfg@applicants@private@lines\hline
\end{tabular}}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{prop@proposal}
% This internal environment is called in the |proposal| environment from the |proposal|
% class.
% \begin{macrocode}
\renewenvironment{prop@proposal}
{\thispagestyle{empty}%
\begin{center}
{\LARGE \prop@gen@instrument}\\[.2cm]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
{\large\today}\\[1em]
\WAauthorblock[aff]\prop@gen@PIs\\[2cm]
\end{center}
\edef\keep@tocdepth{\value{tocdepth}}
\setcounter{tocdepth}{2}\tableofcontents
\setcounter{tocdepth}{\keep@tocdepth}
\ifgeneral\setcounter{section}{-1}
\newpage\thispagestyle{empty}
\ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else
\section{General Information (for the ELAN system only)}\fi
\dfg@applicants
\dfg@topic
\dfg@area@field
\ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else
\subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}}
\fi
\@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration};
\ifdeutsch
\@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit
\prop@gen@since.}
\else
\@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started
\prop@gen@since.}
\fi
\ifdeutsch\subsection{Antragszeitraum}\else
\subsection{Application period \deu{(Antragszeitraum)}}\fi
\prop@gen@months\quad Months starting \prop@gen@start
\@ifundefined{prop@gen@fundsuntil}{}
{ (\ifdeutsch mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)}
\ifdeutsch\else\selectlanguage{USenglish}\fi
\newpage\fi%ifgeneral
\setcounter{page}{0}}
{}
% \end{macrocode}
% \end{environment}
% We also need to translage some of the generated parts
% \begin{macrocode}
\ifdeutsch
\def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:}
\def\prop@warnpubs@title{Literatur}
\fi
% \end{macrocode}
%
% \begin{macro}{\attachments}
% \ednote{MK: this is deprecated (no longer useful with the ELAN system), delete at some time}
% \begin{macrocode}
\newcommand\attachments{\ifdeutsch\section{Verzeichnis der Anlagen}\else
\section{List of Attachments \deu{(Verzeichnis der Anlagen)}}\fi
\begin{itemize}
\@for\@I:=\prop@gen@PIs\do{%
\item\ifdeutsch Lebenslauf und Publikatinsverzeichnis\else
Curriculum Vitae and list of publications for \fi
\@nameuse{wa@person@\@I @personaltitle}
\@nameuse{wa@person@\@I @name}
(CD + \ifdeutsch Ausdruck\else printed version\fi)}
\ifdeutsch
\item Publications either cited in section~\ref{sec:ourpubs} or occurring in one of the
curricula vitae (CD only)\else
\item Zitierte Publicationen aus Abschnitt~\ref{sec:ourpubs} oder einem der Lebensl\"aufe
(nur CD)\fi
\end{itemize}}
%</cls>
% \end{macrocode}
% \end{macro}
%
% \subsection{Reporting Title Page}
%
% The |prop@report| environment is similar, but somewhat simpler.
%
% \begin{macro}{\dfg@applicants@table}
% Now, we can build the title page and general information, we first start with the
% applicants table:
% \begin{macrocode}
%<*reporting>
\newcommand\dfg@applicants@table%
{\begin{tabular}{|l|*{\the@PIs}{l|}}\hline
\dfg@applicants@lines\hline
&\multicolumn{\the@PIs}{|l|}{\textbf{Private Address\deu{ (Privatanschrift)}:}}\\\hline
\dfg@applicants@private@lines\hline
\end{tabular}}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\dfg@institute@table}
% Now, we can build the title page and general information, we first start with the
% applicants table:
% \begin{macrocode}
\newcommand\dfg@institute@table%
{\begin{tabular}{|l|*{\the@PIs}{l|}}\hline
\dfg@applicants@institute@lines\hline
\end{tabular}}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{prop@report}
% \begin{macrocode}
\newcommand\prop@assoc[2]{\let\@tmpop=\relax\@for\@I:=#2\do{\@tmpop\@I\let\@tmpop=#1}}
\newcommand\show@prop@gen@keys{\def\@cb{, }\@ifundefined{prop@gen@keys}{??:???? ?/?}{\prop@assoc\@cb\prop@gen@keys}}
\renewenvironment{prop@report}
{\selectlanguage{USenglish}
\thispagestyle{empty}%
\begin{center}
{\LARGE Final Project Report}\\[.2cm]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
{\large Reference number(s): \show@prop@gen@keys}\\[.2cm]
{\large\today}\\[1em]
\begin{tabular}{c*{\the@PIs}{c}}
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{name}}\\
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{name}}
\end{tabular}\\[2cm]
\end{center}
\setcounter{tocdepth}{1}\tableofcontents\newpage\setcounter{page}{1}
\section{General Information \deu{(Allgemeine Angaben)}}
\subsection{Reference Numbers \deu{(DFG Gesch\"aftszeichen)}}
\show@prop@gen@keys
\dfg@applicants
\subsection{Institute/Chair \deu{(Institut/Lehrstuhl)}}\dfg@institute@table
\dfg@topic
% no longer necessary
% \subsection{DFG-Funded Researchers \deu{(Aus DFG-Mitteln bezahlte Wissenschaftler)}}
% \begin{tabular}{|l|l|}\hline
% Partner & Employee/Period\\\hline\hline
% \prop@gen@employed@lines
% \end{tabular}
\subsection{Report and Funding Period \deu{(Berichts- und F\"orderzeitraum)}}
\prop@gen@reportperiod
\dfg@area@field
\subsection{Application Areas \deu{(Verwertungsfelder)}}\prop@gen@applareas
% no longer necessary
% \subsection{Cooperation Partners \deu{(Kooperationspartner)}}
% \begin{compactitem}
% \@for\@I:=\prop@gen@coops\do{\item \@I}
% \end{compactitem}
\dfgprojpapers\prop@gen@projpapers}
{\signatures{Signatures \deu{(Unterschriften)}}}
%</reporting>
% \end{macrocode}
% \end{environment}
%
% \begin{macrocode}
%<*cls>
\ifgeneral
\newenvironment{Zusammenfassung}{\thispagestyle{empty}\subsection{Zusammenfassung}\begin{otherlanguage}{ngerman}}
{\end{otherlanguage}\newpage\setcounter{page}1}
\newenvironment{Summary}{\thispagestyle{empty}\subsection{Summary}}
{\newpage\setcounter{page}1}
\else
\excludecomment{Summary}
\excludecomment{Zusammenfassung}
\fi
%</cls>
% \end{macrocode}
%
% \subsection{Project-Related Papers}\label{sec:impl:papers}
%
% \begin{macro}{\dfgprojpapers}
% \begin{macrocode}
%<*pdata>
\newcommand\dfgprojpapers[2][]{\prop@paperlist[#1]{#2}}
%</pdata>
% \end{macrocode}
% \end{macro}
%
% \subsection{German Reports}\label{sec:impl:german}
%
% We have to redefine some macros for German reports.
% \begin{macrocode}
%<*pdata>
\ifdeutsch
\renewcommand\prop@of@pages[2]{Seite~#1\ifofpage~von~#2\fi}
\renewcommand\wp@mk@title[1]{Arbeitspaket {#1}}
\renewcommand\wp@label[1]{AP{#1}}
\ifwork@areas
\renewcommand\wa@label[1]{AB{#1}}
\renewcommand\wa@mk@title[1]{Arbeitsbereich {#1}}
\fi
\renewcommand\prop@legend@totals{\textbf{Summen}}
\renewcommand\prop@legend@intendedtotals{\textbf{intendierte Summen}}
\renewcommand\wpfig@legend@wap{\textbf{\ifwork@areas{Arbeitsbereiche}\else{AP}\fi}}
\renewcommand\wpfig@legend@title{\textbf{Titel}}
\renewcommand\wpfig@legend@type{\textbf{Typ}}
\renewcommand\wpfig@legend@page{\textbf{Seite}}
\renewcommand\wpfig@legend@start{\textbf{Start}}
\renewcommand\wpfig@legend@length{\textbf{Dauer}}
\renewcommand\wpfig@legend@end{\textbf{Ende}}
\renewcommand\wpfig@legend@siteRM[1]{\site{#1}\if@RAM\ PM\fi}
\renewcommand\wpfig@legend@siteRAM[1]{\site{#1}\ HM}
\renewcommand\wpfig@legend@totalRM{Summe\if@RAM\ PM\fi}
\renewcommand\wpfig@legend@totalRAM{Summe HM}
\renewcommand\wpfig@legend@RM{PM}
\renewcommand\wpfig@legend@RAM{HM}
\renewcommand\wpfig@legend@RAM@expl{\if@RAM P/HM $\widehat=$ Personen/Hilfskraft Monate;\else\ Aufw\"ande in Personenmonaten\\\fi}
\renewcommand\wpfig@legend@lead@expl{(Arbeitspaketleiter sind \wp@lead@style@explained}
\renewcommand\wp@lead@style@explained{grau und kursiv markiert)}
\renewcommand\wpfig@legend@caption{{\ifwork@areas Arbeitsbereiche und \fi}Arbeitspakete}
\renewcommand\wp@legend@site{Partner}
\renewcommand\wp@legend@effort{Aufwand\if@RAM{ (PM+HM)}\fi}
\renewcommand\wp@legend@all{\textbf{Summe}}
\renewcommand\gantt@caption@main{Zeitliche Verteilung der Arbeitspakete}
\renewcommand\gantt@caption@lower{draft: unten die Lastverteilung}
\renewcommand\coherence@caption{Bisherige Kollaboration der {\pn} Partner}
\renewcommand\objective@label[1]{Z#1}
\renewcommand\task@label[1]{S#1}
% \renewcommand\month@label[1]{M#1}
\renewcommand\legend@partners{Partner}
\renewcommand\legend@lead{Leiter}
\renewcommand\task@label@long{Schritt}
\fi
%</pdata>
% \end{macrocode}
% \Finale
\endinput
% LocalWords: dfgproposal dtx kohlhase areastrue svninfo noworkareas twoside
% LocalWords: areasfalse wa textcomp amssymb url graphicx colortbl xcolor RO
% LocalWords: fancyhdr keyval eurosym tikz calc USenglish ngerman linkcolor ne
% LocalWords: citecolor urlcolor colorlinks pagecolor breaklinks bookmarksopen
% LocalWords: hyperref LaTeX workpackage PIs thema acrolong anzungsantrag im
% LocalWords: Einzelverfahren tabline Allgemeine Angaben Antragsteller worktel
% LocalWords: bitabline personaltitle academictitle birthdate Dienstanschrift
% LocalWords: workaddress atabline workfax Privatanschrift privaddress privtel
% LocalWords: dt Kennwort Fachgebiet und Arbeitsrichtung Voraussichtliche wa
% LocalWords: Gesamtdauer Antragszeitraum Zusammenfassung workarea wp wps num
% LocalWords: refundefinedtrue lightgray gantt xstep Unterschriften Id areas
% LocalWords: submit hide ed public article paper today array comment wide RE
% LocalWords: babel true bookmarks blue LO LE page of prop sites key site RM
% LocalWords: def id title acronym discipline start months Proposal Erg by cls
% LocalWords: DFG empty em name affiliation Applicants Work Address email The
% LocalWords: curriculum vita the applicants are enclosed appendix reference
% LocalWords: Research area and field work Scientific Fields Anticipated write
% LocalWords: duration Application period Summary short lead Package label task
% LocalWords: tasks deps number line Effort target ids aux dfg count warning at
% LocalWords: for undefined safe zero one two three four five six seven eight
% LocalWords: nine ten eleven twelve style lines totals Packages xscale yscale
% LocalWords: step set gray very thin grid workphase len force phase length to
% LocalWords: taskdep from rectangle left right width pt color red above dep
% LocalWords: Overview Activities Signatures Date paralist ymonths ymid yinc
% LocalWords: xend effort month iffalse eustrep.dtx fileversion maketitle Antr
% LocalWords: tableofcontents DescribeEnv ifpublic ifpublic compactitem wpfig
% LocalWords: wpfig workplan workplan bookeeping wissenchaftliche tasklist dmp
% LocalWords: tasklist taskin taskref taskref tasktref tasktref localtaskref
% LocalWords: localtaskref ganttchart biblatex dfgprojpapers dfgprojpapers ifx
% LocalWords: bibtex proposal1-blx.aux pdataref WPtref WPtref WAref WAref WAtref
% LocalWords: WAtref protectmacro thebibliography bibitem newblock newif inst
% LocalWords: ifsubmit submitfalse publicfalse ifkeys keysfalse ifwork RAMtrue
% LocalWords: submittrue publictrue excludecomment RAMfalse keystrue sfdefault
% LocalWords: renewcommand familydefault helvet includecomment subsubsections
% LocalWords: setcounter secnumdepth ifofpage ofpagefalse fancyhead thepage sw
% LocalWords: pagestyle fancyplain sitesfalse sitestrue ifundefined gdef allwp
% LocalWords: fundedperiod reportperiod textbf newenvironment titlepage auxout
% LocalWords: thispagestyle newcounter stepcounter tocdepth ofpagetrue setkeys
% LocalWords: finalreport orderzeitraum thewa thewp addtocounter bigskip pws
% LocalWords: textsf smallskip ignorespaces subsubsection thedfg theallwp req
% LocalWords: compactenum compactenum thetask newcount thegantt refsection tl
% LocalWords: nocite defbibheading ourpubs printbibliography expandafter ifnum
% LocalWords: csname endcsname dfgcount ifcase cellcolor wptable widehat qquad
% LocalWords: tabularnewline wplist ifgantt drafttrue RMdisclaimer draftfalse
% LocalWords: RMdisclaimerfalse RMdisclaimertrue newdimen taskwps thetaskwps
% LocalWords: whilenum hfill marginpar texteuro officialeuro texttt newpage cb
% LocalWords: min-crossrefs pdata xdef newcommand hline aff
% LocalWords: renewenvironment nameuse paperlist applareas applareas dfgpdata
% LocalWords: Gesch aftszeichen projpapers shortname sitedescription ednote
% LocalWords: textsc newlength setlength textwidth WAauthorblock assoc tmpop
% LocalWords: tmpop tmpop

37
dfg/dfgproposal.ins Normal file
View File

@ -0,0 +1,37 @@
%%
%% This file generates files required to use the dfgproposal package.
%% At your command prompt write
%%
%% latex dfgproposal.ins
%%
%% Copyright(c) 2010 Michael Kohlhase
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
%% Either version 1.0 or, at your option, any later version.
%%
%% $Id: dfgproposal.ins 23009 2012-01-18 10:12:28Z kohlhase $
%% $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/dfgproposal.ins $
\input docstrip
\preamble
\endpreamble
%\Usedir{tex/latex/listings}
\keepsilent
\askforoverwritefalse
% generate base package
\generate{\file{dfgpdata.sty}{\from{dfgproposal.dtx}{pdata}}}
\generate{\file{dfgproposal.cls}{\from{dfgproposal.dtx}{cls}}}
\generate{\file{dfgreporting.cls}{\from{dfgproposal.dtx}{reporting}}}
\Msg{*}
\Msg{* You probably need to move the file dfgproposal.cls, dfgreporting.cls, and dfgpdata.sty}
\Msg{* into a directory searched by TeX.}
\Msg{*}
\Msg{* And don't forget to refresh your filename database}
\Msg{* if your TeX distribution uses such a database.}
\Msg{*}
\endbatchfile

BIN
dfg/dfgproposal.pdf Normal file

Binary file not shown.

67
dfg/dfgreporting.cls Normal file
View File

@ -0,0 +1,67 @@
%%
%% This is file `dfgreporting.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% dfgproposal.dtx (with options: `reporting')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{dfgreporting}[2013/02/19 v1.4 DFG Project Reporting]
\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{dfgpdata}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{reporting}}
\ProcessOptions
\LoadClass{reporting}
\RequirePackage{eurosym}
\RequirePackage{dfgpdata}
\ifdeutsch\RequirePackage[ngerman]{babel}
\else\RequirePackage[ngerman,USenglish]{babel}\fi
\define@key{prop@gen}{reportperiod}{\def\prop@gen@reportperiod{#1}}
\define@key{prop@gen}{applareas}{\def\prop@gen@applareas{#1}}
\define@key{prop@gen}{key}{\@dmp{key=#1}%
\@ifundefined{prop@gen@keys}{\xdef\prop@gen@keys{#1}}{\xdef\prop@gen@keys{\prop@gen@keys,#1}}}
\define@key{prop@gen}{coop}{\@dmp{coop=#1}%
\@ifundefined{prop@gen@coops}{\xdef\prop@gen@coops{{#1}}}{\xdef\prop@gen@coops{\prop@gen@coops,{#1}}}}
\define@key{prop@gen}{projpapers}{\def\prop@gen@projpapers{#1}}
\newcommand\dfg@applicants@table%
{\begin{tabular}{|l|*{\the@PIs}{l|}}\hline
\dfg@applicants@lines\hline
&\multicolumn{\the@PIs}{|l|}{\textbf{Private Address\deu{ (Privatanschrift)}:}}\\\hline
\dfg@applicants@private@lines\hline
\end{tabular}}
\newcommand\dfg@institute@table%
{\begin{tabular}{|l|*{\the@PIs}{l|}}\hline
\dfg@applicants@institute@lines\hline
\end{tabular}}
\newcommand\prop@assoc[2]{\let\@tmpop=\relax\@for\@I:=#2\do{\@tmpop\@I\let\@tmpop=#1}}
\newcommand\show@prop@gen@keys{\def\@cb{, }\@ifundefined{prop@gen@keys}{??:???? ?/?}{\prop@assoc\@cb\prop@gen@keys}}
\renewenvironment{prop@report}
{\selectlanguage{USenglish}
\thispagestyle{empty}%
\begin{center}
{\LARGE Final Project Report}\\[.2cm]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
{\large Reference number(s): \show@prop@gen@keys}\\[.2cm]
{\large\today}\\[1em]
\begin{tabular}{c*{\the@PIs}{c}}
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{name}}\\
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{name}}
\end{tabular}\\[2cm]
\end{center}
\setcounter{tocdepth}{1}\tableofcontents\newpage\setcounter{page}{1}
\section{General Information \deu{(Allgemeine Angaben)}}
\subsection{Reference Numbers \deu{(DFG Gesch\"aftszeichen)}}
\show@prop@gen@keys
\dfg@applicants
\subsection{Institute/Chair \deu{(Institut/Lehrstuhl)}}\dfg@institute@table
\dfg@topic
\subsection{Report and Funding Period \deu{(Berichts- und F\"orderzeitraum)}}
\prop@gen@reportperiod
\dfg@area@field
\subsection{Application Areas \deu{(Verwertungsfelder)}}\prop@gen@applareas
\dfgprojpapers\prop@gen@projpapers}
{\signatures{Signatures \deu{(Unterschriften)}}}
\endinput
%%
%% End of file `dfgreporting.cls'.

3
dfg/examples/Makefile Normal file
View File

@ -0,0 +1,3 @@
DIRS = proposal report simple-proposal
all:
@for d in $(DIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@); done;

9
dfg/examples/README Normal file
View File

@ -0,0 +1,9 @@
This directory contains examples for DFG proposals and reports marked up with the
proposal/dfgproposal class.
proposal: a DFG proposal 'Einzelverfahren' in the new template (valid
from Oct 2011. (provided by Jens Lehmann; thanks)
report: a corresponding report
simple-proposal: a simple DFG proposal (no work areas, no sites), re-uses files from above
lib: shared files (affiliation database, bibTeX, logos)
dfg: DFG documents explaining the proposal/reporting process

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,63 @@
\WAperson[id=miko,
personaltitle=Prof. Dr.,
birthdate=13. September 1964,
academictitle=Professor of Computer Science,
affiliation=jacu,
department=case,
privaddress=None of your business,
privtel=that neither,
email=m.kohlhase@jacobs-university.de,
workaddress={Campus Ring 1, 28757 Bremen},
worktel=+49 421 200 3140,
worktelfax=+49 421 200 3140/493140,
workfax=+49 421 200 493140]
{Michael Kohlhase}
\WAperson[id=gc,
personaltitle=Dr.,
academictitle=Senior Researcher,
birthdate=14. April 1972,
affiliation=pcg,
department=pcsa,
privaddress=None of your business,
privtel=that neither,
workaddress={PCG Way 7, Hooville},
worktel=+49 421 0815 4711,
workfax=+49 421 0815 4712,
email=gc@pcg.phony]
{Great Communicator}
\WAinstitution[id=case,acronym=CASE,shortname=CASE,
url=http://jacobs-university.de/ses/case,
partof=jacu]
{Center for Advanced Systems Engineering}
\WAinstitution[id=jacu,acronym=JacU,
url=http://jacobs-university.de,
streetaddress={Campus Ring 1},
townzip={28759 Bremen},
countryshort=D,
country=Germany,
type=University,
logo=jacobs-logo.png,
shortname=Jacobs University]
{Jacobs University Bremen}
\WAinstitution[id=pcsa,
url=http://pcg.phony/sa,
partof=pcg,shortname=Science Affairs]
{Science Affairs}
\WAinstitution[id=pcg,acronym=PCG,
url=http://pcg.phony,
countryshort=D,
streetaddress={Seefahrtstrasse 5},
townzip={23555 Hamburg},
shortname=Power Consulting]
{Power Consulting GmbH}
%%% Local Variables:
%%% mode: latex
%%% End:
% LocalWords: WAperson miko personaltitle academictitle privaddress privtel
% LocalWords: workaddress worktel workfax gc worktelfax pcg

View File

@ -0,0 +1,23 @@
@PREAMLE{\usepackage{url}}
@misc{Kohlhase:pdpl10,
author = {Michael Kohlhase},
title = {Preparing {DFG} Proposals in {\LaTeX} with \texttt{dfgproposal.cls}},
institution = {KWARC Group, Jacobs University Bremen},
howpublished = {Self-documenting {\LaTeX} package, \url{https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/dfgproposal.pdf}; ask the author for access},
year = 2010}
@misc{providemore,title={\ldots}}
@BOOK{Lamport:ladps94,
title = {LaTeX: A Document Preparation System, 2/e},
publisher = {Addison Wesley},
year = {1994},
author = {Leslie Lamport}}
@BOOK{Knuth:ttb84,
title = {The {\TeX}book},
publisher = {Addison Wesley},
year = {1984},
author = {Donald E. Knuth}}
@BOOK{DK:LP,
title = {{Literate Programming}},
publisher = {The University of Chicago Press},
year = 1992,
author = {Donald E. Knuth}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -0,0 +1,62 @@
# possibly customize the following variables to your setting
PROPOSAL = proposal.tex # the proposal
BIB = ../lib/dummy.bib # bibTeX databases
PROP.dir = ../../..
###########################################################################
# the following are computed
TARGET = $(PROPOSAL) # all pdflatex targets
TARGET.pdf = $(TARGET:%.tex=%.pdf) # PDFs to be produced
TARGET.aux = $(TARGET:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1
BBL = proposal.bbl $(BBL.base:%=proposal%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc
DFGPROPCLS.dir = $(PROP.dir)/dfg
TEXINPUTS := .//:$(PROPCLS.dir)//:$(DFGPROPCLS.dir)//:$(PROPETC.dir)//:
BIBINPUTS := ../lib:$(BIBINPUTS)
PROPCLS.clssty = proposal.cls pdata.sty
PROPETC.sty = workaddress.sty metakeys.sty sref.sty
DFGPROPCLS.clssty = dfgproposal.cls dfgpdata.sty
PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(DFGPROPCLS.clssty:%=$(DFGPROPCLS.dir)/%) $(PROPETC.sty:%=$(PROPETC.dir)/%)
all: $(TARGET.pdf)
cd: # make cd will prepare CD for burning
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
bbl: $(BBL)
$(BBL): %.bbl: %.aux
bibtex -min-crossrefs=100 -terse $<
$(PDATA): %.pdata: %.tex
$(PDFLATEX) $<
$(TARGET.aux): %.aux: %.tex
$(PDFLATEX) $<
$(TARGET.pdf): %.pdf: %.tex $(SRC) $(BIB) $(PROPCLS)
$(PDFLATEX) $< || $(RM) $@
# sort $(PROPOSAL:%.tex=%.delivs) > $(PROPOSAL:%.tex=%.deliverables)
@if (test -e $(patsubst %.tex, %.idx, $<));\
then makeindex $(patsubst %.tex, %.idx, $<); fi
$(MAKE) -$(MAKEFLAGS) $(BBL)
@if (grep "(re)run BibTeX" $(patsubst %.tex, %.log, $<)> /dev/null);\
then $(MAKE) -B $(BBL); fi
$(PDFLATEX) $< || $(RM) $@
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
clean:
rm -f *.log *.blg *~ *.synctex.gz *.cut
distclean: clean
rm -f *.aux *.out *.run.xml *.bbl *.toc *.deliv* *.pdata
rm -Rf auto
echo:
echo $(BIBINPUTS)

View File

@ -0,0 +1,82 @@
\svnInfo $Id: funds.tex 22679 2011-12-01 07:08:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/funds.tex $
\section{Requested Modules/Funds \deu{(Beantragte Module/Mittel)}}
For each applicant, we apply for funding within the Basic Module.
\subsection{Funding for Staff \deu{(Personalbedarf)}}\label{sec:positions}
\subsubsection{Research Staff}
We apply for the following positions. All run over the entire duration of the proposed project.
\paragraph*{Non-doctoral staff}\ednote{compute amount in elan and copy here}
One doctoral researcher for 2 years at $100 \%$ for Michael Kohlhase.
One doctoral researcher for 2 years at $100 \%$ for Florian Rabe.
%\paragraph*{Postdoctoral staff}
%\ednote{postdoctoral researcher and comparable}
\paragraph*{Other research assistants}\ednote{students with BSc.}
One student with BSc. for 2 years at $100 \%$ for Michael Kohlhase.
One student with BSc. for 2 years at $100 \%$ for Florian Rabe.
\subsubsection{Non-academic Staff} None.
\subsubsection{Student assistants} None.
\subsection{Funding for direct project costs}
\subsubsection{Equipment up to 10,000 \texteuro, software and consumables}
None. PC will cover the workspace, computing needs, and consumables for its staff as part
of the basic support.
\subsubsection{Travel Expenses\deu{(Reisen)}}\label{sec:travel}
\begin{oldpart}{rework}
The travel budget shall cover:
\begin{itemize}
\item visits to external collaborators. We expect two international visits. We estimate
that each visit will be most effective, if the junior researchers can spend about 3
weeks with the partners. Thus we estimate 2500 {\texteuro} per visit.
\item visits to national conferences to disseminate the results of {\pn}. We expect
one visit for each year for each of the three researchers. (3 x 3 x 1000 {\texteuro})
\item visits to international conferences to disseminate the results of {\pn}. These
are in particular the International Joint Conference on Document Engineering (DocEng)
and the Tech User Group Meeting (TUG). We expect one visit for each proposed
researcher and for each year. (3 x 3 x 1500 {\texteuro})
\end{itemize}
This sums up to a total amount of 32.500 {\texteuro} for travel expenses for the whole
funding period of three years which is split into 16.250 {\texteuro} for each institute
(PC and Jacobs University).
\end{oldpart}
\subsubsection{Visiting Researchers}
Total expenses \textbf{10.200 \texteuro}
\medskip
As explained in Section~\ref{sec:travel}, we expect 5 incoming research visits. Assuming
an average duration of 3 weeks, we estimate the cost of one visit at 600 {\texteuro} for
traveling and 70 {\texteuro} per night for accommodation, amounting to 2040 \texteuro per
visit.
\subsubsection{Expenses for laboratory animals} None.
\subsubsection{Other costs \deu{(Sonstige Kosten)}} None.
\subsubsection{Project-related publication expenses} None.
\subsection{Funding for Instrumentation} None.
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: ipower texteuro

View File

@ -0,0 +1,115 @@
\svnInfo $Id: preconditions.tex 22679 2011-12-01 07:08:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/preconditions.tex $
\section{Project Requirements \deu{(Voraussetzungen f\"ur die Durchf\"uhrung des Vorhabens)}}
\subsection{Employment status information \deu{(Angaben zur Dienststellung)}}
\begin{todo}{from the proposal template}
For each applicant, state the last name, first name, and employment status (including
duration of contract and funding body, if on a fixed-term contract).
\end{todo}
\subsection{First-time proposal data \deu{(Angaben zur Erstantragstellung)}}
\begin{todo}{from the proposal template}
Only if applicable: Last name, first name of first-time applicant.
If this is your first proposal, reviewers will consider this fact when assessing your
pro- posal. Previous proposals for research fellowships, publication funding, travel
allow- ances, or funding for scientific networks are not considered first proposals. If
you are submitting a “first-time proposal” and it is part of a joint proposal, please
note that your independent project must be distinct from the other projects.
If you have already submitted a proposal as an applicant for a research grant and have
received a letter informing you of the funding decision, or if you have led an independ-
ent junior research group or project in a Collaborative Research Centre or Research
Unit, you are no longer eligible to submit a “first proposal”. If you have submitted a
“first-time proposal” and it was rejected, you may resubmit the application, in revised
form, as a first-time proposal for the same project.
\end{todo}
\subsection{Composition of the project group \deu{(Zusammensetzung der Projektarbeitsgruppe)}}
\begin{todo}{from the proposal template}
List only those individuals who will work on the project but will not be paid out of the
project funds. State each persons name, academic title, employment status, and type of
funding.
Please list separately the individuals paid by your institution and those paid using
other third-party funding (including fellowships).
\end{todo}
\begin{sitedescription}{jacu}
The KWARC (Knowledge Adaptation and Reasoning for Content) research group headed by
Michael Kohlhase for has the following members
\begin{compactdesc}
\item[Dr. N.N.] is the \ldots She has a background in\ldots.
\end{compactdesc}
Additionally, the group has attracted about 10 undergraduate and master's students that
actively take part in the project work and various aspects of research.
\end{sitedescription}
\begin{sitedescription}{pcg}
Power Consulting GmbH is the leading provider of semantic document solutions. Dr. Senior
Researcher leads an applied research group consisting of
\begin{compactdesc}
\item[Dr. N.N.] is the \ldots She has a background in\ldots.
\end{compactdesc}
The group has access to seven programming slaves specializing in web development and
document transformation techniques
\end{sitedescription}
\subsection{Cooperation with other researchers \deu{(Zusammenarbeit mit anderen
Wissenschaftlerinnen und Wissenschaftlern)}}
\subsubsection{Researchers with whom you have agreed to cooperate on this project
\deu{(Wissenschaftlerinnen und Wissenschaftler, mit denen für dieses Vorhaben eine
konkrete Vereinbarung zur Zusammenarbeit besteht)}}
\begin{compactdesc}
\item[Prof. Dr. Super Akquisiteur (Uni Paderborn)] knows exactly what to do to get funding
with DFG, we will interview him closely and integrate all his intuitions into the {\pn}
templates.
\item[Prof. Dr. Habe Nichts (Uni Hinterpfuiteufel)] has never gotten a grant proposal
through with DFG, we will try to avoid his mistakes.
\item[Dr. Sach Bearbeiter (DFG)] will consult with the DFG requirements to be met in the
proposals.
\item[Dr. Donald Knuth (Stanford University)] is so surprised that we want to do grant
proposals in {\TeX/\LaTeX} that he will help us with any problems we have in coding in
this wonderful programming language.
\end{compactdesc}
\subsubsection{Researchers with whom you have collaborated scientifically within the past
three years \deu{(Wissenschaftlerinnen und Wissenschaftler, mit denen in den letzten
drei Jahren wissenschaftlich zusammengearbeitet wurde)}}
\ednote{Anmerkung Jens: Etwas unklar, was die DFG hier möchte. Die Liste der Personen kann
sehr lang sein, also ist es wahrscheinlich besser nur die wichtigsten Projekte und
Kontakte zu listen.}
\begin{todo}{from the proposal template}
This information will assist the DFGs Head Office in avoiding potential conflicts of
in- terest during the review process.
\end{todo}
\subsection{Scientific equipment \deu{(Apparative Ausstattung)}}
Jacobs University provides laptops or desktop workstations for all academic
employees. Great Consulting GmbH. is rolling in money anyways and has all of the latest
gadgets.
\subsection{Project-relevant interests in commercial enterprises \deu{(Projektrelevante
Beteiligungen an erwerbswirtschaftlichen Unternehmen)}}
Not applicable.
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: Durchf uhrung subsubsection ipower Hinterpfuiteufel Sach Aktivit
% LocalWords: Erkl arungen

Binary file not shown.

View File

@ -0,0 +1,104 @@
% the document class specification for the proposal writing process, add the 'submit' option
% for submitting (switches off various draft features); add the 'public' option to exclude
% any private parts.
\documentclass[RAM]{dfgproposal}
%\documentclass[submit]{dfgproposal}
%\documentclass[submit,public]{dfgproposal}
\addbibresource{../lib/dummy}
\usepackage[utf8]{inputenc}
% the following lines get updated by subversion keyword replacement. They are used by the
% \svninfo package in draft mode to generate metadata.
\svnInfo $Id: proposal.tex 22963 2012-01-13 08:47:33Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/proposal.tex $
%
\input{../lib/WApersons}
\begin{document}
\begin{center}\color{red}\huge
This mock proposal is just an example for \texttt{dfgproposal.cls} it reflects the
current DFG template valid from October 2011.
\end{center}
\urldef{\gcpubs}\url{http://www.pcg.phony/~gc/pubs.html}
\urldef{\mikopubs}\url{http://kwarc.info/kohlhase/publications.html}
\begin{proposal}[PI=miko,PI=gc,site=jacu,site=pcg,
thema=Intelligentes Schreiben von Antr\"agen,
acronym={iPoWr},
acrolong={\underline{I}ntelligent} {\underline{P}r\underline{o}posal} {\underline{Wr}iting},
title=\pn: \protect\pnlong,
totalduration=3 years,
since=1. Feb 2009,
start=1. Feb. 2010,
months=24,
pcgRM=36, pcgRAM=36, jacuRM=36, jacuRAM=36,
discipline=Computer Science,
areas=Knowledge Management]
\begin{Zusammenfassung}
\begin{todo}{in das Elan System kopieren}
Fassen Sie die relevanten Projektziele allgemeinverst''andlich in maximal 3000 Zeichen
(keine Sonderzeichen) zusammen
\end{todo}
Das Schreiben von Antr"agen ist ein kollaborativer Prozess in dem Betr"age von mehreren
Personen integriert werden mu"ussen. Ein ASCII-basiertes Format wie {\LaTeX} erlaubt die
Koordination dieses Prozesses mittels Versionsverwaltungssystemen wie
Subversion. Dadurch k''onnen sich die Antragsteller auf Inhalte konzentrieren anstatt
auf die Mechanik der Dokumentenverwaltung.
\end{Zusammenfassung}
\begin{Summary}
\begin{todo}{copy into the Elan system}
Summarize the relevant goals of the proposed project in generally intelligible
terms. Do not use more than 3000 characters, no special characters allowed.
\end{todo}
Writing grant proposals is a collaborative effort that requires the integration of
contributions from many individuals. The use of an ASCII-based format like {\LaTeX}
allows to coordinate the process via a source code control system like Subversion,
allowing the proposal writing team to concentrate on the contents rather than the
mechanics of wrangling with text fragments and revisions.
\end{Summary}
% It is often good to separate the top-level sections into separate files.
% Especially in collaborative proposals. We do this here.
\input{state}
\input{workplan}
\section{Bibliography concerning the state of the art, the research objectives, and the
work programme}
\begin{todo}{from the proposal template}
In this bibliography, list only the works you cite in your presentation of the state of the
art, the research objectives, and the work programme. This bibliography is not the list
of publications. Non-published works must be included with the proposal.
\end{todo}
\printbibliography[heading=empty]
% the following will not become part of the public proposal after all most of this is
% technical or confidential.
%\begin{private}
\input{funds}
\input{preconditions}
\section{Additional information \deu{(Ergänzende Erklärungen)}}
Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ.
\end{proposal}
\end{document}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-PDF-mode:t
%%% TeX-master: t
%%% End:
% LocalWords: empty bibflorian systems rabe institutions modal historical pub
% LocalWords: kwarc till formalsafe miko gc ipower ipowerlong Antr agen Beitr
% LocalWords: acrolong intellegible kollaboratives koh arenten ussen Proze pcg
% LocalWords: Versionsmanagementsystem textsc unterst utzt konzentieren stex
% LocalWords: mechanik workplan thispagestyle newpage Principcal cvpubsmiko pn
% LocalWords: ourpubs zusammenfassung printbibliography pubspage ntelligent
% LocalWords: iting pnlong

View File

@ -0,0 +1,44 @@
\svnInfo $Id: state.tex 22814 2011-12-20 15:00:19Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/state.tex $
\section{State of the Art and Preliminary Work \deu{(Stand der Forschung und eigene Vorarbeiten)}}\label{stand}
\subsection{List of Project-Related Publications \deu{(Projektbezogenes Publikationsverzeichnis)}}
\begin{todo}{from the proposal template}
Please include a list of own publications that are related to the proposed project. It
serves as an important basis for assessing your proposal. The number of publications to
cite here is determined as follows:
\begin{compactdesc}
\item[Single applicant] two publications per year of the funding duration
\item[Multiple applicants] three publications per year of the funding duration
\end{compactdesc}
These rules refer to the proposed funding duration for new proposals and the completed
duration for renewal proposals.
If you are submitting a proposal to the DFG for the first time and have therefore not
published in the proposed research area, please list the up to five most important
publications so far.
\end{todo}
\subsubsection{Peer-Reviewed Articles \deu{(Artikel mit wissenschaftlicher Qualitätssicherung)}}
\dfgprojpapers{Kohlhase:pdpl10,providemore}
\ednote{Anmerkung Jens: Ein nützliches Feature wäre hier, wenn das Paket eine (eventuell
über Optionen der Dokumentklasse unterdrückbare) Warnung ausgeben würde, wenn zu viele
Publikationen entsprechend DFG-Richtlinien angegeben werden. Die Anzahl ist sehr eng
begrenzt.}
\subsubsection{Other Articles \deu{(Andere Artikel)}} None.
\subsubsection{Patents \deu{(Patente)}} None.
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: subsubsections dfgprojpapers pdpl10 providemore compactdesc
% LocalWords: ourpubs nociteprolist KohKoh ccbssmt09 KohRabZho tmlmrsca10
% LocalWords: Hutter09 sifemp09

View File

@ -0,0 +1,221 @@
\svnInfo $Id: workplan.tex 23021 2012-01-19 13:30:19Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/workplan.tex $
\section{Objectives and Work Programme \deu{(Ziele und Arbeitsprogramm)}}
\subsection{Anticipated total duration of the project \deu{(Voraussichtliche Gesamtdauer des Projekts)}}
\begin{todo}{from the proposal template}
Please state
\begin{itemize}
\item the project's intended duration 1 and how long DFG funds will be necessary,
\item for ongoing projects: since when the project has been active.
\end{itemize}
\end{todo}
\subsection{Objectives \deu{(Ziele)}}
\begin{objective}[id=firstobj,title=Supporting Authors]
This is the first objective, after all we have to write proposals all the time, and we
would rather spend time on research.
\end{objective}
\begin{objective}[id=secondobj,title=Supporting Reviewers]
They are only human too, so let's have a heart for them as well.
\end{objective}
\subsection{Work programme including proposed research methods \deu{(Arbeitsprogramm inkl. vorgesehener Untersuchungsmethoden)}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\subsection{Description (Beschreibung)}%\label{sec:state}
\LaTeX is the best document markup language, it can even be used for literate
programming~\cite{DK:LP,Lamport:ladps94,Knuth:ttb84}
\begin{todo}{from the proposal template}
review the state of the art in the and your own contribution to it; probably you want to
divide this into subsubsections.
\end{todo}
% \dfgprojpapers{Kohlhase:pdpl10,providemore}
\begin{todo}{from the proposal template}
For each applicant
Please give a detailed account of the steps planned during the proposed funding pe-
riod. (For experimental projects, a schedule detailing all planned experiments should
be provided.)
The quality of the work programme is critical to the success of a funding proposal. The
work programme should clearly state how much funding will be requested, why the
funds are needed, and how they will be used, providing details on individual items
where applicable.
Please provide a detailed description of the methods that you plan to use in the project:
What methods are already available? What methods need to be developed? What as-
sistance is needed from outside your own group/institute?
Please list all cited publications pertaining to the description of your work programme
in your bibliography under section 3.
\end{todo}
The project is organized around \pdatacount{all}{wa} large-scale work areas which correspond
to the objectives formulated above. These are subdivided into \pdatacount{all}{wp} work
packages, which we summarize in Figure~\ref{fig:wplist}. Work area
\WAref{mansubsus} will run over the whole project\ednote{come up with a better
example, this is still oriented towards an EU project} duration of {\pn}. All
{\pdatacount{systems}{wp}} work packages in {\WAref{systems}} will and have to be
covered simultaneously in order to benefit from design-implementation-application feedback
loops.
\wpfig
\begin{workplan}
\begin{workarea}[id=mansubsus,title={Management, Support \& Sustainability}, short=Management]
This work-group corresponds to Objective \OBJref{firstobj} and has two work packages:
one for management proper ({\WPref{management}}), and one each for
dissemination ({\WPref{dissem}})
This work group ensures the dissemination and creation of the periodic integrative
reports containing the periodic Project Management Report, the Project Management
Handbook, an Knowledge Dissemination Plan ({\WPref{management}}), the Proceedings of the
Annual {\pn} Summer School as well as non-public Dissemination and Exploitation plans
({\WPref{dissem}}), as well as a report of the {\pn} project milestones.
\begin{workpackage}[id=management,lead=jacu,
title=Project Management,
jacuRM=2,jacuRAM=8,pcgRM=2]
Based on the ``Bewilligungsbescheid'' of the DFG, and based on the financial and
administrative data agreed, the project manager will carry out the overall project
management, including administrative management. A project quality handbook will be
defined, and a {\pn} help-desk for answering questions about the format (first
project-internal, and after month 12 public) will be established. The project management
will consist of the following tasks
\begin{tasklist}
\begin{task}[id=foo,wphases=0-3,requires=\taskin{t1}{dissem}]
To perform the administrative, scientific/technical, and financial management of the
project
\end{task}
\begin{task}[wphases=13-17!.5]
To co-ordinate the contacts with the DFG and other funding bodies, building on the
results in \taskref{management}{foo}
\end{task}
\begin{task}
To control quality and timing of project results and to resolve conflicts
\end{task}
\begin{task}
To set up inter-project communication rules and mechanisms
\end{task}
\end{tasklist}
\end{workpackage}
\begin{workpackage}[id=dissem,lead=pcg,
title=Dissemination and Exploitation,
pcgRM=8,jacuRAM=2]
Much of the activity of a project involves small groups of nodes in joint work. This work
package is set up to ensure their best wide-scale integration, communication, and
synergetic presentation of the results. Clearly identified means of dissemination of
work-in-progress as well as final results will serve the effectiveness of work within the
project and steadily improve the visibility and usage of the emerging semantic services.
The work package members set up events for dissemination of the research and
work-in-progress results for researchers (workshops and summer schools), and for industry
(trade fairs). An in-depth evaluation will be undertaken of the response of test-users.
\begin{tasklist}
\begin{task}[id=t1,wphases=6-7]
sdfkj
\end{task}
\begin{task}[wphases=12-13]
sdflkjsdf
\end{task}
\begin{task}[wphases=18-19]
sdflkjsdf
\end{task}
\begin{task}[wphases=22-24]
\end{task}
\end{tasklist}
Within two months of the start of the project, a project website will go live. This
website will have two areas: a members' area and a public area.\ldots
\end{workpackage}
\end{workarea}
\begin{workarea}[id=systems,title={System Development}]
This workarea does not correspond to \OBJtref{secondobj}, but it has two work packages:
one for the development of the {\LaTeX} class ({\WPref{class}}), and for the
proposal template ({\WPref{temple}})
This work group coordinates the system development.
\begin{workpackage}[id=class,lead=jacu,
title=A LaTeX class for EU Proposals,short=Class,
jacuRM=12,jacuRAM=8,pcgRM=12,pcgRAM=2]
We plan to develop a {\LaTeX} class for marking up EU Proposals
We will follow strict software design principles, first comes a
requirements analys, then \ldots
\begin{tasklist}
\begin{task}[wphases=0-2]
sdfsdf
\end{task}
\begin{task}[wphases=4-8]
sdfsdf
\end{task}
\begin{task}[id=t3,wphases=10-14]
sdfsdf
\end{task}
\begin{task}[wphases=20-24]
sdfsdfd
\end{task}
\end{tasklist}
\end{workpackage}
\begin{workpackage}[id=temple,lead=pcg,
title= Proposal Template,short=Template,jacuRM=12]
We plan to develop a template file for {\pn} proposals
We abstract an example from existing proposals
\begin{tasklist}
\begin{task}[wphases=6-12]
sdfdsf
\end{task}
\begin{task}[id=temple2,wphases=18-24,requires=\taskin{t3}{class}]
sdfsdf
\end{task}
\end{tasklist}
\end{workpackage}
\begin{workpackage}[id=workphase,title=A work package without tasks,
wphases=0-4!.5]
And finally, a work package without tasks, so we can see the effect on the gantt chart
in fig~\ref{fig:gantt}.
\end{workpackage}
\end{workarea}
\end{workplan}
\ganttchart[draft,xscale=.45]
\subsection{Data Handling \deu{(Umgang mit den im Projekt erzielten Forschungsdaten)}}
The \pn project will not systematically produce researchdata. All project results will be
published for at least $x$ years at our archive at \url{http://example.org}.
\subsection{Other Information \deu{(Weitere Angaben)}} Not applicable.
\subsection{Explanations on the proposed investigations \deu{(Erläuterungen zu den vorgesehenen Untersuchungen)}} Not applicable.
\subsection{Information on scientific and financial involvement of international cooperation partners \deu{(Erläuterungen zur inhaltlichen und finanziellen Projektbeteiligung von Kooperationspartnerinnen und Kooperationspartnern im Ausland)}} Not applicable.
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: workplan.tex wplist dfgcount wa mansubsus duratio ipower wpfig
% LocalWords: ganttchart xscale workplan workarea pdataref dissem workpackage foo
% LocalWords: tasklist taskin taskref sdfkj sdflkjsdf sdfsdf sdfsdfd sdfdsf pn
% LocalWords: firstobj secondobj pdatacount WAref ednote OBJref pcgRM pcg
% LocalWords: ldots OBJtref workphase

View File

@ -0,0 +1,22 @@
\svnInfo $Id: zusammenfassung.tex 22679 2011-12-01 07:08:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/zusammenfassung.tex $
\begin{Abriss}
\begin{todo}{from the proposal template}
Fassen Sie hier bitte die wesentlichen Ziele Ihres Vorhabens allgemeinverständlich und
in nicht mehr als 15 Zeilen (max. 1600 Zeichen) zusammen.
\end{todo}
Das Schreiben von Antr"agen ist oft ein kollaboratives Unterfangen in dem Beitr"age von
mehren Partnern in einen koh"arenten Text integriert werde m"ussen. Durch die Verwendung
eines ASCII-basierten Formates wie {\LaTeX} kann dieser Proze"s in einem
Versionsmanagementsystem wie {\textsc{Subversion}} unterst"utzt werden, wodurch sie das
Projektteam auf das Schreiben konzentrieren kann statt auf die Mechanik der Integration.
\end{Abriss}
%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: ngerman zusammenfassung popul Komplexit eingef uhrt aquate utzen
% LocalWords: unterst pn inparaenum Anderungsmanagement zug onnen zugh erm koh
% LocalWords: oglichen Antr agen kollaboratives Beitr arenten ussen Proze utzt
% LocalWords: Versionsmanagementsystem

View File

@ -0,0 +1,67 @@
# possibly customize the following variables to your setting
REPORT = finalreport.tex # the report
BIB = ../lib/dummy.bib # bibTeX databases
PROP.dir = ../../..
###########################################################################
# the following are computed
#CVP = $(shell ls CV_PubList*.tex) # CVs of the proposers
#TSIMP = letter_submission.tex # pdflatex Targets without bibTeX
#TSIMP.pdf = $(TSIMP:%.tex=%.pdf) # PDFs to be produced
TBIB = $(REPORT) #$(CVP) # pdflatex Targets with bibTeX
TARGET = $(TSIMP) $(TBIB) # all pdflatex targets
TBIB.pdf = $(TBIB:%.tex=%.pdf) # PDFs to be produced
TBIB.aux = $(TBIB:%.tex=%.aux) # their aux files.
PDATA = $(REPORT:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL = $(REPORT:%.tex=%.bbl) $(REPORT:%.tex=%1-blx.bbl) $(REPORT:%.tex=%2-blx.bbl) #$(CVP:%.tex=%.bbl)
PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc
DFGPROPCLS.dir = $(PROP.dir)/dfg
TEXINPUTS := .//:$(PROPCLS.dir)//:$(DFGPROPCLS.dir)//:$(PROPETC.dir)//:
BIBINPUTS := ../lib:$(BIBINPUTS)
PROPCLS.clssty = reporting.cls pdata.sty
PROPETC.sty = workaddress.sty metakeys.sty sref.sty
DFGPROPCLS.clssty = dfgreporting.cls dfgpdata.sty
PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(DFGPROPCLS.clssty:%=$(DFGPROPCLS.dir)/%) $(PROPETC.sty:%=$(PROPETC.dir)/%)
all: $(TBIB.pdf) $(TSIMP.pdf)
cd: # make cd will prepare CD for burning
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
$(BBL): %.bbl: %.aux
bibtex -min-crossrefs=100 -terse $<
$(TSIMP.pdf): %.pdf: %.tex $(PROPCLS) $(PDATA)
$(PDFLATEX) $< || $(RM) $@
$(PDATA): %.pdata: %.tex
$(PDFLATEX) $<
$(TBIB.aux): %.aux: %.tex
$(PDFLATEX) $<
$(TBIB.pdf): %.pdf: %.tex $(SRC) $(BIB) $(PROPCLS)
$(PDFLATEX) $< || $(RM) $@
# sort $(REPORT:%.tex=%.delivs) > $(REPORT:%.tex=%.deliverables)
@if (test -e $(patsubst %.tex, %.idx, $<));\
then makeindex $(patsubst %.tex, %.idx, $<); fi
$(MAKE) -$(MAKEFLAGS) $(BBL)
@if (grep "(re)run BibTeX" $(patsubst %.tex, %.log, $<)> /dev/null);\
then $(MAKE) -B $(BBL); fi
$(PDFLATEX) $< || $(RM) $@
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
clean:
rm -f *.log *.blg *~ *.synctex.gz *.cut
distclean: clean
rm -f *.aux *.out *.run.xml *.bbl *.toc *.deliv* *.pdata
rm -Rf auto
echo:
echo $(BIBINPUTS)

View File

@ -0,0 +1,22 @@
An Exapmle for dfgproposal.cls
proposal.tex is a fake DFG proposal that shows all elements of
dfgproposal.cls in action.
finalreport.tex does the same for dfgreporting.cls
CV_PubList_Kohlhase.tex is an example of the CV and publication lists required
by the DFG
letter_submission.tex is an example submission letter.
*.tex the rest are intemediate files
doc contains the DFG documentation how to write proposals and
final reports: These documents are not subject to the
package's license but (c) DFG. They are bundled for your
convenience; up-to-date versions may be found at http://www.dfg.de.
Makefile allows the automation via a unix Makefile on the author's
machine, adapt it to your needs
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/dfgproposal/ex

Binary file not shown.

View File

@ -0,0 +1,56 @@
% the document class specification for the proposal writing process, add the 'submit' option
% for submitting (switches off various draft features); add the 'public' option to exclude
% any private parts.
\documentclass{dfgreporting}
%\documentclass[submit]{dfgproposal}
%\documentclass[submit,public]{dfgproposal}
\addbibresource{dummy}
% the following lines get updated by subversion keyword replacement. They are used by the
% \svninfo package in draft mode to generate metadata.
\svnInfo $Id: finalreport.tex 24314 2013-03-24 14:39:33Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/report/finalreport.tex $
%
% define the proposal acronym;
% use \texorpdfstring so that it can be used in section headings as well
% tell the class that this is the proposal acronym
\input{WApersons}
\begin{document}
\begin{center}\color{red}\huge
This mock proposal is just an example for \texttt{dfgreporting.cls} it reflects the
template valid until January 2012 (have to update soon)
\end{center}
\begin{report}[importfrom=proposal,
PI=miko,PI=gc,site=jacu,site=pcg,
key = KO 2428 99-9,
key = GS 4711 99-9,
thema=Intelligentes Schreiben von Antr\"agen,
reportperiod=1. Feb. 2010 - 31. Jan. 2012,
% jacuemployed=Junior Researcher: 1. Feb 2010 - 31. Jan 2012,
% pcgemployed=Slave Worker: 1. Feb 2010 - 31. Dec 2010,
% pcgemployed=Lazy Bones: 1.Jan 2011 - 31. Jan 2012,
applareas={Knowledge Management, Document Management, Workflow Systems},
% coop={Acquisition Guru, Berlin, Germany},
% coop={Deutsche Forschnungsgemeinschaft, Bonn, Germany},
projpapers={Kohlhase:pdpl10,providemore}]
\include{progressreport}
\include{progresssummary}
\dfgprojpapers[articles,confpapers,wspapers]{Kohlhase:pdpl10,providemore,KohDavGin:psewads11,Lange:OpenMathCDLinkedData10}
\end{report}
\end{document}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: t
%%% End:
% LocalWords: empty bibflorian systems rabe institutions modal historical pub
% LocalWords: kwarc till formalsafe miko gc ipower ipowerlong Antr agen Beitr
% LocalWords: acrolong intellegible kollaboratives koh arenten ussen Proze
% LocalWords: Versionsmanagementsystem textsc unterst utzt konzentieren stex
% LocalWords: mechanik workplan thispagestyle newpage Principcal cvpubsmiko
% LocalWords: finalreport fundedperiod reportperiod progressreport
% LocalWords: progresssummary

Binary file not shown.

View File

@ -0,0 +1,33 @@
\documentclass{dinbrief}
\usepackage{ngerman}
\signature{Dr. Michael Kohlhase\hspace*{5cm} Dr. Great Communicator}
\usepackage{pdata}\readpdata{proposal}
\begin{document}
\begin{letter}{Frau ?????\\
Deutsche Forschungsgemeinschaft\\
52170 Bonn}
\subject{Antrag auf Sachbeihilfe}
\opening{Sehr geehrte Frau ?????}
anbei senden wir Ihnen unseren Antrag auf Sachbeihilfe f"ur das Projekt "`\pn"'
(\pnlong) zu. Die elektronische Version des Antrags inklusive der Anlagen sowie Kopien
der eigenen Publikationen haben wir diesem Schreiben als CD beigef"ugt. Diese beinhaltet
die folgenden Dateien:
\begin{center}
\begin{tabular}{lp{8cm}}
\texttt{Antrag.pdf} & der Antrag\\
\texttt{CV\_Publist\_Kohlhase.pdf} & Lebenslauf Michael Kohlhase\\
\texttt{CV\_Publist\_Communicator.pdf} & Lebenslauf Great Communicator\\
Publikationen & Ordner mit den im Antrag bzw. in den Lebensl"aufen angegebenen
eigenen Veröffentlichungen Das projektbezogene Publikationsverzeichnis befindet sich im
Antrag unter Abschnitt 2.2.
\end{tabular}
\end{center}
\closing{Mit freundlichen Gr"u"sen,}
\end{letter}
\end{document}
% LocalWords: texttt Publist Schr

View File

@ -0,0 +1,30 @@
\svnInfo $Id: progressreport.tex 22679 2011-12-01 07:08:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/report/progressreport.tex $
\section{Final Progress Report\deu{Arbeits- \& Ergebnisbericht}}
\begin{todo}{from the report template}
This is what the reviewers read (maximum 10 pages of A4)
\begin{itemize}
\item Projects initial questions and objectives.
\item Project developments --- including deviations from the original plan, failures,
and problems encountered with project organisation or technical execution.
\item Presentation of results and discussion of the relevant research situation in this
context, potential perspectives for application, and conceivable follow-up research.
\item Statement on whether the results of the project are economically valuable and whether exploitation is already taking place or may be anticipated; if applicable, details regarding patents, industrial joint ventures, etc.
\item Who has contributed to the results achieved by the project (national/international partners, project staff, etc.)?
\item Qualification of young researchers in the context of your project (for example, first degree, doctorate, post-doctorate, etc.).
\end{itemize}
The report must be understandable without the need to consult additional literature. To
illustrate and enhance your presentation you may refer to your own and others
publications. Make it clear whenever you are referring to other researchers work and
explain your own papers. Please list all cited publications at the end of the
section. This reference list is not considered your list of publications. Any
unpublished work must be included with the final report. However, note that reviewers
are not required to read any of the works you cite. Reviews will be based only on the
text of the actual report.
\end{todo}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "finalreport"
%%% End:
% LocalWords: finalreport progressreport.tex

View File

@ -0,0 +1,20 @@
\svnInfo $Id: progresssummary.tex 22679 2011-12-01 07:08:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/report/progresssummary.tex $
\section{Final Progress Report\deu{Arbeits- \& Ergebnisbericht}}
\begin{todo}{from the report template}
This is for the DFG web site and report, made available to the general public (maximum 1 page of A4)
\begin{itemize}
\item Presentation, in clearly understandable, everyday language of the key scientific
findings and any potential applications.
\item Any surprises encountered in the course of the project and in the results
obtained.
\item Reference to any articles published in the media reporting the success of the
project.Projects initial questions and objectives.
\end{itemize}
\end{todo}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "finalreport"
%%% End:
% LocalWords: finalreport

View File

@ -0,0 +1,62 @@
# possibly customize the following variables to your setting
PROPOSAL = proposal.tex # the proposal
BIB = ../lib/dummy.bib # bibTeX databases
PROP.dir = ../../..
###########################################################################
# the following are computed
TARGET = $(PROPOSAL) # all pdflatex targets
TARGET.pdf = $(TARGET:%.tex=%.pdf) # PDFs to be produced
TARGET.aux = $(TARGET:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1
BBL = proposal.bbl $(BBL.base:%=proposal%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc
DFGPROPCLS.dir = $(PROP.dir)/dfg
TEXINPUTS := .//:$(PROPCLS.dir)//:$(DFGPROPCLS.dir)//:$(PROPETC.dir)//:
BIBINPUTS := ../lib:$(BIBINPUTS)
PROPCLS.clssty = proposal.cls pdata.sty
PROPETC.sty = workaddress.sty metakeys.sty sref.sty
DFGPROPCLS.clssty = dfgproposal.cls dfgpdata.sty
PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(DFGPROPCLS.clssty:%=$(DFGPROPCLS.dir)/%) $(PROPETC.sty:%=$(PROPETC.dir)/%)
all: $(TARGET.pdf)
cd: # make cd will prepare CD for burning
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
bbl: $(BBL)
$(BBL): %.bbl: %.aux
bibtex -min-crossrefs=100 -terse $<
$(PDATA): %.pdata: %.tex
$(PDFLATEX) $<
$(TARGET.aux): %.aux: %.tex
$(PDFLATEX) $<
$(TARGET.pdf): %.pdf: %.tex $(SRC) $(BIB) $(PROPCLS)
$(PDFLATEX) $< || $(RM) $@
# sort $(PROPOSAL:%.tex=%.delivs) > $(PROPOSAL:%.tex=%.deliverables)
@if (test -e $(patsubst %.tex, %.idx, $<));\
then makeindex $(patsubst %.tex, %.idx, $<); fi
$(MAKE) -$(MAKEFLAGS) $(BBL)
@if (grep "(re)run BibTeX" $(patsubst %.tex, %.log, $<)> /dev/null);\
then $(MAKE) -B $(BBL); fi
$(PDFLATEX) $< || $(RM) $@
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
clean:
rm -f *.log *.blg *~ *.synctex.gz *.cut
distclean: clean
rm -f *.aux *.out *.run.xml *.bbl *.toc *.deliv* *.pdata
rm -Rf auto
echo:
echo $(BIBINPUTS)

View File

@ -0,0 +1,22 @@
An Exapmle for dfgproposal.cls
proposal.tex is a fake DFG proposal that shows all elements of
dfgproposal.cls in action.
finalreport.tex does the same for dfgreporting.cls
CV_PubList_Kohlhase.tex is an example of the CV and publication lists required
by the DFG
letter_submission.tex is an example submission letter.
*.tex the rest are intemediate files
doc contains the DFG documentation how to write proposals and
final reports: These documents are not subject to the
package's license but (c) DFG. They are bundled for your
convenience; up-to-date versions may be found at http://www.dfg.de.
Makefile allows the automation via a unix Makefile on the author's
machine, adapt it to your needs
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/dfgproposal/ex

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

View File

@ -0,0 +1,33 @@
\documentclass{dinbrief}
\usepackage{ngerman}
\signature{Dr. Michael Kohlhase\hspace*{5cm} Dr. Great Communicator}
\usepackage{pdata}\readpdata{proposal}
\begin{document}
\begin{letter}{Frau ?????\\
Deutsche Forschungsgemeinschaft\\
52170 Bonn}
\subject{Antrag auf Sachbeihilfe}
\opening{Sehr geehrte Frau ?????}
anbei senden wir Ihnen unseren Antrag auf Sachbeihilfe f"ur das Projekt "`\pn"'
(\pnlong) zu. Die elektronische Version des Antrags inklusive der Anlagen sowie Kopien
der eigenen Publikationen haben wir diesem Schreiben als CD beigef"ugt. Diese beinhaltet
die folgenden Dateien:
\begin{center}
\begin{tabular}{lp{8cm}}
\texttt{Antrag.pdf} & der Antrag\\
\texttt{CV\_Publist\_Kohlhase.pdf} & Lebenslauf Michael Kohlhase\\
\texttt{CV\_Publist\_Communicator.pdf} & Lebenslauf Great Communicator\\
Publikationen & Ordner mit den im Antrag bzw. in den Lebensl"aufen angegebenen
eigenen Veröffentlichungen Das projektbezogene Publikationsverzeichnis befindet sich im
Antrag unter Abschnitt 2.2.
\end{tabular}
\end{center}
\closing{Mit freundlichen Gr"u"sen,}
\end{letter}
\end{document}
% LocalWords: texttt Publist Schr

View File

@ -0,0 +1,98 @@
\svnInfo $Id: preconditions.tex 22679 2011-12-01 07:08:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/proposal/preconditions.tex $
\section{Project Requirements \deu{(Voraussetzungen f\"ur die Durchf\"uhrung des Vorhabens)}}
\subsection{Employment status information \deu{(Angaben zur Dienststellung)}}
\begin{todo}{from the proposal template}
For each applicant, state the last name, first name, and employment status (including
duration of contract and funding body, if on a fixed-term contract).
\end{todo}
\subsection{First-time proposal data \deu{(Angaben zur Erstantragstellung)}}
\begin{todo}{from the proposal template}
Only if applicable: Last name, first name of first-time applicant.
If this is your first proposal, reviewers will consider this fact when assessing your pro-
posal. Previous proposals for research fellowships, publication funding, travel allow-
ances, or funding for scientific networks are not considered first proposals. If you are
submitting a “first-time proposal” and it is part of a joint proposal, please note that your
independent project must be distinct from the other projects.
If you have already submitted a proposal as an applicant for a research grant and have
received a letter informing you of the funding decision, or if you have led an independ-
ent junior research group or project in a Collaborative Research Centre or Research
Unit, you are no longer eligible to submit a “first proposal”. If you have submitted a
“first-time proposal” and it was rejected, you may resubmit the application, in revised
form, as a first-time proposal for the same project.
\end{todo}
\subsection{Composition of the project group \deu{(Zusammensetzung der Projektarbeitsgruppe)}}
\begin{todo}{from the proposal template}
List only those individuals who will work on the project but will not be paid out of the
project funds. State each persons name, academic title, employment status, and type
of funding.
Please list separately the individuals paid by your institution and those paid using other
third-party funding (including fellowships).
\end{todo}
\begin{sitedescription}{jacu}
The KWARC (Knowledge Adaptation and Reasoning for Content) research group headed by
Michael Kohlhase for has the following members
\begin{compactdesc}
\item[Dr. N.N.] is the \ldots She has a background in\ldots.
\end{compactdesc}
Additionally, the group has attracted about 10 undergraduate and master's students that
actively take part in the project work and various aspects of research.
\end{sitedescription}
\subsection{Cooperation with other researchers \deu{(Zusammenarbeit mit anderen Wissenschaftlerinnen und Wissenschaftlern)}}
\subsubsection{Researchers with whom you have agreed to cooperate on this project \deu{(Wissenschaftlerinnen und Wissenschaftler, mit denen für dieses Vorhaben eine konkrete Vereinbarung zur Zusammenarbeit besteht)}}
\begin{compactdesc}
\item[Prof. Dr. Super Akquisiteur (Uni Paderborn)] knows exactly what to do to get funding
with DFG, we will interview him closely and integrate all his intuitions into the
{\pn} templates.
\item[Prof. Dr. Habe Nichts (Uni Hinterpfuiteufel)] has never gotten a grant proposal
through with DFG, we will try to avoid his mistakes.
\item[Dr. Sach Bearbeiter (DFG)] will consult with the DFG requirements to be met in the
proposals.
\item[Dr. Donald Knuth (Stanford University)] is so surprised that we want to do grant
proposals in {\TeX/\LaTeX} that he will help us with any problems we have in coding in
this wonderful programming language.
\end{compactdesc}
\subsubsection{Researchers with whom you have collaborated scientifically within the past three years \deu{(Wissenschaftlerinnen und Wissenschaftler, mit denen in den letzten drei Jahren wissenschaftlich zusammengearbeitet wurde)}}
\ednote{Anmerkung Jens: Etwas unklar, was die DFG hier möchte. Die Liste der Personen kann
sehr lang sein, also ist es wahrscheinlich besser nur die wichtigsten Projekte und
Kontakte zu listen.}
\begin{todo}{from the proposal template}
This information will assist the DFGs Head Office in avoiding potential conflicts of in-
terest during the review process.
\end{todo}
\subsection{Scientific equipment \deu{(Apparative Ausstattung)}}
Jacobs University provides laptops or desktop workstations for all academic
employees. Great Consulting GmbH. is rolling in money anyways and has all of the latest
gadgets.
\subsection{Project-relevant interests in commercial enterprises \deu{(Projektrelevante Beteiligungen an erwerbswirtschaftlichen Unternehmen)}}
Not applicable.
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: Durchf uhrung subsubsection ipower Hinterpfuiteufel Sach Aktivit
% LocalWords: Erkl arungen

View File

@ -0,0 +1,11 @@
@Comment{$ biblatex control file $}
@Comment{$ biblatex version 2.1 $}
Do not modify this file!
This is an auxiliary file used by the 'biblatex' package.
This file may safely be deleted. It will be recreated as
required.
@Control{biblatex-control,
options = {2.1:0:0:1:0:0:1:1:0:0:0:0:1:1:3:1:79:+},
}

Binary file not shown.

View File

@ -0,0 +1,112 @@
% the document class specification for the proposal writing process, add the 'submit' option
% for submitting (switches off various draft features); add the 'public' option to exclude
% any private parts.
\documentclass[RAM,noworkareas,nosites]{dfgproposal}
%\documentclass[submit]{dfgproposal}
%\documentclass[submit,public]{dfgproposal}
\addbibresource{../lib/dummy}
% the following lines get updated by subversion keyword replacement. They are used by the
% \svninfo package in draft mode to generate metadata.
\svnInfo $Id: proposal.tex 24441 2013-06-04 07:00:05Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/simple-proposal/proposal.tex $
%
\input{../lib/WApersons}
\begin{document}
\begin{center}\color{red}\huge
This mock proposal is just an example for \texttt{dfgproposal.cls} it reflects the
current DFG template valid from October 2011.
\end{center}
\urldef{\gcpubs}\url{http://www.pcg.phony/~gc/pubs.html}
\urldef{\mikopubs}\url{http://kwarc.info/kohlhase/publications.html}
\begin{proposal}[PI=miko,
pubspage=mikopubs,
thema=Intelligentes Schreiben von Antr\"agen,
acronym={iPoWr},
acrolong={\underline{I}ntelligent} {\underline{P}r\underline{o}posal} {\underline{Wr}iting},
title=\pn: \protect\pnlong,
totalduration=3 years,
since=1. Feb 2009,
start=1. Feb. 2010,
months=24,
RM=36,RAM=36,
discipline=Computer Science,
areas=Knowledge Management]
\begin{Summary}
\begin{todo}{copy into the Elan system}
Summarize the relevant goals of the proposed project in generally intelligible
terms. Do not use more than 3000 characters, no special characters allowed.
\end{todo}
\end{Summary}
\begin{Zusammenfassung}
\begin{todo}{in das Elan System kopieren}
Fassen Sie die relevanten Projektziele allgemeinverst''andlich in maximal 3000 Zeichen
(keine Sonderzeichen) zusammen
\end{todo}
Das Schreiben von Antr"agen ist ein kollaborativer Prozess in dem Betr"age von mehreren
Personen integriert werden mu"ussen. Ein ASCII-basiertes Format wie {\LaTeX} erlaubt die
Koordination dieses Prozesses mittels Versionsverwaltungssystemen wie
Subversion. Dadurch k''onnen sich die Antragsteller auf Inhalte konzentrieren anstatt
auf die Mechanik der Dokumentenverwaltung.
\end{Zusammenfassung}
\begin{Summary}
\begin{todo}{copy into the Elan system}
Summarize the relevant goals of the proposed project in generally intelligible
terms. Do not use more than 3000 characters, no special characters allowed.
\end{todo}
Writing grant proposals is a collaborative effort that requires the integration of
contributions from many individuals. The use of an ASCII-based format like {\LaTeX}
allows to coordinate the process via a source code control system like Subversion,
allowing the proposal writing team to concentrate on the contents rather than the
mechanics of wrangling with text fragments and revisions.
\end{Summary}
% It is often good to separate the top-level sections into separate files.
% Especially in collaborative proposals. We do this here.
\input{state}
\input{workplan}
\section{Bibliography concerning the state of the art, the research objectives, and the
work programme \deu{(Literaturverzeichnis zum Stand der Forschung, zu den Zielen und dem
Arbeitsprogramm)}}
\begin{todo}{from the proposal template}
In this bibliography, list only the works you cite in your presentation of the state of
the art, the research objectives, and the work programme. This bibliography is not the
list of publications. Non-published works must be included with the proposal.
\end{todo}
\printbibliography[heading=empty]
% the following will not become part of the public proposal after all most of this is
% technical or confidential.
%\begin{private}
\input{../proposal/funds}
\input{../proposal/preconditions}
\section{Additional information \deu{(Ergänzende Erklärungen)}}
Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ.
\end{proposal}
\end{document}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-PDF-mode:t
%%% TeX-master: t
%%% End:
% LocalWords: empty bibflorian systems rabe institutions modal historical pub
% LocalWords: kwarc till formalsafe miko gc ipower ipowerlong Antr agen Beitr
% LocalWords: acrolong intellegible kollaboratives koh arenten ussen Proze pcg
% LocalWords: Versionsmanagementsystem textsc unterst utzt konzentieren stex
% LocalWords: mechanik workplan thispagestyle newpage Principcal cvpubsmiko pn
% LocalWords: ourpubs zusammenfassung printbibliography pubspage ntelligent
% LocalWords: iting pnlong

View File

@ -0,0 +1,149 @@
\svnInfo $Id: workplan.tex 23021 2012-01-19 13:30:19Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/dfg/examples/simple-proposal/workplan.tex $
\section{Objectives and Work Schedule \deu{(Ziele und Arbeitsprogramm)}}
\subsection{Objectives}
\begin{objective}[id=firstobj,title=Supporting Authors]
This is the first objective, after all we have to write proposals all the time, and we
would rather spend time on research.
\end{objective}
\begin{objective}[id=secondobj,title=Supporting Reviewers]
They are only human too, so let's have a heart for them as well.
\end{objective}
\subsection{Work Schedule}
\begin{todo}{from the proposal template}
Give a short high-level introduction to how the work in the project should proceed,
explain Tables~\ref{fig:wplist} and~\ref{fig:gantt}.
\end{todo}
The project is organized around \pdatacount{all}{wp} work packages, which we summarize in
Figure~\ref{fig:wplist}.
\wpfig
We ensures the dissemination and creation of the periodic integrative reports containing
the periodic Project Management Report, the Project Management Handbook, an Knowledge
Dissemination Plan ({\WPref{management}}), the Proceedings of the Annual {\pn} Summer
School as well as non-public Dissemination and Exploitation plans ({\WPref{dissem}}), as
well as a report of the {\pn} project milestones.
\begin{workplan}
\begin{workpackage}[id=management,title=Project Management,wphases=1-24!.3,
RM=2,RAM=8]
Based on the ``Bewilligungsbescheid'' of the DFG, and based on the financial and
administrative data agreed, the project manager will carry out the overall project
management, including administrative management. A project quality handbook will be
defined, and a {\pn} help-desk for answering questions about the format (first
project-internal, and after month 12 public) will be established. The project management
will consist of the following tasks
\begin{tasklist}
\begin{task}[id=foo,wphases=0-3]%,requires=\taskin{t1}{dissem}]
To perform the administrative, scientific/technical, and financial management of the
project
\end{task}
\begin{task}[id=bar,wphases=13-17!.5]
To co-ordinate the contacts with the DFG and other funding bodies, building on the
results in \taskref{management}{foo}
\end{task}
\begin{task}
To control quality and timing of project results and to resolve conflicts
\end{task}
\begin{task}
To set up inter-project communication rules and mechanisms
\end{task}
\end{tasklist}
\end{workpackage}
\begin{workpackage}[id=dissem,title=Dissemination and Exploitation,
RM=8]
Much of the activity of a project involves small groups of nodes in joint work. This work
package is set up to ensure their best wide-scale integration, communication, and
synergetic presentation of the results. Clearly identified means of dissemination of
work-in-progress as well as final results will serve the effectiveness of work within the
project and steadily improve the visibility and usage of the emerging semantic services.
The work package members set up events for dissemination of the research and
work-in-progress results for researchers (workshops and summer schools), and for industry
(trade fairs). An in-depth evaluation will be undertaken of the response of test-users.
\begin{tasklist}
\begin{task}[id=t1,wphases=6-7]
sdfkj
\end{task}
\begin{task}[id=t2,wphases=12-13]
sdflkjsdf
\end{task}
\begin{task}[id=t3,wphases=18-19]
sdflkjsdf
\end{task}
\begin{task}[id=t4,wphases=22-24]
\end{task}
\end{tasklist}
Within two months of the start of the project, a project website will go live. This
website will have two areas: a members' area and a public area.\ldots
\end{workpackage}
\begin{workpackage}[id=class,
title=A LaTeX class for EU Proposals,short=Class,
RM=12,RAM=8]
We plan to develop a {\LaTeX} class for marking up EU Proposals
We will follow strict software design principles, first comes a
requirements analys, then \ldots
\begin{tasklist}
\begin{task}[id=c1,wphases=0-2]
sdfsdf
\end{task}
\begin{task}[id=c2,wphases=4-8]
sdfsdf
\end{task}
\begin{task}[id=c3,wphases=10-14]
sdfsdf
\end{task}
\begin{task}[id=c4,wphases=20-24]
sdfsdfd
\end{task}
\end{tasklist}
\end{workpackage}
\begin{workpackage}[id=temple,title= Proposal Template,
short=Template,RM=12]
We plan to develop a template file for {\pn} proposals
We abstract an example from existing proposals
\begin{tasklist}
\begin{task}[id=temple1,wphases=6-12]
sdfdsf
\end{task}
\begin{task}[id=temple2,wphases=18-24]%,requires=\taskin{c3}{class}]
sdfsdf
\end{task}
\end{tasklist}
\end{workpackage}
\begin{workpackage}[id=workphase,title=A work package without tasks,
wphases=0-4!.5]
And finally, a work package without tasks, so we can see the effect on the gantt chart
in fig~\ref{fig:gantt}.
\end{workpackage}
\end{workplan}
\ganttchart[draft,xscale=.45]
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "proposal"
%%% End:
% LocalWords: workplan.tex wplist dfgcount wa mansubsus duratio ipower wpfig
% LocalWords: ganttchart xscale workplan workarea pdataref dissem workpackage foo
% LocalWords: tasklist taskin taskref sdfkj sdflkjsdf sdfsdf sdfsdfd sdfdsf pn
% LocalWords: firstobj secondobj pdatacount WAref ednote OBJref wphases
% LocalWords: ldots OBJtref workphase gantttaskchart

63
etc/metakeys.sty Normal file
View File

@ -0,0 +1,63 @@
%%
%% This is file `metakeys.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% metakeys.dtx (with options: `package')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{metakeys}[2011/07/03 v0.9 Framework for Metadata Keys]
\newif\ifmetakeys@showmeta\metakeys@showmetafalse
\DeclareOption{showmeta}{\metakeys@showmetatrue}
\ProcessOptions
\RequirePackage{keyval}[1997/11/10]
\newcommand\addmetakey{\@ifstar\addmetakey@star\addmetakey@nostar}
\newcommand\addmetakey@star[3][]%
{\@ifnextchar[{\addmetakey@star@aux[#1]{#2}{#3}}{\addmetakey@star@aux[#1]{#2}{#3}[]}}
\def\addmetakey@star@aux[#1]#2#3[#4]{\metakeys@ext@clear@keys{#2}{#3}{#1}%
\metakeys@initialize@showkeys{#2}%
\define@key{#2}{#3}[#4]{\expandafter\gdef\csname #2@#3\endcsname{##1}}}
\newcommand\addmetakey@nostar[3][]%
{\metakeys@ext@showkeys{#2}{#3}\addmetakey@star[#1]{#2}{#3}}
\newcommand\metasetkeys[2]{\@nameuse{clear@#1@keys}\setkeys{#1}{#2}%
\ifmetakeys@showmeta%
\edef\@@keys{\@nameuse{#1@showkeys}}%
\metakeys@show@keys{#1}{\@for\@I:=\@@keys\do{\metakeys@show@keyval{#1}{\@I}}}%
\fi}
\newcommand\metakeys@ext@clear@keys[3]{\@metakeys@ext@clear@keys{#1}{#1@#2}{#3}}
\newcommand\@metakeys@ext@clear@keys[3]{\@ifundefined{clear@#1@keys}%
{\expandafter\gdef\csname clear@#1@keys\endcsname%
{\expandafter\gdef\csname #2\endcsname{#3}}}%
{\expandafter\g@addto@macro\csname clear@#1@keys\endcsname%
{\expandafter\gdef\csname #2\endcsname{#3}}}}
\newcommand\addmetalistkey{\@ifstar\addmetalistkey@star\addmetalistkey@nostar}
\newcommand\addmetalistkey@star[3][]{\metakeys@ext@clear@keys{#2}{#3}{#1}%
\metakeys@initialize@showkeys{#2}%
\expandafter\gdef\csname #2@#3s\endcsname{}
\define@key{#2}{#3}[#1]{%
\expandafter\ifx\csname #2@#3s\endcsname\@empty\expandafter\gdef\csname #2@#3s\endcsname{##1}%
\else\expandafter\xdef\csname #2@#3s\endcsname{\csname #2@#3s\endcsname,##1}%
\fi}}
\newcommand\addmetalistkey@nostar[3][]%
{\metakeys@ext@showkeys{#2}{#3}\addmetalistkey@star[#1]{#2}{#3}}
\newcommand\metakeys@initialize@showkeys[1]%
{\@ifundefined{#1@showkeys}{\expandafter\def\csname #1@showkeys\endcsname{}}{}}%
\newcommand\metakeys@ext@showkeys[2]{\@ifundefined{#1@showkeys}%
{\expandafter\def\csname #1@showkeys\endcsname{#2}}%
{\expandafter\edef\csname #1@showkeys\endcsname{\csname #1@showkeys\endcsname,#2}}}
\newcommand\@metakeys@show@key[2]{\metakeys@show@key{#2}{#1}}
\newcommand\metakeys@show@key[2]{\edef\@test{#2}\ifx\@test\@empty\else #1:#2\quad\fi}
\newcommand\metakeys@show@keys[2]{\marginpar{{\scriptsize #2}}}
\newcommand\metakeys@show@keyval[2]%
{\expandafter\@metakeys@show@key\csname #1@#2\endcsname{#2}}
\newcommand\showmetakeys{\metakeys@showmetatrue}
\newcommand\hidemetakeys{\metakeys@showmetafalse}
\newcommand\addmetakeynew[3][]{\metakeys@ext@clear@keys{#2}{#3}{#1}%
\define@key{#2}{#3}{\expandafter\gdef\csname #2@#3\endcsname{##1}}}
\newcommand\metakeys@unspecified{an metakeys-defined key left unspecified}
\newcommand\metakeysifus[4]{\message{testing #1@#2=\csname#1@#2\endcsname}%
\expandafter\ifx\csname #1@#2\endcsname\metakeys@unspecified{#3}\else{#4}\fi}
\endinput
%%
%% End of file `metakeys.sty'.

105
etc/sref.sty Normal file
View File

@ -0,0 +1,105 @@
%%
%% This is file `sref.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sref.dtx (with options: `package')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{sref}[2011/12/20 v1.0 Semantic Cross-References]
\DeclareOption{showmeta}{\PassOptionsToPackage{\CurrentOption}{metakeys}}
\newif\ifextrefs\extrefsfalse
\DeclareOption{extrefs}{\extrefstrue}
\ProcessOptions
\RequirePackage{metakeys}
\newcommand{\sref}[2][]{%
\@ifundefined{sref@part}{\sref@hlink[#1]{#2}}{\sref@hlink[#1]{\sref@part @#2}}}
\newcommand{\srefs}[3][]{%
\def\@test{#1}\ifx\@test\@empty\sref{#2} and \sref{#3}\else #1\fi}
\newcommand{\srefl}[3][]{%
\def\@test{#1}\ifx\@test\@empty\sref{#2} to \sref{#3}\else #1\fi}
\newcommand{\spageref}[1]{%
\@ifundefined{sref@part}{\sref@pageref{#1}}{\sref@pageref{\sref@part @#1}}}
\newif\ifhref\hreffalse
\AtBeginDocument{\@ifpackageloaded{hyperref}{\hreftrue}{\hreffalse}}
\newcommand\sref@href@ifh[2]{\ifhref\href{#1}{#2}\else#2\fi}
\newcommand\sref@hlink@ifh[2]{\ifhref\hyperlink{#1}{#2}\else#2\fi}
\newcommand\sref@target@ifh[2]{\ifhref\hypertarget{#1}{#2}\else#2\fi}
\def\sref@target%
{\ifx\sref@id\@empty\else%
\edef\@target{sref@\@ifundefined{sref@part}{}{\sref@part @}\sref@id @target}
\sref@target@ifh\@target{}\fi}
\newcommand\@sref@def[3]{\expandafter\gdef\csname sref@#1@#2\endcsname{#3}}
\ifextrefs\newwrite\refs@file\else\def\refs@file{\@auxout}\fi
\newcommand\sref@def[3]{%\@sref@def{#1}{#2}{#3}%
\protected@write\refs@file{}{\string\@sref@def{#1}{#2}{#3}}}
\addmetakey{srefaddidkey}{prefix}
\newcommand\srefaddidkey[2][]{\metasetkeys{srefaddidkey}{#1}%
\@metakeys@ext@clear@keys{#2}{sref@id}{}% id cannot have a default
\metakeys@ext@clear@keys{#2}{id}{}%
\metakeys@ext@showkeys{#2}{id}%
\define@key{#2}{id}{\edef\sref@id{\srefaddidkey@prefix ##1}%
\expandafter\edef\csname #2@id\endcsname{\srefaddidkey@prefix ##1}}}
\newcommand\makeextrefs[1]{\gdef\sref@part{#1}%
\makeatletter
\IfFileExists{\jobname.refs}{\input{\jobname.refs}}{}%
\immediate\openout\refs@file=\jobname.refs
\makeatother}
\newcommand\sref@label[2]{%
\sref@def{\@ifundefined{sref@part}{}{\sref@part @}#2}{page}{\thepage}%
\sref@def{\@ifundefined{sref@part}{}{\sref@part @}#2}{label}{#1}}
\newcommand\sreflabel[2]{\message{sreflabel: #1, #2}\sref@label{#1 \@currentlabel}{#2}}
\newcommand\sref@label@id[1]{\ifx\sref@id\@empty\else\sref@label{#1}{\sref@id}\fi}
\newcommand{\sref@hlink}[2][]{\def\@test{#1}%
\@ifundefined{sref@#2@label}%
{\protect\G@refundefinedtrue\@latex@warning{reference #2 undefined}??}%
{\sref@hlink@ifh{sref@#2@target}{\ifx\@test\@empty\@nameuse{sref@#2@label}\else #1\fi}}}
\newcommand{\sref@page@label}[1]{p.~{#1}}
\newcommand{\sref@pageref}[1]{\@ifundefined{sref@#1@page}%
{\protect\G@refundefinedtrue\@latex@warning{reference #1 undefined}\sref@page@label{??}}%
{\sref@hlink@ifh{sref@#1@target}{\sref@page@label{\@nameuse{sref@#1@page}}}}}
\newcommand{\sref@href}[3][]{\def\@test{#1}%
\@ifundefined{sref@#2@label}%
{\protect\G@refundefinedtrue\@latex@warning{reference #2 undefined}??}%
{\@ifundefined{sref@#3@URI}%
{\protect\G@refundefinedtrue\@latex@warning{external refs of type #3 undefined}??}%
{\edef\@uri{\@nameuse{sref@#3@URI}.pdf\#sref@#2@target}
\edef\@label{\ifx\@test\@empty\@nameuse{sref@#2@label}\else #1\fi}
\sref@href@ifh\@uri\@label}}}
\ifextrefs
\newcommand{\extref}[3][]{\def\theextref{\sref@href[#1]{#2@#3}{#2}}%
\csname doextref@#2\endcsname}
\else
\newcommand{\extref}[3][]{\sref[#1]{#3}}
\fi
\ifextrefs
\newcommand{\extpageref}[3][]{\def\thepageextref{\sref@pageref[#1]{#2@#3}{#2}}%
\csname doextpageref@#2\endcsname}
\else
\newcommand{\extpageref}[3][]{\spageref[#1]{#3}}
\fi
\newcommand\extrefstyle[2]{\expandafter\gdef\csname doextref@#1\endcsname{#2}}
\newcommand\extpagerefstyle[2]{\expandafter\gdef\csname doextpageref@#1\endcsname{#2}}
\newcommand{\inputrefs}[2]{%
\@namedef{sref@#1@URI}{#2}
\makeatletter%
\IfFileExists{#2.refs}{\input{#2.refs}}
{\PackageError{sref}{Reference file #1.refs does not exist}
{Maybe you have to run LaTeX on #2.tex first}}
\makeatother}
\srefaddidkey{sequation}
\def\sref@sequation@heading{equation}
\newenvironment{sequation}[1][]{\metasetkeys{sequation}{#1}%
\ifx\sref@id\@empty\begin{displaymath}\else% no id, using equation*
\begin{equation}\sref@target\sref@label@id{\sref@sequation@heading~(\theequation)}\fi}
{\ifx\sref@id\@empty\end{displaymath}\else\end{equation}\fi}
\newenvironment{seqnarray}[1][]%
{\metasetkeys{sequation}{#1}\begin{eqnarray*}\sref@target%
\sref@label@id{\sref@sequation@heading~(\theequation)}}
{\end{eqnarray*}}
\newcommand\withcite[2]{#2~\cite{#1}}
\newenvironment{withcitation}[1]{\def\citeit{\cite{#1}}}{}
\endinput
%%
%% End of file `sref.sty'.

136
etc/workaddress.sty Normal file
View File

@ -0,0 +1,136 @@
%%
%% This is file `workaddress.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% workaddress.dtx (with options: `package')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{workaddress}[2012/01/18 v0.4 WorkAddress]
\DeclareOption{showmeta}{\PassOptionsToPackage{\CurrentOption}{metakeys}}
\ProcessOptions
\RequirePackage{sref}
\RequirePackage{pgf}
\addmetakey{wa@person}{id}
\addmetakey{wa@person}{birthdate}
\addmetakey{wa@person}{email}
\addmetakey{wa@person}{url}
\addmetakey{wa@person}{affiliation}
\addmetakey{wa@person}{personaltitle}
\addmetakey{wa@person}{academictitle}
\addmetakey{wa@person}{department}
\addmetakey{wa@person}{workaddress}
\addmetakey{wa@person}{privaddress}
\addmetakey{wa@person}{worktel}
\addmetakey{wa@person}{privtel}
\addmetakey{wa@person}{workfax}
\addmetakey{wa@person}{privfax}
\addmetakey{wa@person}{worktelfax}
\addmetakey{wa@person}{privtelfax}
\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!}}
{}}
\def\wa@ref#1#2#3{\wa@ref@test{#1}{#2}{#3}\csname wa@#1@#2@#3\endcsname}
\let\wa@persons=\relax
\newcommand{\WAperson}[2][]{\metasetkeys{wa@person}{#1}
\ifx\wa@person@id\@empty\@latex@warning{key 'id' undefined in WAperson}\else
\wa@def{person}\wa@person@id{id}{\wa@person@id}% redundant, but useful for checking
\wa@def{person}\wa@person@id{name}{#2}
\wa@def{person}\wa@person@id{email}{\wa@person@email}
\wa@def{person}\wa@person@id{birthdate}{\wa@person@birthdate}
\wa@def{person}\wa@person@id{url}{\wa@person@url}
\wa@def{person}\wa@person@id{affiliation}{\wa@person@affiliation}
\wa@def{person}\wa@person@id{workaddress}{\wa@person@workaddress}
\wa@def{person}\wa@person@id{privaddress}{\wa@person@privaddress}
\wa@def{person}\wa@person@id{personaltitle}{\wa@person@personaltitle}
\wa@def{person}\wa@person@id{academictitle}{\wa@person@academictitle}
\wa@def{person}\wa@person@id{department}{\wa@person@department}
\wa@def{person}\wa@person@id{workaddress}{\wa@person@workaddress}
\wa@def{person}\wa@person@id{privaddress}{\wa@person@privaddress}
\wa@def{person}\wa@person@id{worktel}{\wa@person@worktel}
\wa@def{person}\wa@person@id{privtel}{\wa@person@privtel}
\wa@def{person}\wa@person@id{workfax}{\wa@person@workfax}
\wa@def{person}\wa@person@id{privfax}{\wa@person@privfax}
\wa@def{person}\wa@person@id{worktelfax}{\wa@person@worktelfax}
\wa@def{person}\wa@person@id{privtelfax}{\wa@person@privtelfax}
\@ifundefined{wa@persons}
{\xdef\wa@persons{\wa@person@id}}
{\xdef\wa@persons{\wa@persons,\wa@person@id}}
\fi}
\newcommand\DCMperson[2][]{\WAperson[#1]{#2}%
\PackageWarning{workaddress}{\protect\DCMperson\space is deprecated, use \protect\WAperson\space instead}}
\addmetakey{wa@institution}{id}
\addmetakey{wa@institution}{shortname}
\addmetakey{wa@institution}{acronym}
\addmetakey{wa@institution}{url}
\addmetakey{wa@institution}{partof}
\addmetakey{wa@institution}{countryshort}
\addmetakey{wa@institution}{logo}
\addmetakey{wa@institution}{streetaddress}
\addmetakey{wa@institution}{townzip}
\addmetakey{wa@institution}{type}
\addmetakey{wa@institution}{country}
\let\wa@institutions=\relax
\newcommand{\WAinstitution}[2][]{\metasetkeys{wa@institution}{#1}
\ifx\wa@institution@id\@empty\@latex@warning{key 'id' undefined in WAinstitution}\else
\wa@def{institution}\wa@institution@id{id}{\wa@institution@id}% redundant, but useful for checking
\wa@def{institution}\wa@institution@id{name}{#2}
\wa@def{institution}\wa@institution@id{shortname}{\wa@institution@shortname}
\wa@def{institution}\wa@institution@id{acronym}{\wa@institution@acronym}
\wa@def{institution}\wa@institution@id{url}{\wa@institution@url}
\wa@def{institution}\wa@institution@id{partof}{\wa@institution@partof}
\wa@def{institution}\wa@institution@id{countryshort}{\wa@institution@countryshort}
\wa@def{institution}\wa@institution@id{logo}{\wa@institution@logo}
\wa@def{institution}\wa@institution@id{townzip}{\wa@institution@townzip}
\wa@def{institution}\wa@institution@id{streetaddress}{\wa@institution@streetaddress}
\wa@def{institution}\wa@institution@id{country}{\wa@institution@country}
\wa@def{institution}\wa@institution@id{type}{\wa@institution@type}
\@ifundefined{wa@institutions}
{\xdef\wa@institutions{\wa@institution@id}}
{\xdef\wa@institutions{\wa@institutions,\wa@institution@id}}
\fi}
\newcommand\DCMinstitution[2][]{\WAinstitution[#1]{#2}%
\PackageWarning{workaddress}{\protect\DCMinstitution\space is deprecated, use \protect\WAinstitution\space instead}}
\addmetakey[false]{WAauthorblock}{dept}[true]
\addmetakey[false]{WAauthorblock}{aff}[true]
\addmetakey[false]{WAauthorblock}{url}[true]
\def\@true{true}
\newcounter{authors}
\newcommand\WAauthorblock[2][]{%
\metasetkeys{WAauthorblock}{#1}
{\let\tabularnewline\relax
\@for\@I:=#2\do{\stepcounter{authors}}
\def\@authors{}\def\@affs{}\def\@depts{}\def\@urls{}
\@for\@I:=#2\do
{\xdef\@authors{\@authors&\wa@ref{person}\@I{name}}
\xdef\@@dept{\wa@ref{person}\@I{department}}
\xdef\@shortname{\csname wa@institution@\@@dept @shortname\endcsname}
\xdef\@dept{\ifx\@shortname\@empty\wa@ref{institution}\@@dept{name}\else\@shortname\fi}
\xdef\@depts{\@depts&\@dept}
\xdef\@@aff{\wa@ref{person}\@I{affiliation}}
\xdef\@shortname{\csname wa@institution@\@@aff @shortname\endcsname}
\xdef\@aff{\ifx\@shortname\@empty\wa@ref{institution}\@@aff{name}\else\@shortname\fi}
\xdef\@affs{\@affs&\@aff}
\xdef\@urls{\@urls&\wa@ref{person}\@I{url}}}
\message{\theauthors authors: \@authors}}
\begin{tabular}[t]{l*{\theauthors}{c}}
\@authors\\
\ifx\WAauthorblock@dept\@true\@depts\\\fi
\ifx\WAauthorblock@aff\@true\@affs\\\fi
\ifx\WAauthorblock@url\@true\@urls\\\fi
\end{tabular}}
\newcommand\wapname[1]{\wa@ref{person}{#1}{name}}
\newcommand\waptname[1]{\wa@ref{person}{#1}{personaltitle} \wa@ref{person}{#1}{name}}
\newcommand\wa@institution@logo[2][]{%
\pgfdeclareimage[#1]{logo}{\wa@ref{institution}{#2}{logo}}
\IfFileExists{\wa@ref{institution}{#2}{logo}}%
{\pgfuseimage{logo}}
{\fbox{#2 logo}\message{still need logo for #2}}}
\endinput
%%
%% End of file `workaddress.sty'.

BIN
eu/FP7-logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

14
eu/Makefile Normal file
View File

@ -0,0 +1,14 @@
PREFIX = ../lib
PACKAGE = eu
TDSCOLL = proposal
DTX.cls.base = euproposal
TDS.tex = eureporting.cls eupdata.sty
EXDIRS = examples
all: package doc
@for d in $(EXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@); done;
include $(PREFIX)/Makefile.vars
TEXINPUTS = .:
include $(PREFIX)/Makefile.in

14
eu/README Normal file
View File

@ -0,0 +1,14 @@
euproposal.cls: A class for preparing FP7 proposals for collaborative projects
The euproposal class supports many of the specific elements of a Framework 7 Proposal. It
is optimized towards collaborative projects. The package comes with extensive examples. To
start a new proposal just copy a suitable one and modify it to your needs. Note that the
structure of EU proposals changes from time to time, so that the examples may be out of
date.
Copyright(c) 2007 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu

27
eu/eupdata.sty Normal file
View File

@ -0,0 +1,27 @@
%%
%% This is file `eupdata.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% euproposal.dtx (with options: `pdata')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{eudata}[2013/01/13 v1.4 EU Project Data]
\define@key{prop@gen}{coordinator}{\def\prop@gen@coordinator{#1}\pdata@def{prop}{gen}{coordinator}{#1}}
\def\prop@gen@challenge{??}\def\prop@gen@challengeid{??}
\define@key{prop@gen}{challenge}{\def\prop@gen@challenge{#1}\pdata@def{prop}{gen}{challenge}{#1}}
\define@key{prop@gen}{challengeid}{\def\prop@gen@challengeid{#1}\pdata@def{prop}{gen}{challengeid}{#1}}
\def\prop@gen@objective{??}\def\prop@gen@objectiveid{??}
\define@key{prop@gen}{objective}{\def\prop@gen@objective{#1}\pdata@def{prop}{gen}{objective}{#1}}
\define@key{prop@gen}{objectiveid}{\def\prop@gen@objectiveid{#1}\pdata@def{prop}{gen}{objectiveid}{#1}}
\def\prop@gen@outcome{??}\def\prop@gen@outcomeid{??}
\define@key{prop@gen}{outcome}{\def\prop@gen@outcome{#1}\pdata@def{prop}{gen}{outcome}{#1}}
\define@key{prop@gen}{outcomeid}{\def\prop@gen@outcomeid{#1}\pdata@def{prop}{gen}{outcomeid}{#1}}
\define@key{prop@gen}{callname}{\def\prop@gen@call{#1}\pdata@def{prop}{gen}{callname}{#1}}
\define@key{prop@gen}{callid}{\def\prop@gen@call{#1}\pdata@def{prop}{gen}{callid}{#1}}
\define@key{prop@gen}{iconrowheight}{\def\prop@gen@iconrowheight{#1}}
\define@key{prop@gen}{topicsaddressed}{\def\prop@gen@topicsaddressed{#1}}
\endinput
%%
%% End of file `eupdata.sty'.

116
eu/euproposal.cls Normal file
View File

@ -0,0 +1,116 @@
%%
%% This is file `euproposal.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% euproposal.dtx (with options: `cls')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{euproposal}[2013/01/13 v1.4 EU Proposal]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{proposal}}
\ProcessOptions
\LoadClass[report,noRAM]{proposal}
\RequirePackage{longtable}
\RequirePackage{eurosym}
\RequirePackage{wrapfig}
\RequirePackage{eupdata}
\def\thepart{\Alph{part}}
\setcounter{part}{2}
\def\thechapter{\thepart.\arabic{chapter}}
\def\numberline#1{\hb@xt@\@tempdima{#1\hfil} }
\newcommand\prop@sites@table{\def\@@table{}
{\let\tabularnewline\relax\let\hline\relax
\@for\@I:=\prop@gen@sites\do{\xdef\@@table{\@@table\pdataref{site}\@I{number}}
\xdef\@@table{\@@table&\@nameuse{wa@institution@\@I @name}}
\xdef\@@table{\@@table&\@nameuse{wa@institution@\@I @acronym}}
\xdef\@@table{\@@table&\@nameuse{wa@institution@\@I @countryshort}\tabularnewline\hline}}}
\begin{tabular}{|l|p{8cm}|l|l|}\hline
\# & Participant organisation name & Short name & Country\\\hline\hline
\@@table
\end{tabular}}
\renewenvironment{prop@proposal}
{\thispagestyle{empty}\begin{center}
{\Large \prop@gen@instrument}\\[.2cm]
{\LARGE\textbf\prop@gen@callname}\\[.4cm]
{\Large \prop@gen@callid}\\[.4cm]
{\LARGE\textbf\prop@gen@title}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
\end{center}
{\large\prop@gen@instrument}\\
{\large\textbf{Date of Preparation: \today}}
\ifsubmit\else\\{\large\textbf{Revision}: {\svnInfoRevision} of \svnInfoDate}\fi\\[1em]
{\large}
\begin{large}
\begin{description}
\item[Work program topics addressed by \pn:]
\@ifundefined{prop@gen@topicsaddressed}
{\textbf{Challenge \prop@gen@challengeid}: \prop@gen@challenge,
\textbf{Objective \prop@gen@objectiveid}: \prop@gen@objective,
\textbf{target outcome \prop@gen@outcomeid}) \prop@gen@outcome.}
{\prop@gen@topicsaddressed}\\[1em]
\item[Coordinator:] \wa@ref{person}\prop@gen@coordinator{name}
\item[e-mail:] \wa@ref{person}\prop@gen@coordinator{email}
\item[tel/fax:] \wa@ref{person}\prop@gen@coordinator{worktelfax}
\end{description}
\end{large}
\vspace*{1em}
\begin{center}
\prop@sites@table\vfill
\@ifundefined{prop@gen@iconrowheight}{}
{\@for\@site:=\prop@gen@sites\do{\wa@institution@logo[height=\prop@gen@iconrowheight]\@site\qquad}}
\end{center}
\newpage
\setcounter{tocdepth}{2}\setcounter{part}{2}}
{\newpage\printbibliography[heading=warnpubs,maxnames=999]}
\def\prop@gen@instrument{Proposal Instrument (e.g. IP)}
\newenvironment{sitedescription}[2][]{\def\@test{#1}%
\begin{wrapfigure}{r}{5.4cm}\vspace{-2.5ex}%
\begin{tabular}{|p{5cm}|}\hline\vspace{1mm}%
\ifx\@test\@empty%
\wa@institution@logo[height=1.3cm]{#2}\else%
\wa@institution@logo[#1]{#2}\fi\\[1ex]%
\textbf{\wa@ref{institution}{#2}{type}.\hfill \wa@ref{institution}{#2}{country}}\\%
\small\wa@ref{institution}{#2}{streetaddress}, \wa@ref{institution}{#2}{townzip}\\\hline%
\end{tabular}\vspace{-2.5ex}%
\end{wrapfigure}%
\pdata@target{site}{#2}%
{\subsection{\wa@ref{institution}{#2}{acronym}:%
{\textsc{\wa@ref{institution}{#2}{name}} (\wa@ref{institution}{#2}{countryshort})}}}%
\small%
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{0.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}}
{}
\newmdenv[frametitle=Objectives]{wpobjectives}
\newmdenv[frametitle=Description]{wpdescription}
\renewenvironment{workpackage}[1][]
{\begin{work@package}[#1]\subsubsection*{\wptitle}
\addcontentsline{toc}{subsubsection}{\wp@label\wp@num: \pdataref{wp}\wp@id{title}}}
{\end{work@package}}
\newcounter{@sitespo}\newcounter{@sitespt}
\renewcommand\wpheadertable{%
\wp@sites@efforts@lines%
\setcounter{@sitespo}{\thewp@sites@num}\addtocounter{@sitespo}{1}%
\setcounter{@sitespt}{\thewp@sites@num}\addtocounter{@sitespt}{2}%
\par\noindent\begin{tabular}{|l|*{\thewp@sites@num}{c|}c|}\hline%
\multicolumn{\the@sitespt}{|l|}{\textbf{\wp@mk@title{\wp@num}: }%
\textsf{\pdata@target{wp}{\wp@id}{\pdataref{wp}\wp@id{title}}}}\\\hline%
\textbf{Start: }\pdataref{wp}\wp@id{start}&%
\multicolumn{\the@sitespo}{l|}{\textbf{Activity Type: }\pdataref{wp}\wp@id{type}}\\\hline%
\wp@sites@line\\\hline%
\wp@efforts@line\\\hline%
\end{tabular}\smallskip\par\noindent\ignorespaces}
\newenvironment{risk}[3]
{\paragraph{Risk: #1}\hfill\emph{probability}: #2, \emph{gravity}: #3\par\noindent\ignorespaces}
{}
\newenvironment{riskcont}[3]
{\begin{risk}{#1}{#2}{#3}\textbf{Contingency:} }
{\end{risk}}
\newcommand\keypubs[1]{%
\paragraph{Key publications relevant to the project}%
{\renewcommand{\baselinestretch}{.9}\prop@paperlist{#1}}}
\endinput
%%
%% End of file `euproposal.cls'.

448
eu/euproposal.dtx Normal file
View File

@ -0,0 +1,448 @@
% \iffalse meta-comment
% A class for preparing FP7 proposals for collaborative projects
%
% Copyright (c) 2011 Michael Kohlhase, all rights reserved
%
% This file is distributed under the terms of the LaTeX Project Public
% License from CTAN archives in directory macros/latex/base/lppl.txt.
% Either version 1.0 or, at your option, any later version.
%
% The development version of this file can be found at
% $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/euproposal.dtx $
% \fi
%
% \iffalse
%<cls|pdata|reporting>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<cls>\ProvidesClass{euproposal}[2013/01/13 v1.4 EU Proposal]
%<pdata>\ProvidesPackage{eudata}[2013/01/13 v1.4 EU Project Data]
%<reporting>\ProvidesPackage{eureporting}[2013/01/13 v1.4 EU Project Reporting]
%<*driver>
\documentclass[twoside]{ltxdoc}
\DoNotIndex{\def,\long,\edef,\xdef,\gdef,\let,\global}
\DoNotIndex{\begin,\AtEndDocument,\newcommand,\newcounter,\stepcounter}
\DoNotIndex{\immediate,\openout,\closeout,\message,\typeout}
\DoNotIndex{\section,\scshape,\arabic}
\EnableCrossrefs
%\CodelineIndex
%\OnlyDescription
\RecordChanges
\usepackage{textcomp,url,paralist,a4wide,xspace}
\usepackage[show]{ed}
\usepackage[eso-foot,today,draft]{svninfo}
\usepackage[maxnames=6,hyperref=auto,style=alphabetic,backend=bibtex]{biblatex}
\bibliography{kwarc}
\usepackage[bookmarks=true,linkcolor=blue,
citecolor=blue,urlcolor=blue,colorlinks=true,
breaklinks=true, bookmarksopen=true]{hyperref}
\makeindex
\newcommand\subversion{\textsc{Subversion}\xspace}
\begin{document}
\svnInfo $Id: euproposal.dtx 24071 2013-01-13 12:52:43Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/euproposal.dtx $
\DocInput{euproposal.dtx}
\end{document}
%</driver>
% \fi
%
%\iffalse\CheckSum{365}\fi
%
% \changes{v0.1}{2007/05/07}{used in the SciML proposal}
% \changes{v0.2}{2007/05/09}{First Version with Documentation}
% \changes{v0.3}{2007/06/04}{staff effort table finally works, released}
% \changes{v0.3a}{2008/01/18}{error corrections and more documentation}
% \changes{v1.3}{2011/05/18}{basing this on proposal.cls}
% \changes{v1.4}{2012/01/18}{various tweaks for the Jan 2012 proposal deadline}
%
% \GetFileInfo{euproposal.cls}
%
% \MakeShortVerb{\|}
% \title{Preparing FP7 EU Proposals and Reports in {\LaTeX} with \texttt{euproposal.cls}}
% \author{Michael Kohlhase\\
% Computer Science, Jacobs University Bremen\\
% \url{http://kwarc.info/kohlhase}}
% \maketitle
%
% \begin{abstract}
% The |euproposal| class supports many of the specific elements of a Framework 7
% Proposal. It is optimized towards collaborative projects. The package comes with an
% extensive example (a fake EU proposal) that shows all elements in action.
% \end{abstract}
%
% \tableofcontents\newpage
%
% \section{Introduction}\label{sec:intro}
%
% Writing grant proposals is a collaborative effort that requires the integration of
% contributions from many individuals. The use of an ASCII-based format like {\LaTeX}
% allows to coordinate the process via a source code control system like
% \subversion, allowing the proposal writing team to concentrate on the contents
% rather than the mechanics of wrangling with text fragments and revisions.
%
% The |euproposal| class extends the |proposal| class~\cite{Kohlhase:pplp:svn} and
% supports many of the specific elements of Part B of a Framework 7 Proposal. The
% package documentation is still preliminary, fragmented and incomplete and only dwells
% on the particulars of DFG proposals, so we treat~\cite{Kohlhase:pplp:svn} as a
% prerequisite. Please consult the example proposal |propB.tex|, which comes with the
% package and shows the usage of the class in action. It is intended as a template for
% your proposal, but please bear in mind that the EU guidelines may change from call to
% call, if in doubt, please consult the FP7 guide for proposers.\ednote{say something
% about the proposers guide.}
%
% The |eureporting| class supports most of the specific elements of the project reports
% to the EC. The example report |dfg/report.tex| is intended as a template for your
% final report\ednote{say something about reporting}.
%
% The |euproposal| and |eureporting| classes and the |eupdata| package are distributed
% under the terms of the LaTeX Project Public License from CTAN archives in directory
% macros/latex/base/lppl.txt. Either version 1.0 or, at your option, any later
% version. The CTAN archive always contains the latest stable version, the development
% version can be found at
% {\url{https://svn.kwarc.info/repos/kwarc/doc/macros/euproposal}} For bug reports
% please use the sTeX trac at {\url{https://trac.kwarc.info/sTeX/}} with component
% |euproposal|.
%
% \section{The User Interface}\label{sec:user-interface}
%
% In this section we will describe the functionality offered by the |euproposal| class
% along the lines of the macros and environments the class provides. Much of the
% functionality can better be understood by studying the functional example |proposal.tex|
% (and its dependents) that comes with the |euproposal| package in conjunction with the
% proposer's EU proposer's guidelines (we have included it as |***| for convenience into
% the package distribution).\ednote{MK@MK do that and talk about reporting as well.}
%
% \subsection{Package Options}\label{sec:user:options}
%
% As usual in {\LaTeX}, the package is loaded by
% |\documentclass[|\meta{options}|]{euproposal}|, where |[|\meta{options}|]| is optional
% and gives a comma separated list of options specified in~\cite{Kohlhase:pplp:svn}.
%
% \subsection{Proposal Metadata and Title page}\label{sec:user:metadata}
%
% The metadata of the proposal is specified in the \DescribeEnv{proposal}|proposal|
% environment, which also generates the title page and the first section of the proposal
% as well as the last pages of the proposal with the signatures, enclosures, and
% references. The |proposal| environment should contain all the mandatory parts of the
% proposal text. The |proposal| environment uses the following EU-specific keys to
% specify metadata.
% \begin{compactitem}
% \item \DescribeMacro{callname}|callname| specifies the call the proposal addresses. It is
% usually a string of the form |ICT Call 1|, \DescribeMacro{callid}|callid| is the
% corresponding identifier, usually a string of the form |FP7-???-200?-?|. An overview
% over open calls can be found at \url{http://cordis.europa.eu/fp7/dc/index.cfm}
% \item The \DescribeMacro{challenge}|challenge|, \DescribeMacro{objective}|objective|,
% and \DescribeMacro{outcome}|outcome| keys specifies the specific parts in the call
% this proposal addresses. These are specified in the ``call fiche'' that can be
% obtained from the URL above. All of these have an identifier, which can be specified
% via the \DescribeMacro{challengeid}|challengeid|,
% \DescribeMacro{objectiveid}|objectiveid|, and \DescribeMacro{outcomeid}|outcomeid|
% keys.\ednote{MK@MK: the outcomeid should key should be a list key, I am not
% implementing this right now, since it comes more natural when we change the class to
% metakeys support.}
% \item \DescribeMacro{topicsaddressed}|topicsaddressed| allows to enter free-form text
% instead of specifying the |challenge*|, |objective*|, and |outcome*| keys.
% \item The \DescribeMacro{coordinator}|coordinator| key gives the identifier of the
% proposal coordinator. The |euproposal| package uses the |workaddress| package for
% representation of personal metadata, see~\cite{Kohlhase:workaddress:ctan} for details.
% \item If given, the \DescribeMacro{iconrowheight}|iconrowheight| key instructs the
% |euproposal| class to make a line with the logos of the participants at the bottom of
% the title page, and specify their heights; |1.5cm| is often a good value.
% \end{compactitem}
%
% \subsection{Work Packages and Work Areas}\label{sec:wpwa}
%
% \DescribeMacro{type} The |type| key specifies the activity type of the work package:
% |RTD| = Research and technological development (including any activities to prepare for
% the dissemination and/or exploitation of project results, and coordination activities);
% |DEM| = Demonstration; |MGT| = Management of the consortium; |OTHER| = Other specific
% activities, if applicable in this call.
%
% \begin{newpart}{MK@MK: This is new, and only partially implemented}
% \subsection{Reporting Infrastructure}\label{sec:user:report}
%
% The |eureporting| class gives an infrastructure for writing final reports of completed
% projects (see the file |finalreport.tex| in the package distribution). The
% \DescribeEnv{report}|report| environment has functionality analogous to the |proposal|
% environment. It takes the same metadata keys --- making it easy to generate by
% copy/paste from the proposal --- but adds the keys \DescribeMacro{key}|key| can be used
% to specify the reference key (something like \texttt{KO 2428 47-11}) given to the
% project by EU. Note that in the case of multiple proposers, you can use multiple
% instances of |key| to specify more than one reference key.
% \end{newpart}
%
% \section{Limitations and Enhancements}\label{sec:limitations}
%
% The |euproposal| is relatively early in its development, and many enhancements are
% conceivable. We will list them here.
% \begin{enumerate}
% \item none reported yet.
% \end{enumerate}
% If you have other enhancements to propose or feel you can alleviate some limitation,
% please feel free to contact the author.
%
% \StopEventually{\newpage\PrintIndex\newpage\PrintChanges\newpage\printbibliography}\newpage
%
% \section{The Implementation}\label{sec:implementation}
%
% In this section we describe the implementation of the functionality of the |euproposal|
% and |eureporting| classes and the |eupdata| package.
%
% \subsection{Package Options and Format Initialization}\label{sec:impl:options}
%
% We first set up the options for the package.
%
% \begin{macrocode}
%<cls>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{proposal}}
%<reporting>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{reporting}}
%<cls|reporting>\ProcessOptions
% \end{macrocode}
%
% Then we load the packages we make use of
%
% \begin{macrocode}
%<cls>\LoadClass[report,noRAM]{proposal}
%<reporting>\LoadClass[report,noRAM]{reporting}
%<*cls|reporting>
\RequirePackage{longtable}
\RequirePackage{eurosym}
\RequirePackage{wrapfig}
\RequirePackage{eupdata}
%</cls|reporting>
% \end{macrocode}
%
% \subsection{Proposal Metadata and Title Page}\label{sec:impl:metadata}
%
% We extend the metadata keys from the |proposal| class.
% \begin{macrocode}
%<*pdata>
\define@key{prop@gen}{coordinator}{\def\prop@gen@coordinator{#1}\pdata@def{prop}{gen}{coordinator}{#1}}
\def\prop@gen@challenge{??}\def\prop@gen@challengeid{??}
\define@key{prop@gen}{challenge}{\def\prop@gen@challenge{#1}\pdata@def{prop}{gen}{challenge}{#1}}
\define@key{prop@gen}{challengeid}{\def\prop@gen@challengeid{#1}\pdata@def{prop}{gen}{challengeid}{#1}}
\def\prop@gen@objective{??}\def\prop@gen@objectiveid{??}
\define@key{prop@gen}{objective}{\def\prop@gen@objective{#1}\pdata@def{prop}{gen}{objective}{#1}}
\define@key{prop@gen}{objectiveid}{\def\prop@gen@objectiveid{#1}\pdata@def{prop}{gen}{objectiveid}{#1}}
\def\prop@gen@outcome{??}\def\prop@gen@outcomeid{??}
\define@key{prop@gen}{outcome}{\def\prop@gen@outcome{#1}\pdata@def{prop}{gen}{outcome}{#1}}
\define@key{prop@gen}{outcomeid}{\def\prop@gen@outcomeid{#1}\pdata@def{prop}{gen}{outcomeid}{#1}}
\define@key{prop@gen}{callname}{\def\prop@gen@call{#1}\pdata@def{prop}{gen}{callname}{#1}}
\define@key{prop@gen}{callid}{\def\prop@gen@call{#1}\pdata@def{prop}{gen}{callid}{#1}}
\define@key{prop@gen}{iconrowheight}{\def\prop@gen@iconrowheight{#1}}
\define@key{prop@gen}{topicsaddressed}{\def\prop@gen@topicsaddressed{#1}}
%</pdata>
% \end{macrocode}
%
% and now the ones for the final report
% \begin{macrocode}
%<*reporting>
\define@key{prop@gen}{reportperiod}{\def\prop@gen@reportperiod{#1}}
\define@key{prop@gen}{key}{\@dmp{key=#1}%
\@ifundefined{prop@gen@keys}{\xdef\prop@gen@keys{#1}}{\xdef\prop@gen@keys{\prop@gen@keys,#1}}}
\define@key{prop@gen}{projpapers}{\def\prop@gen@projpapers{#1}}
%</reporting>
% \end{macrocode}
%
% and the default values, these will be used, if the author does not specify something
% better.
%
% We need to redefine some of the internal counters and table of contents mechanisms to
% adapt to the fact that the proposal text is just Part B.
%
% \begin{macrocode}
%<*cls>
\def\thepart{\Alph{part}}
\setcounter{part}{2}
\def\thechapter{\thepart.\arabic{chapter}}
\def\numberline#1{\hb@xt@\@tempdima{#1\hfil} }
% \end{macrocode}
%
% \begin{macro}{\prop@sites@table}
% \begin{macrocode}
\newcommand\prop@sites@table{\def\@@table{}
{\let\tabularnewline\relax\let\hline\relax
\@for\@I:=\prop@gen@sites\do{\xdef\@@table{\@@table\pdataref{site}\@I{number}}
\xdef\@@table{\@@table&\@nameuse{wa@institution@\@I @name}}
\xdef\@@table{\@@table&\@nameuse{wa@institution@\@I @acronym}}
\xdef\@@table{\@@table&\@nameuse{wa@institution@\@I @countryshort}\tabularnewline\hline}}}
\begin{tabular}{|l|p{8cm}|l|l|}\hline
\# & Participant organisation name & Short name & Country\\\hline\hline
\@@table
\end{tabular}}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{prop@proposal}
% \begin{macrocode}
\renewenvironment{prop@proposal}
{\thispagestyle{empty}\begin{center}
{\Large \prop@gen@instrument}\\[.2cm]
{\LARGE\textbf\prop@gen@callname}\\[.4cm]
{\Large \prop@gen@callid}\\[.4cm]
{\LARGE\textbf\prop@gen@title}\\[.3cm]
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]
\end{center}
{\large\prop@gen@instrument}\\
{\large\textbf{Date of Preparation: \today}}
\ifsubmit\else\\{\large\textbf{Revision}: {\svnInfoRevision} of \svnInfoDate}\fi\\[1em]
{\large}
\begin{large}
\begin{description}
\item[Work program topics addressed by \pn:]
\@ifundefined{prop@gen@topicsaddressed}
{\textbf{Challenge \prop@gen@challengeid}: \prop@gen@challenge,
\textbf{Objective \prop@gen@objectiveid}: \prop@gen@objective,
\textbf{target outcome \prop@gen@outcomeid}) \prop@gen@outcome.}
{\prop@gen@topicsaddressed}\\[1em]
\item[Coordinator:] \wa@ref{person}\prop@gen@coordinator{name}
\item[e-mail:] \wa@ref{person}\prop@gen@coordinator{email}
\item[tel/fax:] \wa@ref{person}\prop@gen@coordinator{worktelfax}
\end{description}
\end{large}
\vspace*{1em}
\begin{center}
\prop@sites@table\vfill
\@ifundefined{prop@gen@iconrowheight}{}
{\@for\@site:=\prop@gen@sites\do{\wa@institution@logo[height=\prop@gen@iconrowheight]\@site\qquad}}
\end{center}
\newpage
\setcounter{tocdepth}{2}\setcounter{part}{2}}
{\newpage\printbibliography[heading=warnpubs,maxnames=999]}
% \end{macrocode}
% \end{environment}
%
% \begin{macrocode}
\def\prop@gen@instrument{Proposal Instrument (e.g. IP)}
% \end{macrocode}
%
% \begin{environment}{sitedescription}
% \ednote{this code should probably be refactored into proposal.dtx}
% \begin{macrocode}
\newenvironment{sitedescription}[2][]{\def\@test{#1}%
\begin{wrapfigure}{r}{5.4cm}\vspace{-2.5ex}%
\begin{tabular}{|p{5cm}|}\hline\vspace{1mm}%
\ifx\@test\@empty%
\wa@institution@logo[height=1.3cm]{#2}\else%
\wa@institution@logo[#1]{#2}\fi\\[1ex]%
\textbf{\wa@ref{institution}{#2}{type}.\hfill \wa@ref{institution}{#2}{country}}\\%
\small\wa@ref{institution}{#2}{streetaddress}, \wa@ref{institution}{#2}{townzip}\\\hline%
\end{tabular}\vspace{-2.5ex}%
\end{wrapfigure}%
\pdata@target{site}{#2}%
{\subsection{\wa@ref{institution}{#2}{acronym}:%
{\textsc{\wa@ref{institution}{#2}{name}} (\wa@ref{institution}{#2}{countryshort})}}}%
\small%
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{0.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}}
{}
% \end{macrocode}
% \end{environment}
%
% \subsection{Work Packages, Work Areas, and Deliverables}\label{sec:wpwa}
%
% \begin{environment}{wp*}
% \begin{macrocode}
\newmdenv[frametitle=Objectives]{wpobjectives}
\newmdenv[frametitle=Description]{wpdescription}
% \end{macrocode}
% \end{environment}
%
% \begin{environment}{workpackage}
%
% \begin{macrocode}
\renewenvironment{workpackage}[1][]
{\begin{work@package}[#1]\subsubsection*{\wptitle}
\addcontentsline{toc}{subsubsection}{\wp@label\wp@num: \pdataref{wp}\wp@id{title}}}
{\end{work@package}}
% \end{macrocode}
% \end{environment}
%
% \begin{macro}{\wpheadertable}
% We redefine the macro that computes the default work package header table, since there
% are more sites in a EU proposal
% \begin{macrocode}
\newcounter{@sitespo}\newcounter{@sitespt}
\renewcommand\wpheadertable{%
\wp@sites@efforts@lines%
\setcounter{@sitespo}{\thewp@sites@num}\addtocounter{@sitespo}{1}%
\setcounter{@sitespt}{\thewp@sites@num}\addtocounter{@sitespt}{2}%
\par\noindent\begin{tabular}{|l|*{\thewp@sites@num}{c|}c|}\hline%
\multicolumn{\the@sitespt}{|l|}{\textbf{\wp@mk@title{\wp@num}: }%
\textsf{\pdata@target{wp}{\wp@id}{\pdataref{wp}\wp@id{title}}}}\\\hline%
\textbf{Start: }\pdataref{wp}\wp@id{start}&%
\multicolumn{\the@sitespo}{l|}{\textbf{Activity Type: }\pdataref{wp}\wp@id{type}}\\\hline%
\wp@sites@line\\\hline%
\wp@efforts@line\\\hline%
\end{tabular}\smallskip\par\noindent\ignorespaces}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{wpdelivs}
% \ednote{MK: boxing compactdesc does not seem to work any more}
% \begin{macrocode}
%\surroundwithmdframed{wpdelivs}
% \end{macrocode}
% \end{environment}
%
% \subsection{Risks}\label{sec:impl:risks}
%
% \begin{environment}{risk}
% \begin{macrocode}
\newenvironment{risk}[3]
{\paragraph{Risk: #1}\hfill\emph{probability}: #2, \emph{gravity}: #3\par\noindent\ignorespaces}
{}
% \end{macrocode}
% \end{environment}
%
% \begin{environment}{riskcont}
% \begin{macrocode}
\newenvironment{riskcont}[3]
{\begin{risk}{#1}{#2}{#3}\textbf{Contingency:} }
{\end{risk}}
% \end{macrocode}
% \end{environment}
%
% \subsection{Risks}\label{sec:impl:risks}
%
% In some EU proposals (e.g. FET), we need to identify risks and contingency and specify
% mitigation plans for them. In the |euproposal| we use two environments to mark them up.
%
% \DescribeMacro{risk}|\begin{risk}{|\meta{title}|}{|\meta{prob}|}{|\meta{grav}|}|\ldots|\end{risk}|
% makes a paragraph no a rist \meta{title} with gravity \meta{grav} and probability
% \meta{prob}, where the body of the environment contains a desription of the risk. The
% \DescribeMacro{riskcont}|riskcont| is a variant, where \meta{title} names a risk and the
% body is a description of the contingency plan.
%
% \subsection{Relevant Papers}\label{sec:impl:papers}
%
% \begin{macro}{\keypubs}
% \ednote{MK: the baselinestretch manipulation does not work here, since
% \texttt{prop@paperslist} makes its own provisions. We should provide a way of
% manipulating sizes here.}
% \begin{macrocode}
\newcommand\keypubs[1]{%
\paragraph{Key publications relevant to the project}%
{\renewcommand{\baselinestretch}{.9}\prop@paperlist{#1}}}
%</cls>
% \end{macrocode}
% \end{macro}
%
% \Finale
\endinput
% LocalWords: iffalse cls euproposal euproposal.dtx tt maketitle newpage wpwa
% LocalWords: tableofcontents ednote euproposal DescribeEnv compactitem impl
% LocalWords: longtable eurosym pdata thepart setcounter env vfill qquad
% LocalWords: thechapter newcommand tabularnewline hline xdef pdataref nameuse
% LocalWords: countryshort rpoposal clange wrapfig wrapfigure vspace bfseries
% LocalWords: startsection normalfont normalsize baselinestretch callname hb
% LocalWords: countryshort rpoposal clange wrapfig renewenvironment worktelfax
% LocalWords: tocdepth wpobjectives newenvironment noindent boxedminipage fbox
% LocalWords: textwidth textbf wpdescription sitedescription pgfdeclareimage
% LocalWords: wrapfigure vspace pgfuseimage streetaddress townzip textsc xt wa
% LocalWords: renewcommand startsection normalfont normalsize bfseries wptitle
% LocalWords: workpackage subsubsection wpheadertable newcounter sitespo hfil
% LocalWords: newcounter sitespt addtocounter textsf smallskip ignorespaces pn
% LocalWords: cellcolor lightgray keypubs paperlist callname callid callid ifx
% LocalWords: challengeid challengeid objectiveid objectiveid outcomeid hfill
% LocalWords: outcomeid metakeys workaddress numberline tempdima ifsubmit
% LocalWords: proposal.dtx texttt paperslist workaddress.dtx

37
eu/euproposal.ins Normal file
View File

@ -0,0 +1,37 @@
%%
%% This file generates files required to use the dfgproposal package.
%% At your command prompt write
%%
%% latex dfgproposal.ins
%%
%% Copyright(c) 2010 Michael Kohlhase
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
%% Either version 1.0 or, at your option, any later version.
%%
%% $Id: euproposal.ins 23009 2012-01-18 10:12:28Z kohlhase $
%% $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/euproposal.ins $
\input docstrip
\preamble
\endpreamble
%\usedir{tex/latex/listings}
\keepsilent
\askforoverwritefalse
% generate base package
\generate{\file{eupdata.sty}{\from{euproposal.dtx}{pdata}}}
\generate{\file{euproposal.cls}{\from{euproposal.dtx}{cls}}}
\generate{\file{eureporting.cls}{\from{euproposal.dtx}{reporting}}}
\Msg{*}
\Msg{* You probably need to move the file euproposal.cls, eureporting.cls, and eupdata.sty}
\Msg{* into a directory searched by TeX.}
\Msg{*}
\Msg{* And don't forget to refresh your filename database}
\Msg{* if your TeX distribution uses such a database.}
\Msg{*}
\endbatchfile

BIN
eu/euproposal.pdf Normal file

Binary file not shown.

24
eu/eureporting.cls Normal file
View File

@ -0,0 +1,24 @@
%%
%% This is file `eureporting.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% euproposal.dtx (with options: `reporting')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{eureporting}[2013/01/13 v1.4 EU Project Reporting]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{reporting}}
\ProcessOptions
\LoadClass[report,noRAM]{reporting}
\RequirePackage{longtable}
\RequirePackage{eurosym}
\RequirePackage{wrapfig}
\RequirePackage{eupdata}
\define@key{prop@gen}{reportperiod}{\def\prop@gen@reportperiod{#1}}
\define@key{prop@gen}{key}{\@dmp{key=#1}%
\@ifundefined{prop@gen@keys}{\xdef\prop@gen@keys{#1}}{\xdef\prop@gen@keys{\prop@gen@keys,#1}}}
\define@key{prop@gen}{projpapers}{\def\prop@gen@projpapers{#1}}
\endinput
%%
%% End of file `eureporting.cls'.

3
eu/examples/Makefile Normal file
View File

@ -0,0 +1,3 @@
DIRS = strep fetopenstrep
all:
@for d in $(DIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@); done;

6
eu/examples/README Normal file
View File

@ -0,0 +1,6 @@
This directory contains examples for EU proposals and reports marked up with the
proposal/euproposal class.
strep: a STREP
fetopenstrep: the variant for FET Open
lib: shared files (affiliation database, bibTeX, logos)

View File

@ -0,0 +1,68 @@
# possibly customize the following variables to your setting
PROPOSAL = propB.tex # the proposal
BIB = ../lib/dummy.bib # bibTeX databases
PROP.dir = ../../..
###########################################################################
# the following are computed
TSIMP = # pdflatex Targets without bibTeX
TSIMP.pdf = $(TSIMP:%.tex=%.pdf) # PDFs to be produced
TBIB = $(PROPOSAL) # pdflatex Targets with bibTeX
TARGET = $(TSIMP) $(TBIB) # all pdflatex targets
TBIB.pdf = $(TBIB:%.tex=%.pdf) # PDFs to be produced
TBIB.aux = $(TBIB:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1 2 3 4
BBL = propB.bbl $(BBL.base:%=propB%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc
EUPROPCLS.dir = $(PROP.dir)/eu
TEXINPUTS := .//:$(PROPCLS.dir)//:$(EUPROPCLS.dir)//:$(PROPETC.dir)//:
BIBINPUTS := ../lib:$(BIBINPUTS)
PROPCLS.clssty = proposal.cls pdata.sty
PROPETC.sty = workaddress.sty metakeys.sty sref.sty
EUPROPCLS.clssty = euproposal.cls
PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(EUPROPCLS.clssty:%=$(EUPROPCLS.dir)/%) $(PROPETC.sty:%=$(PROPETC.dir)/%)
all: $(TBIB.pdf) $(TSIMP.pdf)
cd: # make cd will prepare CD for burning
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
bbl: $(BBL)
$(BBL): %.bbl: %.aux
bibtex -min-crossrefs=100 -terse $<
$(TSIMP.pdf): %.pdf: %.tex $(PROPCLS) $(PDATA)
$(PDFLATEX) $< || $(RM) $@
$(PDATA): %.pdata: %.tex
$(PDFLATEX) $<
$(TBIB.aux): %.aux: %.tex
$(PDFLATEX) $<
$(TBIB.pdf): %.pdf: %.tex $(SRC) $(BIB) $(PROPCLS)
$(PDFLATEX) $< || $(RM) $@
sort $(PROPOSAL:%.tex=%.delivs) > $(PROPOSAL:%.tex=%.deliverables)
@if (test -e $(patsubst %.tex, %.idx, $<));\
then makeindex $(patsubst %.tex, %.idx, $<); fi
$(MAKE) -$(MAKEFLAGS) $(BBL)
@if (grep "(re)run BibTeX" $(patsubst %.tex, %.log, $<)> /dev/null);\
then $(MAKE) -B $(BBL); fi
$(PDFLATEX) $< || $(RM) $@
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
clean:
rm -f *.log *.blg *~ *.synctex.gz *.cut
distclean: clean
rm -f *.aux *.out *.run.xml *.bbl *.toc *.deliv* *.pdata
rm -Rf auto
echo:
echo $(BBL)

View File

@ -0,0 +1,14 @@
An Exapmle for euproposal.cls
proposal.tex is a fake EU proposal that shows all elements of euproposal.cls
in action.
*.tex the rest are intemediate files
Makefile allows the automation via a unix Makefile on the author's
machine, adapt it to your needs
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/euproposal

View File

@ -0,0 +1,19 @@
\svnInfo $Id: breakthrough.tex 21554 2011-04-30 05:53:27Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/breakthrough.tex $
\section{Targeted breakthrough and long-term vision}\label{sec:objectives}
\begin{todo}{from the proposal template}
Describe the breakthrough(s) that you are targeting to achieve. What is the long-term
vision (scientific, technological, societal, other) that motivates this breakthrough?
Explain how this breakthrough is an essential step towards the achievement of your
long-term vision, in particular in terms of new forms and uses of information and
information technologies. Describe the concrete objectives that you consider to
constitute the proof-of-concept of such a breakthrough. The objectives should be those
that you consider achievable within the project, in spite of the inherent risks. They
should be stated in a verifiable form, including through the milestones that will be
indicated under Section 1.3 below.
\end{todo}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,38 @@
\svnInfo $Id: impact.tex 22929 2012-01-08 09:25:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/impact.tex $
\chapter{Impact}\label{chap:impact}
\ednote{Maximum length for the whole of Section 3 -- ten pages}
\begin{todo}{from the proposal template}
``Contribution to the scientific foundations of future information and communication technologies that
may be radically different from present day ICT. It may, for example, open new avenues for science and
technology, or lead to a paradigm shift in the way technologies are conceived or applied. FET-Open research is not required to have direct short-term technological or societal impact but it will take concrete
steps towards achieving its long-term vision, supported by a critical exploration of the potential implications for the environment and for society.''
``All FET-Open activities should contribute to securing and strengthening the future potential for high-risk / high-impact visionary research. To achieve this, FET-Open is expected to generate new collaborations involving a broad range of disciplines, the established scientists as well as the talented young ones, and a diversity of actors in research, including small and independent research organisations and high-tech SMEs, whenever relevant in terms of the activities proposed. International collaboration should exploit synergies in the global science and technology scene, to increase impact and to raise the level of excellence world-wide.''
\end{todo}
\section{Transformational impact on science, technology and/or society}\label{sec:transformational-impact}
\begin{todo}{from the proposal template}
If successful, what would be the transformative impact of your project? What difference will it make, especially in terms of long-lasting changes on science, technology, society or theories? Mention the steps that will be needed after the project to bring about these impacts. Explain why this contribution requires a European (rather than a national or local) approach. Indicate how account is taken of other national or international research activities. Mention any assumptions and external factors that may determine whether the impacts will be achieved.
\end{todo}
\section{Contribution at the European level towards the expected impacts listed in the work programme}\label{sec:european-contribution}
\begin{todo}{from the proposal template}
Explain how your project contributes to securing and strengthening the future potential for high-risk / high-impact visionary research, through its results or through the organisation of the work and collaborations within your consortium . Will you generate new diverse collaborations, or impact on current practice in this kind of research? Where relevant, highlight how international collaboration exploits synergies in the global science and technology scene, increases impact and raises the level of excellence world-wide.
\end{todo}
\section{Dissemination and/or Use of Project Results}\label{sec:outreach}
\begin{todo}{from the proposal template}
Describe the measures you propose for the dissemination and/or exploitation of project results, and how these will increase the impact of the project. In designing these measures, you should take into account a variety of communication means and target groups as appropriate (e.g. policy-makers, interest groups, media and the public at large).
For more information on communication guidance, see the URL \url{http://ec.europa.eu/research/science-society/science-communication/index_en.htm}
Describe also your plans for the management of knowledge (intellectual property) acquired in the course of the project.
\end{todo}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:
% LocalWords: ednote

View File

@ -0,0 +1,101 @@
\svnInfo $Id: implementation.tex 22870 2012-01-02 11:01:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/implementation.tex $
\chapter{Implementation}\label{chap:implementation}
\section{Management Structure and Procedures}\label{chap:management}
\begin{todo}{from the proposal template}
Describe the organizational structure and decision-making mechanisms
of the project. Show how they are matched to the nature, complexity
and scale of the project. Maximum length of this section: five pages.
\end{todo}
The Project Management of {\pn} is based on its Consortium Agreement, which will be
signed before the Contract is signed by the Commission. The Consortium Agreement will
enter into force as from the date the contract with the European Commission is signed.
\subsection{Organizational structure}\label{sec:management-structure}
\subsection{Risk Assessment and Management}
\subsection{Information Flow and Outreach}\label{sec:spread-excellence}
\subsection{Quality Procedures}\label{sec:quality-management}
\subsection{Internal Evaluation Procedures}
\newpage
\section{Individual Participants}\label{sec:partners}
\begin{todo}{from the proposal template}
For each participant in the proposed project, provide a brief description of the legal entity, the main
tasks they have been attributed, and the previous experience relevant to those tasks. Provide also a
short profile of the individuals who will be undertaking the work.\\
Maximum length for Section 2.2: one page per participant. However, where two or more departments within
an organisation have quite distinct roles within the proposal, one page per department is acceptable.\\
The maximum length applying to a legal entity composed of several members, each of which is a separate
legal entity (for example an EEIG1), is one page per member, provided that the members have quite distinct
roles within the proposal.
\end{todo}
\newpage
\input{../strep/site-jacu}\newpage
\input{../strep/site-efo}\newpage
\input{../strep/site-bar}\newpage
\input{../strep/site-baz}\newpage
\section{The {\protect\pn} consortium as a whole}
\begin{todo}{from the proposal template}
Describe how the participants collectively constitute a consortium capable of achieving
the project objectives, and how they are suited and are committed to the tasks assigned
to them. Show the complementarity between participants. Explain how the composition of
the consortium is well-balanced in relation to the objectives of the project.
If appropriate describe the industrial/commercial involvement to ensure exploitation of
the results. Show how the opportunity of involving SMEs has been addressed
\end{todo}
The project partners of the \pn project have a long history of successful collaboration;
Figure~\ref{fig:collaboration} gives an overview over joint projects (including proposals) and
joint publications (only international, peer reviewed ones).
\jointpub{jacu}{efo}
\jointpub{efo}{baz}
\jointproj{efo}{baz}
\coherencetable
\subsection{Subcontracting}\label{sec:subcontracting}
\begin{todo}{from the proposal template}
If any part of the work is to be sub-contracted by the participant responsible for it,
describe the work involved and explain why a sub-contract approach has been chosen for
it.
\end{todo}
\subsection{Other Countries}\label{sec:other-countries}
\begin{todo}{from the proposal template}
If a one or more of the participants requesting EU funding is based outside of the EU
Member states, Associated countries and the list of International Cooperation Partner
Countries\footnote{See CORDIS web-site, and annex 1 of the work programme.}, explain in
terms of the projects objectives why such funding would be essential.
\end{todo}
\subsection{Additional Partners}\label{sec:assoc-partner}
\begin{todo}{from the proposal template}
If there are as-yet-unidentified participants in the project, the expected competences,
the role of the potential participants and their integration into the running project
should be described
\end{todo}
\section{Resources to be Committed}\label{sec:resources}
\begin{todo}{from the proposal template}
Maximum length: two pages
Describe how the totality of the necessary resources will be mobilized, including any resources that
will complement the EC contribution. Show how the resources will be integrated in a coherent way,
and show how the overall financial plan for the project is adequate.
In addition to the costs indicated on form A3 of the proposal, and the effort shown in Section 1.3
above, please identify any other major costs (e.g. equipment). Ensure that the figures stated in Part B
are consistent with these.
\end{todo}
\subsection{Travel Costs and Consumables}\label{sec:travel-costs}
\subsection{Subcontracting Costs}
\subsection{Other Costs}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:
% LocalWords: pn newpage site-jacu site-efo site-baz jointpub efo baz
% LocalWords: jointproj coherencetable assoc-partner

View File

@ -0,0 +1,59 @@
\svnInfo $Id: methodology.tex 22870 2012-01-02 11:01:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/methodology.tex $
\section[S/T Methodology]{S/T Methodology\footnote{Note that, whereas the scientific and technological methodology is evaluated
under the criteria S/T quality, the quality of the
actual workplan is evaluated under FET-Open under the criteria Implementation.}}\label{sec:methodology}
\begin{todo}{from the proposal template}
Provide a detailed description of the scientific and technological approach or methodology
by which you will attempt to reach your objectives. Demonstrate that you are aware of the
level and nature of the risks of failure, and that you have a good idea on how to address
these risks. Describe a progression of crucial milestones and decision points for your
project, and their expected timing. What would constitute success? What would you learn
from an eventual failure? Where relevant, show how your approach takes into account the
difficulties inherent to the multi-disciplinary nature of the idea or approach that you
are proposing.
A detailed work plan should be presented, broken down into work
packages\footnote{A work package is a major sub-division of the proposed project with a
verifiable end-point normally a deliverable or an important milestone in the overall
project.} (WPs) which should follow the logical phases of the implementation of the
project, and include consortium management and assessment of progress and results. (Note
that your overall approach to management will be described later, in Section 2).
Notes: The number of work packages used must be appropriate to the complexity of the work
and the overall value of the proposed project. The planning should be sufficiently
detailed to justify the proposed effort and allow progress monitoring by the Commission.
\end{todo}
\newpage\input{workplan}
\newpage
\subsection{Work Package List}\label{sec:wplist}
\begin{todo}{from the proposal template}
Please indicate one activity per work package:
RTD = Research and technological development; DEM = Demonstration; MGT = Management of the consortium
\end{todo}
%\makeatletter\wp@total@RM{management}\makeatother
\wpfig[pages,type]
\newpage\input{../strep/deliverables}
\newpage\input{../strep/milestones}
\subsection{Work Package Descriptions}\label{sec:workpackages}
\begin{workplan}
\input{../strep/wp-management}\newpage
\input{../strep/wp-dissem}\newpage
\input{../strep/wp-class}\newpage
\input{../strep/wp-temple}\newpage
\end{workplan}
\newpage\input{../strep/risks}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:
% LocalWords: workplan newpage wplist makeatletter makeatother wpfig
% LocalWords: workpackages wp-dissem wp-class wp-temple

View File

@ -0,0 +1,17 @@
\svnInfo $Id: novelty.tex 21553 2011-04-30 05:50:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/novelty.tex $
\section{Novelty and foundational character}\label{sec:progress}
\begin{todo}{from the proposal template}
Describe the state-of-the-art in the area(s) concerned, and the advance that the
proposed project would bring about. Clearly describe the novelty of your proposal. In
what way do you challenge current thinking or assumptions? Novelty should come from new
ideas, not from the incremental refinement of existing approaches. It can also come from
new and unexpected combinations of insights from various disciplines. What is the
scientific foundation that you aim to develop and what are the specific contributions to
science and technology that your project will make (including in case of failure)?
\end{todo}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:

Binary file not shown.

View File

@ -0,0 +1,72 @@
% the document class specification for the proposal writing process, add the 'submit' option
% for submitting (switches off various draft features); add the 'public' option to exclude
% any private parts.
\documentclass[noworkareas,deliverables]{euproposal}
%\documentclass[submit,noworkareas,deliverables]{euproposal}
%\documentclass[submit,public,noworkareas,deliverables]{euproposal}
%% TODO these don't work with WA (https://trac.kwarc.info/sTeX/ticket/1697)
%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
\addbibresource{../lib/dummy}
% the following lines get updated by subversion keyword replacement. They are used by the
% \svninfo package in draft mode to generate metadata.
\svnInfo $Id: propB.tex 24314 2013-03-24 14:39:33Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/propB.tex $
%
\input{../lib/WApersons}% Some sections of the included files depend on this.
\begin{document}
\begin{center}\color{red}\huge
This mock proposal is just an example for \texttt{euproposal.cls} it reflects the ICT
template of May 2011
\end{center}
\begin{proposal}[site=jacu,jacuRM=36,
site=efo,efoRM=36,
site=bar,barRM=36,
site=baz,bazRM=36,
coordinator=miko,
acronym={iPoWr},
acrolong={\underline{I}ntelligent} {\underline{P}r\underline{o}sal} {\underline{Wr}iting},
title=\pn: \protect\pnlong,
callname = ICT Call 1,
callid = FP7-???-200?-?,
instrument= Small or Medium-Scale Focused Research Project (STREP),
challengeid = 4,
challenge = ICT for EU Proposals,
objectiveid={ICT-2012.4.4},
objective = Technology-enhanced Documents,
outcomeid = b1,
outcome = {More time for Research, not Proposal writing},
coordinator=miko,
months=24,
compactht]
\begin{abstract}
Writing grant proposals is a collaborative effort that requires the integration of
contributions from many individuals. The use of an ASCII-based format like {\LaTeX}
allows to coordinate the process via a source code control system like
{\textsc{Subversion}}, allowing the proposal writing team to concentrate on the contents
rather than the mechanics of wrangling with text fragments and revisions.
\end{abstract}
\tableofcontents
\begin{todo}{from the proposal template}
Recommended length for the whole part B: 50--60 pages (including tables, references,
etc.)
\end{todo}
\include{quality}\newpage
\include{implementation}\newpage
\include{impact}\newpage
\include{issues}
\end{proposal}
\end{document}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: t
%%% End:
% LocalWords: efo efoRM baz bazRM miko acrolong ntelligent iting pn pnlong
% LocalWords: textsc newpage compactht

View File

@ -0,0 +1,16 @@
\svnInfo $Id: quality.tex 22870 2012-01-02 11:01:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/quality.tex $
\chapter{Scientific and Technical Quality}\label{chap:quality}
\begin{todo}{from the proposal template}
Maximum length for the whole of Section 1 -- twenty pages, not including the tables in
Section 1.3
\end{todo}
\input{breakthrough}
\input{novelty}
\input{methodology}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,22 @@
\svnInfo $Id: workplan.tex 22929 2012-01-08 09:25:45Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/fetopenstrep/workplan.tex $
\begin{todo}{from the proposal template}
\begin{enumerate}
\item Describe the overall strategy of the work plan\ednote{Maximum length one page}
\item Show the timing of the different WPs and their components (Gantt chart or similar).
\end{enumerate}
\end{todo}
\begin{figure}
\caption{Work package dependencies}
\label{fig:wp-deps}
\end{figure}
\ganttchart[draft,xscale=.45]
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:
% LocalWords: workplan.tex ednote wp-deps ganttchart xscale

View File

@ -0,0 +1,98 @@
\WAperson[id=miko,
personaltitle=Prof. Dr.,
birthdate=13. September 1964,
academictitle=Professor of Computer Science,
affiliation=jacu,
department=case,
privaddress=None of your business,
privtel=that neither,
email=m.kohlhase@jacobs-university.de,
workaddress={Campus Ring 1, 28757 Bremen},
worktel=+49 421 200 3140,
worktelfax=+49 421 200 3140/493140,
workfax=+49 421 200 493140]
{Michael Kohlhase}
\WAperson[id=gc,
personaltitle=Dr.,
academictitle=Senior Researcher,
birthdate=14. April 1972,
affiliation=pcg,
department=pcsa,
privaddress=None of your business,
privtel=that neither,
workaddress= ,
worktel=+49 421 0815 4711,
workfax=+49 421 0815 4712,
email=gc@pcg.phony]
{Great Communicator}
\WAinstitution[id=case,acronym=CASE,shortname=CASE,
url=http://jacobs-university.de/ses/case,
partof=jacu]
{Center for Advanced Systems Engineering}
\WAinstitution[id=jacu,
url=http://jacobs-university.de,
streetaddress={Campus Ring 1},
townzip={28759 Bremen},
countryshort=D,
country=Germany,
type=University,
logo=jacobs-logo.png,
acronym=JACU,
shortname=Jacobs University]
{Jacobs University Bremen}
\WAinstitution[id=pcsa,
url=http://pcg.phony/sa,
partof=pcg]
{Science Affairs}
\WAinstitution[id=pcg,
url=http://pcg.phony,
acronym=PCG,
shortname=Power Consulting,
countryshort=D,
streetaddress={Seefahrtstrasse 5},
townzip={23555 Hamburg}]
{Power Consulting GmbH}
\WAinstitution[id=efo,
url=http://efo.eu,
countryshort=NL,
townzip={Utrecht, 3kd89},
streetaddress={Kruislann 777},
country={The Netherlands},
type=NGO,
acronym=EFO,
shortname=European Future Office]
{European Future Office}
\WAinstitution[id=bar,
url=http://bar.fr,
countryshort=F,
country={France},
streetaddress={Rue de Montparnasse}
townzip={Paris},
type=University,
acronym=BAR,
shortname=Universit\'e de BAR]
{Universit\'e de BAR}
\WAinstitution[id=baz,
url=http://baz.co.uk,
countryshort=UK,
streetaddress={4711 Silicon Glen Drive},
townzip={Westerfield U3F2B},
type=SME,
shortname=BAZ International,
acronym=BAZ]
{BAZ International Ltd}
%%% Local Variables:
%%% mode: latex
%%% End:
% LocalWords: WAperson miko personaltitle academictitle privaddress privtel
% LocalWords: workaddress worktel workfax gc worktelfax pcg pcsa WAinstitution
% LocalWords: shortname partof streetaddress townzip countryshort efo 3kd89
% LocalWords: jacobs-logo.png Seefahrtstrasse Kruislann Montparnasse Universit
% LocalWords: baz Westerfield

76
eu/examples/lib/dummy.bib Normal file
View File

@ -0,0 +1,76 @@
@TECHREPORT{CarlisleEd:MathML10,
author = {Ron Ausbrooks and Stephen Buswell and David Carlisle and
Giorgi Chavchanidze and St{\'e}phane Dalmas and Stan Devitt and Angel Diaz
and Sam Dooley and Roger Hunter and Patrick Ion and Michael
Kohlhase and Azzeddine Lazrek and Paul Libbrecht and Bruce Miller and
Robert Miner and Murray Sargent and Bruce Smith and Neil Soiffer and
Robert Sutor and Stephen Watt},
title = {{Mathematical} {Markup} {Language} ({MathML}) Version 3.0},
institution = {World Wide Web Consortium (W3C)},
year = {2010},
type = {{W3C Recommendation}},
editor = {David Carlisle and Patrick Ion and Robert Miner},
key = {MathML3},
keywords = {standard},
pubtype = {standard},
url = {http://www.w3.org/TR/MathML3},
pubs = {mkohlhase}}
@inproceedings{KohDavGin:psewads11,
author = {Michael Kohlhase and Joe Corneli and Catalin David and Deyan Ginev and Constantin Jucovschi and Andrea Kohlhase and Christoph Lange and Bogdan Matican and Stefan Mirea and Vyacheslav Zholudev},
title = {The Planetary System: Web 3.0 \& Active Documents for STEM},
note = {accepted for publication at ICCS 2011 (Finalist at the Executable Papers Challenge)},
year = 2011,
url = {https://svn.mathweb.org/repos/planetary/doc/epc11/paper.pdf},
keywords = {conference},
pubs = {mkohlhase,cdavid,dginev,akohlhase,clange,bmatican,smirea,vzholudev}}
@techreport{Kohlhase:pdpl10,
author = {Michael Kohlhase},
title = {Preparing {DFG} Proposals in {\LaTeX} with \texttt{dfgproposal.cls}},
institution = {KWARC Group, Jacobs University Bremen},
type = {Self-documenting {\LaTeX} package},
url = {https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/dfgproposal.pdf},
year = 2010}
@BOOK{Kohlhase:omdoc1.2,
title = {{\sc OMDoc} -- An open markup format for mathematical documents [Version 1.2]},
booktitle = {{\sc OMDoc} -- An open markup format for mathematical documents [Version
1.2]},
publisher = {Springer Verlag},
year = {2006},
month = aug,
author = {Michael Kohlhase},
number = {4180},
series = {LNAI},
url = {http://omdoc.org/pubs/omdoc1.2.pdf},
pubs = {mkohlhase,projects/omdocbiblio}}
@Article{StaKoh:tlcspx10,
author = {Heinrich Stamerjohanns and Michael Kohlhase and Deyan Ginev and Catalin David and Bruce Miller},
title = {Transforming large collections of scientific publications to {XML}},
journal = {Mathematics in Computer Science},
issuetitle = {Special Issue on Authoring, Digitalization and Management of Mathematical Knowledge},
editor = {Serge Autexier and Petr Sojka and Masakazu Suzuki},
publisher = {Birkh{\"a}user},
volume = 3,
number = 3,
pages = {299--307},
url = {http://kwarc.info/kohlhase/papers/mcs10.pdf},
year = 2010,
pubs = {mkohlhase,stamer,dginev,cdavid,projects/arXMLiv}}
@misc{providemore,title={\ldots}}
@BOOK{Lamport:ladps94,
title = {LaTeX: A Document Preparation System, 2/e},
publisher = {Addison Wesley},
year = {1994},
author = {Leslie Lamport}}
@BOOK{Knuth:ttb84,
title = {The {\TeX}book},
publisher = {Addison Wesley},
year = {1984},
author = {Donald E. Knuth}}
@BOOK{DK:LP,
title = {{Literate Programming}},
publisher = {The University of Chicago Press},
year = 1992,
author = {Donald E. Knuth}}

View File

@ -0,0 +1,68 @@
# possibly customize the following variables to your setting
PROPOSAL = propB.tex # the proposal
BIB = ../lib/dummy.bib # bibTeX databases
PROP.dir = ../../..
###########################################################################
# the following are computed
TSIMP = # pdflatex Targets without bibTeX
TSIMP.pdf = $(TSIMP:%.tex=%.pdf) # PDFs to be produced
TBIB = $(PROPOSAL) # pdflatex Targets with bibTeX
TARGET = $(TSIMP) $(TBIB) # all pdflatex targets
TBIB.pdf = $(TBIB:%.tex=%.pdf) # PDFs to be produced
TBIB.aux = $(TBIB:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1 2 3 4
BBL = propB.bbl $(BBL.base:%=propB%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc
EUPROPCLS.dir = $(PROP.dir)/eu
TEXINPUTS := .//:$(PROPCLS.dir)//:$(EUPROPCLS.dir)//:$(PROPETC.dir)//:
BIBINPUTS := ../lib:$(BIBINPUTS)
PROPCLS.clssty = proposal.cls pdata.sty
PROPETC.sty = workaddress.sty metakeys.sty sref.sty
EUPROPCLS.clssty = euproposal.cls
PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(EUPROPCLS.clssty:%=$(EUPROPCLS.dir)/%) $(PROPETC.sty:%=$(PROPETC.dir)/%)
all: $(TBIB.pdf) $(TSIMP.pdf)
cd: # make cd will prepare CD for burning
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
bbl: $(BBL)
$(BBL): %.bbl: %.aux
bibtex -min-crossrefs=100 -terse $<
$(TSIMP.pdf): %.pdf: %.tex $(PROPCLS) $(PDATA)
$(PDFLATEX) $< || $(RM) $@
$(PDATA): %.pdata: %.tex
$(PDFLATEX) $<
$(TBIB.aux): %.aux: %.tex
$(PDFLATEX) $<
$(TBIB.pdf): %.pdf: %.tex $(SRC) $(BIB) $(PROPCLS)
$(PDFLATEX) $< || $(RM) $@
sort $(PROPOSAL:%.tex=%.delivs) > $(PROPOSAL:%.tex=%.deliverables)
@if (test -e $(patsubst %.tex, %.idx, $<));\
then makeindex $(patsubst %.tex, %.idx, $<); fi
$(MAKE) -$(MAKEFLAGS) $(BBL)
@if (grep "(re)run BibTeX" $(patsubst %.tex, %.log, $<)> /dev/null);\
then $(MAKE) -B $(BBL); fi
$(PDFLATEX) $< || $(RM) $@
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
@if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
then $(PDFLATEX) $< || $(RM) $@; fi
clean:
rm -f *.log *.blg *~ *.synctex.gz *.cut
distclean: clean
rm -f *.aux *.out *.run.xml *.bbl *.toc *.deliv* *.pdata
rm -Rf auto
echo:
echo $(BBL)

14
eu/examples/strep/README Normal file
View File

@ -0,0 +1,14 @@
An Exapmle for euproposal.cls
proposal.tex is a fake EU proposal that shows all elements of euproposal.cls
in action.
*.tex the rest are intemediate files
Makefile allows the automation via a unix Makefile on the author's
machine, adapt it to your needs
Copyright(c) 2010 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The development version of this package can be found at
https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/euproposal

View File

@ -0,0 +1,36 @@
\svnInfo $Id: deliverables.tex 24014 2013-01-01 15:12:26Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/deliverables.tex $
\subsection{List of Deliverables}\label{sec:deliverables}
\begin{todo}{from the proposal template}
\begin{compactenum}
\item Deliverable numbers in order of delivery dates. Please use the numbering convention <WP number>.<number of deliverable within
that WP>. For example, deliverable 4.2 would be the second deliverable from work package 4.
\item Please indicate the nature of the deliverable using one of the following codes:
R = Report, P = Prototype, D = Demonstrator, O = Other
\item Please indicate the dissemination level using one of the following codes:
PU = Public
PP = Restricted to other programme participants (including the Commission Services).
RE = Restricted to a group specified by the consortium (including the Commission Services).
CO = Confidential, only for members of the consortium (including the Commission Services).
\end{compactenum}
\end{todo}
We will now give an overview over the deliverables and milestones of the work
packages. Note that the times of deliverables after month 24 are estimates and may change
as the work packages progress.
In the table below, {\emph{integrating work deliverables}} (see top of
section~\ref{sec:wplist}) are printed in boldface to mark them. They integrate
contributions from multiple work packages. \ednote{CL: the rest of this paragraph does not
comply with the EU guide for applicants, needs to be rewritten}These can have the
dissemination level ``partial'', which indicates that it contains parts of level
``project'' that are to be disseminated to the project and evaluators only. In such
reports, two versions are prepared, and disseminated accordingly.
{\footnotesize\inputdelivs{8cm}}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,42 @@
\svnInfo $Id: impact.tex 22965 2012-01-13 14:29:23Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/impact.tex $
\chapter{Impact}\label{chap:impact}
\ednote{Maximum length for the whole of Section 3 -- ten pages}
\section{Expected Impacts listed in the Work Programe }\label{sec:expected-impact}
\begin{todo}{from the proposal template}
Describe how your project will contribute towards the expected impacts listed in the
work programme in relation to the topic or topics in question. Mention the steps that
will be needed to bring about these impacts. Explain why this contribution requires a
European (rather than a national or local) approach. Indicate how account is taken of
other national or international research activities. Mention any assumptions and
external factors that may determine whether the impacts will be achieved.
\end{todo}
\subsection{Medium Term Expected Outcome}
\subsection{Long Term Expected Outcomes}
\subsection{Use Cases}
\section{Dissemination and/or Use of Project Results, and Management of Intellectual Property}\label{sec:dissemination}
\begin{todo}{from the proposal template}
Describe the measures you propose for the dissemination and/or exploitation of project
results, and how these will increase the impact of the project. In designing these
measures, you should take into account a variety of communication means and target
groups as appropriate (e.g. policy-makers, interest groups, media and the public at
large).
For more information on communication guidance, see the URL
\url{http://ec.europa.eu/research/science-society/science-communication/index_en.htm}
Describe also your plans for the management of knowledge (intellectual property)
acquired in the course of the project.
\end{todo}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:
% LocalWords: ednote

View File

@ -0,0 +1,101 @@
\svnInfo $Id: implementation.tex 24014 2013-01-01 15:12:26Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/implementation.tex $
\chapter{Implementation}\label{chap:implementation}
\section{Management Structure and Procedures}\label{chap:management}
\begin{todo}{from the proposal template}
Describe the organizational structure and decision-making mechanisms
of the project. Show how they are matched to the nature, complexity
and scale of the project. Maximum length of this section: five pages.
\end{todo}
The Project Management of {\pn} is based on its Consortium Agreement, which will be
signed before the Contract is signed by the Commission. The Consortium Agreement will
enter into force as from the date the contract with the European Commission is signed.
\subsection{Organizational structure}\label{sec:management-structure}
\subsection{Risk Assessment and Management}
\subsection{Information Flow and Outreach}\label{sec:spread-excellence}
\subsection{Quality Procedures}\label{sec:quality-management}
\subsection{Internal Evaluation Procedures}
\newpage
\section{Individual Participants}\label{sec:partners}
\begin{todo}{from the proposal template}
For each participant in the proposed project, provide a brief description of the legal entity, the main
tasks they have been attributed, and the previous experience relevant to those tasks. Provide also a
short profile of the individuals who will be undertaking the work.\\
Maximum length for Section 2.2: one page per participant. However, where two or more departments within
an organisation have quite distinct roles within the proposal, one page per department is acceptable.\\
The maximum length applying to a legal entity composed of several members, each of which is a separate
legal entity (for example an EEIG1), is one page per member, provided that the members have quite distinct
roles within the proposal.
\end{todo}
\newpage
\input{site-jacu}\newpage
\input{site-efo}\newpage
\input{site-bar}\newpage
\input{site-baz}\newpage
\section{The {\protect\pn} consortium as a whole}
\begin{todo}{from the proposal template}
Describe how the participants collectively constitute a consortium capable of achieving
the project objectives, and how they are suited and are committed to the tasks assigned
to them. Show the complementarity between participants. Explain how the composition of
the consortium is well-balanced in relation to the objectives of the project.
If appropriate describe the industrial/commercial involvement to ensure exploitation of
the results. Show how the opportunity of involving SMEs has been addressed
\end{todo}
The project partners of the \pn project have a long history of successful collaboration;
Figure~\ref{tab:collaboration} gives an overview over joint projects (including proposals) and
joint publications (only international, peer reviewed ones).
\jointorga{jacu,efo,baz}
\jointpub{efo,baz,jacu}
\jointproj{efo,bar}
\coherencetable
\subsection{Subcontracting}\label{sec:subcontracting}
\begin{todo}{from the proposal template}
If any part of the work is to be sub-contracted by the participant responsible for it,
describe the work involved and explain why a sub-contract approach has been chosen for
it.
\end{todo}
\subsection{Other Countries}\label{sec:other-countries}
\begin{todo}{from the proposal template}
If a one or more of the participants requesting EU funding is based outside of the EU
Member states, Associated countries and the list of International Cooperation Partner
Countries\footnote{See CORDIS web-site, and annex 1 of the work programme.}, explain in
terms of the projects objectives why such funding would be essential.
\end{todo}
\subsection{Additional Partners}\label{sec:assoc-partner}
\begin{todo}{from the proposal template}
If there are as-yet-unidentified participants in the project, the expected competences,
the role of the potential participants and their integration into the running project
should be described
\end{todo}
\section{Resources to be Committed}\label{sec:resources}
\begin{todo}{from the proposal template}
Maximum length: two pages
Describe how the totality of the necessary resources will be mobilized, including any resources that
will complement the EC contribution. Show how the resources will be integrated in a coherent way,
and show how the overall financial plan for the project is adequate.
In addition to the costs indicated on form A3 of the proposal, and the effort shown in Section 1.3
above, please identify any other major costs (e.g. equipment). Ensure that the figures stated in Part B
are consistent with these.
\end{todo}
\subsection{Travel Costs and Consumables}\label{sec:travel-costs}
\subsection{Subcontracting Costs}
\subsection{Other Costs}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:
% LocalWords: pn newpage site-jacu site-efo site-baz jointpub efo baz
% LocalWords: jointproj coherencetable assoc-partner

View File

@ -0,0 +1,61 @@
\svnInfo $Id: issues.tex 21553 2011-04-30 05:50:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/issues.tex $
\chapter{Ethical Issues}\label{chap:ethical}
\begin{todo}{from the proposal template}
Describe any ethical issues that may arise in the project. In particular, you should
explain the benefit and burden of the experiments and the effects it may have on the
research subject. Identify the countries where research will be undertaken and which
ethical committees and regulatory organisations will need to be approached during the
life of the project.
Include the Ethical issues table below. If you indicate YES to any issue, please
identify the pages in the proposal where this ethical issue is described. Answering
'YES' to some of these boxes does not automatically lead to an ethical review1. It
enables the independent experts to decide if an ethical review is required. If you are
sure that none of the issues apply to your proposal, simply tick the YES box in the last
row.
\end{todo}
\begin{small}
\begin{tabular}{|p{1em}p{11cm}|l|l|}\hline
\multicolumn{2}{|l|}{\cellcolor{lightgray}{\strut}} &
\cellcolor{lightgray}{YES} &
\cellcolor{lightgray}{PAGE}\\\hline
\multicolumn{2}{|l|}{\bf{Informed Consent}} & & \\\hline
& Does the proposal involve children? & & \\\hline
& Does the proposal involve patients or persons not able to give consent? & & \\\hline
& Does the proposal involve adult healthy volunteers? & & \\\hline
& Does the proposal involve Human Genetic Material? & & \\\hline
& Does the proposal involve Human biological samples? & & \\\hline
& Does the proposal involve Human data collection? & & \\\hline
\multicolumn{2}{|l|}{\bf{Research on Human embryo/foetus}} & & \\\hline
& Does the proposal involve Human Embryos? & & \\\hline
& Does the proposal involve Human Foetal Tissue / Cells? & & \\\hline
& Does the proposal involve Human Embryonic Stem Cells? & & \\\hline
\multicolumn{2}{|l|}{\bf{Privacy}} & & \\\hline
& Does the proposal involve processing of genetic information
or personal data (eg. health, sexual lifestyle, ethnicity,
political opinion, religious or philosophical conviction) & & \\\hline
& Does the proposal involve tracking the location or observation
of people? & & \\\hline
\multicolumn{2}{|l|}{\bf{Research on Animals}} & & \\\hline
& Does the proposal involve research on animals? & & \\\hline
& Are those animals transgenic small laboratory animals? & & \\\hline
& Are those animals transgenic farm animals? & & \\\hline
& Are those animals cloned farm animals? & & \\\hline
& Are those animals non-human primates? & & \\\hline
\multicolumn{2}{|l|}{\bf{Research Involving Developing Countries}} & & \\\hline
& Use of local resources (genetic, animal, plant etc) & & \\\hline
& Benefit to local community (capacity building
i.e. access to healthcare, education etc) & & \\\hline
\multicolumn{2}{|l|}{\bf{Dual Use}} & & \\\hline
& Research having direct military application & & \\\hline
& Research having the potential for terrorist abuse & & \\\hline
\multicolumn{2}{|l|}{\bf{ICT Implants}} & & \\\hline
& Does the proposal involve clinical trials of ICT implants? & & \\\hline
\multicolumn{2}{|l|}{\bf\footnotesize{I CONFIRM THAT NONE OF THE ABOVE ISSUES APPLY TO MY PROPOSAL}}
& &\cellcolor{lightgray}{} \\\hline
\end{tabular}
\end{small}
\section{Personal Data}

View File

@ -0,0 +1,51 @@
\svnInfo $Id: methodology.tex 22975 2012-01-14 19:43:38Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/methodology.tex $
\section{Scientific/Technical Methodology and Work Plan}\label{sec:methodology}
\begin{todo}{from the proposal template}
A detailed work plan should be presented, broken down into work packages\footnote{A work
package is a major sub-division of the proposed project with a verifiable end-point
normally a deliverable or an important milestone in the overall project.} (WPs) which
should follow the logical phases of the implementation of the project, and include
consortium management and assessment of progress and results. (Note that your overall
approach to management will be described later, in Section 2).
Notes: The number of work packages used must be appropriate to the complexity of the work
and the overall value of the proposed project. The planning should be sufficiently
detailed to justify the proposed effort and allow progress monitoring by the Commission.
Any significant risks should be identified, and contingency plans described
\end{todo}
\newpage\input{workplan}
\newpage
\subsection{Work Package List}\label{sec:wplist}
\begin{todo}{from the proposal template}
Please indicate one activity per work package:
RTD = Research and technological development; DEM = Demonstration; MGT = Management of the consortium
\end{todo}
%\makeatletter\wp@total@RM{management}\makeatother
\wpfigstyle{\footnotesize}
\wpfig[pages,type,start,end]
\newpage\input{deliverables}
\newpage\input{milestones}
\subsection{Work Package Descriptions}\label{sec:workpackages}
\begin{workplan}
\input{wp-management}\newpage
\input{wp-dissem}\newpage
\input{wp-class}\newpage
\input{wp-temple}\newpage
\end{workplan}
\newpage\input{risks}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:
% LocalWords: workplan newpage wplist makeatletter makeatother wpfig
% LocalWords: workpackages wp-dissem wp-class wp-temple

View File

@ -0,0 +1,42 @@
\svnInfo $Id: milestones.tex 24014 2013-01-01 15:12:26Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/milestones.tex $
\subsection{List of Milestones}\label{sec:milestones}
\begin{todo}{from the proposal template}
Milestones are control points where decisions are needed with regard to the next stage
of the project. For example, a milestone may occur when a major result has been
achieved, if its successful attainment is a requirement for the next phase of
work. Another example would be a point when the consortium must decide which of several
technologies to adopt for further development.
Means of verification: Show how you will confirm that the milestone has been
attained. Refer to indicators if appropriate. For examples: a laboratory prototype
completed and running flawlessly, software released and validated by a user group, field
survey complete and data quality validated.
\end{todo}
The work in the {\pn} project is structured by seven milestones, which coincide with the
project meetings in summer and fall. Since the meetings are the main face-to-face
interaction points in the project, it is suitable to schedule the milestones for these
events, where they can be discussed in detail. We envision that this setup will give the
project the vital coherence in spite of the broad mix of disciplinary backgrounds of the
participants.\ednote{maybe automate the milestones}
\begin{milestones}
\milestone[id=kickoff,verif=Inspection,month=1]
{Initial Infrastructure}
{Set up the organizational infrastructure, in particular: Web Presence, project TRAC,\ldots}
\milestone[id=consensus,verif=Inspection,month=24]{Consensus} {Reach Consensus on the
way the project goes}
\milestone[id=exploitation,verif=Inspection,month=36]{Exploitation}{The exploitation
plan should be clear so that we can start on this in the last year.}
\milestone[id=final,verif=Inspection,month=48]{Final Results}{all is done}
\end{milestones}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:
% LocalWords: pn ednote verif ldots

View File

@ -0,0 +1,15 @@
\svnInfo $Id: objectives.tex 21553 2011-04-30 05:50:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/objectives.tex $
\section{Concept and Objectives}\label{sec:objectives}
\begin{todo}{from the proposal template}
Explain the concept of your project. What are the main ideas that led you to propose
this work? Describe in detail the S\&T objectives. Show how they relate to the topics
addressed by the call. The objectives should be those achievable within the project, not
through subsequent development. They should be stated in a measurable and verifiable
form, including through the milestones that will be indicated under Section 1.3 below.
\end{todo}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,13 @@
\svnInfo $Id: progress.tex 21553 2011-04-30 05:50:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/progress.tex $
\section{Progress beyond the State-of-the-Art}\label{sec:progress}
\begin{todo}{from the proposal template}
Describe the state-of-the-art in the area concerned, and the advance that the proposed
project would bring about. If applicable, refer to the results of any patent search you
might have carried out.
\end{todo}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:

BIN
eu/examples/strep/propB.pdf Normal file

Binary file not shown.

View File

@ -0,0 +1,73 @@
% the document class specification for the proposal writing process, add the 'submit' option
% for submitting (switches off various draft features); add the 'public' option to exclude
% any private parts.
\documentclass[noworkareas,deliverables]{euproposal}
%\documentclass[submit,noworkareas,deliverables]{euproposal}
%\documentclass[submit,public,noworkareas,deliverables]{euproposal}
%% TODO these don't work with WA (https://trac.kwarc.info/sTeX/ticket/1697)
%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
\addbibresource{../lib/dummy}
% the following lines get updated by subversion keyword replacement. They are used by the
% \svninfo package in draft mode to generate metadata.
\svnInfo $Id: propB.tex 24314 2013-03-24 14:39:33Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/propB.tex $
%
\input{../lib/WApersons}% Some sections of the included files depend on this.
\begin{document}
\begin{center}\color{red}\huge
This mock proposal is just an example for \texttt{euproposal.cls} it reflects the ICT
template of January 2012
\end{center}
\begin{proposal}[site=jacu,jacuRM=36,
site=efo,efoRM=36,
site=bar,barRM=36,
site=baz,bazRM=36,
coordinator=miko,
acronym={iPoWr},
acrolong={\underline{I}ntelligent} {\underline{P}r\underline{o}sal} {\underline{Wr}iting},
title=\pn: \protect\pnlong,
callname = ICT Call 1,
callid = FP7-???-200?-?,
instrument= Small or Medium-Scale Focused Research Project (STREP),
challengeid = 4,
challenge = ICT for EU Proposals,
objectiveid={ICT-2012.4.4},
objective = Technology-enhanced Documents,
outcomeid = b1,
outcome = {More time for Research, not Proposal writing},
coordinator=miko,
months=24,
compactht]
\begin{abstract}
Writing grant proposals is a collaborative effort that requires the integration of
contributions from many individuals. The use of an ASCII-based format like {\LaTeX}
allows to coordinate the process via a source code control system like
{\textsc{Subversion}}, allowing the proposal writing team to concentrate on the contents
rather than the mechanics of wrangling with text fragments and revisions.
\end{abstract}
\tableofcontents
\begin{todo}{from the proposal template}
Recommended length for the whole part B: 50--60 pages (including tables, references,
etc.)
\end{todo}
\include{quality}\newpage
\include{implementation}\newpage
\include{impact}\newpage
\include{issues}
\end{proposal}
\end{document}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: t
%%% End:
% LocalWords: efo efoRM baz bazRM miko acrolong ntelligent iting pn pnlong
% LocalWords: textsc newpage compactht texttt euproposal.cls callname callid
% LocalWords: challengeid objectiveid outcomeid tableofcontents

View File

@ -0,0 +1,16 @@
\svnInfo $Id: quality.tex 22870 2012-01-02 11:01:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/quality.tex $
\chapter{Scientific and Technical Quality}\label{chap:quality}
\begin{todo}{from the proposal template}
Maximum length for the whole of Section 1 -- twenty pages, not including the tables in
Section 1.3
\end{todo}
\input{objectives}
\input{progress}
\input{methodology}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,19 @@
\svnInfo $Id: risks.tex 21553 2011-04-30 05:50:58Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/risks.tex $
\subsection{Significant Risks and Associated Contingency Plans}\label{sec:risks}
\begin{todo}{from the proposal template}
Describe any significant risks, and associated contingency plans
\end{todo}
\begin{oldpart}{need to integrate this somewhere. CL: I will check other proposals to see how they did it; the Guide does not really prescribe anything.}
\paragraph{Global Risk Management}
The crucial problem of \pn (and similar endeavors that offer a new basis for communication
and interaction) is that of community uptake: Unless we can convince scientists and
knowledge workers industry to use the new tools and interactions, we will
never be able to assemble the large repositories of flexiformal mathematical knowledge we
envision. We will consider uptake to be the main ongoing evaluation criterion for the network.
\end{oldpart}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,21 @@
\svnInfo $Id: site-bar.tex 21648 2011-05-09 06:47:12Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/site-bar.tex $
\begin{sitedescription}{bar}
\paragraph{Organization}
Universit\'e de BAR specializes on drinking lots of red wine. It is a partner in the
consortium, because it has a very nice chateau on the Cote d'Azure, where it can host
gorgeous project meetings.
\paragraph{Main tasks}
\paragraph{Relevant previous experience}
\paragraph{Specific expertise}
\paragraph{Staff members undertaking the work}
\keypubs{providemore}
\end{sitedescription}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,15 @@
\svnInfo $Id: site-baz.tex 21648 2011-05-09 06:47:12Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/site-baz.tex $
\begin{sitedescription}{baz}
\paragraph{Organization}
\paragraph{Main tasks}
\paragraph{Relevant previous experience}
\paragraph{Specific expertise}
\paragraph{Staff members undertaking the work}
\keypubs{providemore}
\end{sitedescription}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,16 @@
\svnInfo $Id: site-efo.tex 21648 2011-05-09 06:47:12Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/site-efo.tex $
\begin{sitedescription}{efo}
\paragraph{Organization}
The EFO is the world leader in futurology, \ldots
\paragraph{Main tasks}
\paragraph{Relevant previous experience}
\paragraph{Specific expertise}
\paragraph{Staff members undertaking the work}
\keypubs{providemore}
\end{sitedescription}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:

View File

@ -0,0 +1,55 @@
\svnInfo $Id: site-jacu.tex 22989 2012-01-15 18:40:10Z kohlhase $
\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal/eu/examples/strep/site-jacu.tex $
\begin{sitedescription}{jacu}
\paragraph{Organization} Jacobs University Bremen is a private research university patterned
after the Anglo-Saxon university system. The university opened in
2001 and has an international student body ($1,245$ students from 102
nations as of 2011, admitted in a highly selective process).
The KWARC (KnoWledge Adaptation and Reasoning for
Content\footnote{\url{http://kwarc.info}}) Group headed by
{\emph{Prof.\ Dr.\ Michael Kohlhase}} specializes in building
knowledge management systems for e-science applications, in particular
for the natural and mathematical sciences. Formal logic, natural
language semantics, and semantic web technology provide the
foundations for the research of the group.
Since doing research and developing systems is much more fun than writing proposals,
they try go do that as efficiently as possible, hence this meta-proposal.
\paragraph{Main tasks}
\begin{itemize}
\item creating {\LaTeX} class files
\end{itemize}
\paragraph{Relevant previous experience}
The KWARC group is the main center and lead implementor of the OMDoc
(Open Mathematical Document) format for representing mathematical
knowledge. The group has developed added-value services powered by such semantically rich representations, different paths to obtaining them, as well as platforms that integrate both aspects. Services include the adaptive context-sensitive presentation framework JOMDoc and the semantic search engine MathWebSearch. For obtaining rich mathematical content, the group has been pursuing the two alternatives of assisting manual editing (with the sTeXIDE editing environment) and automatic annotation using natural language processing techniques. The latter is work in progress but builds on the arXMLiv system, which is currently capable of converting 70\% out of the 600,000 scientific publications in the arXiv from {\LaTeX} to XHTML+MathML without errors. Finally, the KWARC group has been developing the Planetary integrated environment.
\paragraph{Specific expertise}
\begin{itemize}
\item writing intelligent proposals
\end{itemize}
\paragraph{Staff members involved}
\textbf{Prof.\ Dr.\ Michael Kohlhase} is head of the KWARC research
group. He is the head developer of the OMDoc mathematical markup
language. He was a member of the Math Working Group at W3C, which finished its work with the publication of the MathML 3 recommendation. He is president of the OpenMath society and trustee of the MKM
interest group.
\keypubs{KohDavGin:psewads11,Kohlhase:pdpl10,Kohlhase:omdoc1.2,CarlisleEd:MathML10,StaKoh:tlcspx10}
\end{sitedescription}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "propB"
%%% End:
% LocalWords: site-jacu.tex sitedescription emph textbf keypubs KohDavGin
% LocalWords: psewads11 pdpl10 StaKoh tlcspx10

Some files were not shown because too many files have changed in this diff Show More