diff options
author | Karl Berry <karl@freefriends.org> | 2007-11-05 00:00:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-11-05 00:00:53 +0000 |
commit | 15c4594cfd4253c42884e702496ce4c36416c732 (patch) | |
tree | 1a6d4a5fef62da25c4812dd7bf2cf22df890a17d /Master/texmf-dist | |
parent | 1930b4a8fcbae4ae2d3782c0cc1f3eef42b7617e (diff) |
new latex euproposal (4nov07)
git-svn-id: svn://tug.org/texlive/trunk@5341 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/euproposal/README | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/euproposal/euproposal.pdf | bin | 0 -> 161643 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/euproposal/propB.delivs | 39 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/euproposal/propB.pdf | bin | 0 -> 156026 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/euproposal/propB.tex | 573 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/euproposal/euproposal.dtx | 801 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/euproposal/euproposal.ins | 35 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/euproposal/euproposal.cls | 317 |
8 files changed, 1778 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/euproposal/README b/Master/texmf-dist/doc/latex/euproposal/README new file mode 100644 index 00000000000..d0e1b89917e --- /dev/null +++ b/Master/texmf-dist/doc/latex/euproposal/README @@ -0,0 +1,13 @@ +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 an +extensive example (a fake EU proposal; see the file propB.tex) that shows all elements in +action. + +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/euproposal + diff --git a/Master/texmf-dist/doc/latex/euproposal/euproposal.pdf b/Master/texmf-dist/doc/latex/euproposal/euproposal.pdf Binary files differnew file mode 100644 index 00000000000..4073a348ba1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/euproposal/euproposal.pdf diff --git a/Master/texmf-dist/doc/latex/euproposal/propB.delivs b/Master/texmf-dist/doc/latex/euproposal/propB.delivs new file mode 100644 index 00000000000..109c289c743 --- /dev/null +++ b/Master/texmf-dist/doc/latex/euproposal/propB.delivs @@ -0,0 +1,39 @@ +\delivrable{6}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{12}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{18}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{24}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{30}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{36}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{42}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{48}{D0.1}{mansubsus:intReport}{partial}{report}{Integrative report.} +\delivrable{1}{D0.1.1}{management:mailing}{project}{infra}{Project-internal mailing lists} +\delivrable{3}{D0.1.2}{management:handbook}{public}{report}{Project management handbook} +\delivrable{6}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{12}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{18}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{24}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{30}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{36}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{42}{D0.1.3}{management:report2}{public}{report}{Periodic management report} +\delivrable{6}{D0.1.4}{management:helpdesk}{public}{infra}{{{\sc {iPoWr}}} Helpdesk} +\delivrable{36}{D0.1.5}{management:report6}{public}{report}{Final plan for using and disseminating the knowledge} +\delivrable{48}{D0.1.6}{management:report7}{public}{report}{Final management report} +\delivrable{2}{D0.2.1}{dissem:website}{public}{infra}{Set-up of the Project web server} +\delivrable{8}{D0.2.2}{dissem:ws1proc}{public}{report}{Proceedings of the first {{\sc {iPoWr}}} Summer School.} +\delivrable{9}{D0.2.3}{dissem:dissem}{project}{report}{Dissemination Plan} +\delivrable{9}{D0.2.4}{dissem:exploitplan}{project}{report}{Scientific and Commercial Exploitation Plan} +\delivrable{20}{D0.2.5}{dissem:ws2proc}{public}{report}{Proceedings of the second {{\sc {iPoWr}}} Summer School.} +\delivrable{32}{D0.2.6}{dissem:ss1proc}{public}{report}{Proceedings of the third {{\sc {iPoWr}}} Summer School.} +\delivrable{44}{D0.2.7}{dissem:ws3proc}{public}{report}{Proceedings of the fourth {{\sc {iPoWr}}} Summer School.} +\delivrable{30}{D1.1}{systems:intReport}{public}{report}{Integration report.} +\delivrable{48}{D1.2}{systems:finalReport}{public}{report}{Final report.} +\delivrable{6}{D1.1.1}{class:req}{project}{report}{Requirements analysis} +\delivrable{12}{D1.1.2}{class:spec}{public}{report}{{{\sc {iPoWr}}} Specification } +\delivrable{18}{D1.1.3}{class:demonstrator}{public}{software}{First demonstrator ({\tt {article.cls}} really)} +\delivrable{24}{D1.1.4}{class:proto}{public}{software}{First prototype} +\delivrable{36}{D1.1.5}{class:release}{public}{software}{Final {\LaTeX } class, ready for release} +\delivrable{6}{D1.2.1}{temple:req}{project}{report}{Requirements analysis} +\delivrable{12}{D1.2.2}{temple:spec}{public}{report}{{{\sc {iPoWr}}} Specification } +\delivrable{18}{D1.2.3}{temple:demonstrator}{public}{software}{First demonstrator ({\tt {article.cls}} really)} +\delivrable{24}{D1.2.4}{temple:proto}{public}{software}{First prototype} +\delivrable{36}{D1.2.5}{temple:release}{public}{software}{Final Template, ready for release} diff --git a/Master/texmf-dist/doc/latex/euproposal/propB.pdf b/Master/texmf-dist/doc/latex/euproposal/propB.pdf Binary files differnew file mode 100644 index 00000000000..71bbaa4b1d6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/euproposal/propB.pdf diff --git a/Master/texmf-dist/doc/latex/euproposal/propB.tex b/Master/texmf-dist/doc/latex/euproposal/propB.tex new file mode 100644 index 00000000000..cd051978ab4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/euproposal/propB.tex @@ -0,0 +1,573 @@ +\documentclass[11pt,eudraft,twoside]{euproposal} +\usepackage{wrapfig,rotating} +\usepackage{a4wide} +\usepackage{xspace} +\usepackage{paralist} +\usepackage{times} + +\def\ipower{{\sc{iPoWr}}} +\ProposalAcronym\ipower +\ProposalTitle{{\underline{I}ntellitent} {\underline{P}r\underline{o}sal} {\underline{Wr}iting}} +\ProposalCall{ICT Call 1: FP7-???-200?-?} +\ProposalInstrument{Large-scale Integrating Project (IP) Proposal} +\ProposalTopics{???-200?.?.? Intelligent Proposal Writing} +\ProposalCoordinatorName{Prof. Dr. Michael Kohlhase} +\ProposalCoordinatorEmail{m.kohlhase@jacobs-university.de} +\ProposalCoordinatorTelFax{(+49) 421 200-3140/-493140} + +\ProposalCoordinator{JACU}{Jacobs University Bremen}{D} +\ProposalPartner{EFO}{European Future Office}{NL} +\ProposalPartner{BAR}{Universit\`e de BAR}{F} +\ProposalPartner{BAZ}{BAZ International Ltd}{UK} + +\begin{document} +\svnInfo $Id: propB.tex 13984 2007-11-04 14:50:45Z kohlhase $ +\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/euproposal/propB.tex $ +\begin{titlepageabstract} + 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 + {\sc{Subversion}}, allowing the proposal writing team to concentrate on the contents + rather than the mechanics of wrangling with text fragments and revisions. +\end{titlepageabstract} +\setcounter{tocdepth}{1} +{\small\tableofcontents} +\setcounter{part}{2}% part B + +\chapter{Scientific and Technical Quality}\label{chap:quality} +\begin{todo} + Recommended length for the whole of Section 1 –-- twenty pages, not including the tables + in Section 1.3 +\end{todo} + + +\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} +\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} +\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 a 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. (Please note that your overall + approach to management will be described later, in Section 2). + + Please present your plans as follows: + \begin{enumerate} + \item Describe the overall strategy of the work plan. + \item Show the timing of the different WPs and their components (Gantt chart or similar). +\item Provide a detailed work description broken down into work packages: + \begin{description} + \item [Work package list] (please use table \ref{fig:wplist}); + \item [Deliverables list] (please use table \ref{}); + \item[Description of each work package] (please use table 1.3c) + \item [Summary effort tabl]e (1.3d) + \item [List of milestones] (please use table 1.3e) + \end{description} + \item Provide a graphical presentation of the components showing their + interdependencies (Pert diagram or similar) + \end{enumerate} + The number of work packages used must be appropriate es 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} + +\subsection{Work Planning}\label{sec:workplanning} +\begin{todo} + Give a short high-level introduction to how the work in the project should proceed, + explain Table~\ref{fig:wplist}. + + In the table below indicate one activity per 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. +\end{todo} + +\begin{figure}[ht]\centering +\begin{wptable} + \wgline{mansubsus}\wpline{management}\wpline{dissem}\hline + \wgline{systems}\wpline{class}\wpline{temple} +\end{wptable} +\caption{Work Groups and Packages}\label{fig:wplist} +\end{figure} + + + +\begin{figure}[ht] +\begin{footnotesize} +\begin{minipage}{\textwidth} +\begin{sideways} +\begin{tabular}{|l|l||llllllllllllllll|}\hline + WP & title & 1 & 4 & 7 & 10 & 13 & 16 & 19 & 22 & 25 & 28 & 31 & 34 & 37 & 40 & 43 & 46 \\\hline + \euRef{wp}{management}{number} & \euref{wp}{management}{short} & + \act{3}{kickoff \& SS1} & \pause{9} & \act{4}{exploitation} \\\hline + + \euRef{wp}{dissem}{number} & \euref{wp}{dissem}{short} & + \pause{6} & \act{1}{SS2} & \pause{3} & \act{1}{SS3} & \pause{3}& + \act{1}{SS4}& \pause{1}\\\hline\hline + + \euRef{wp}{class}{number} & \euref{wp}{class}{short} & + \act{2}{req} & \pause{2} &\act{4}{proto} &\pause{2} & \act{4}{deployment}\\\hline + + \euRef{wp}{class}{number} & \euref{wp}{class}{short} & + \pause{4} & \act{4}{proto} & \pause{4} & \act{4}{deployment}\\\hline +\end{tabular} +\end{sideways} +\hspace*{1cm} +%\includegraphics[angle=90,height=19.2cm]{../tables/staffeffort} +\end{minipage} +\end{footnotesize} +\caption{Overview Work Package Activities and Staff Involvement}\label{fig:activities} +\end{figure} +\ednote{add generation here} + +\subsubsection{Project 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 required 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. +\end{todo} + +The work in the {\ipower} project is structured by seven milestones, which coincide with +the project meetings in summer and fall (see Section~\ref{sec:outreach} for details). +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. +\def\milesfor#1{} +\begin{footnotesize} +\begin{longtable}{|l|l|l|p{5cm}|p{5cm}|}\hline + \# & Event & Mo. & Description & Means of Verification \\\hline + & \multicolumn{4}{p{14cm}|}{Workpackages involved}\\\hline\hline + \milestone{kickoff} & Kickoff & 1 + & Initial (Organizational) Project Infra\-structure + & Inspection \\\hline + & \multicolumn{4}{p{14cm}|}{\milesfor{kickoff}}\\\hline\hline + \milestone{consensus} & Consensus & 24 + & Consensus + & Inspection \\\hline + & \multicolumn{4}{p{14cm}|}{\milesfor{consensus}}\\\hline + \milestone{exploitation} & Exploitation & 36 + & Expl + & Inspection \\\hline + & \multicolumn{4}{p{14cm}|}{\milesfor{exploitation}}\\\hline\hline + \milestone{final} & Final & 48 + & Final Results + & Inspection \\\hline + & \multicolumn{4}{p{14cm}|}{\milesfor{final}}\\\hline\hline +\end{longtable} +\end{footnotesize} + +\newpage +\subsubsection{Work Packages}\label{sec:workpackages} + +\begin{workplan} +\begin{workgroup}[id=mansubsus,title={Management, Support \& Sustainability}, + short=Management,lead=JACU] + \begin{wgd} + \wpobjectives This work-group has two work packages: one for management proper + ({\euref{wp}{management}{label}}), and one each for dissemination + ({\euref{wp}{dissem}{label}})\\\hline + + \wpdescription 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 ({\euref{wp}{management}{label}}), + the Proceedings of the Annual {\ipower} Summer School as well as non-public + Dissermination and Exploitation plans ({\euref{wp}{dissem}{label}}), as well as a report + of the {\ipower} project milestones.\\\hline + +\begin{wgdelivs} + \wgdeliv[due={6,12,18,24,30,36,42,48},id=intReport,type=report, + dissem=partial, + miles={kickoff,final}] + {Integrative report.} +\end{wgdelivs}\\\hline\hline +\end{wgd} + + +\newpage +\begin{wpd}[id=management,type=MGT,duration=48,start=1,lead=JACU, + title=Project Management,short=Management, + JACU=2,BAR=2,EFO=2,BAZ=2] +\wpobjectives + \begin{itemize} + \item To perform the administrative, scientific/technical, and financial + management of the project + \item To co-ordinate the contacts with the EU + \item To control quality and timing of project results and to resolve conflicts + \item To set up inter-project communication rules and mechanisms + \end{itemize} +\\\hline + +\wpdescription Based on the Consortium Agreement, i.e. the contract with the European +Commission, 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 {\ipower} help-desk for answering +questions about the format (first project-internal, and after month 12 public) will be +established. The project management will\ldots\\\hline + +\begin{wpdelivs} + \wpdeliv[due=1,id=mailing,type=infra,dissem=project,miles=kickoff] + {Project-internal mailing lists} + \wpdeliv[due=3,id=handbook,type=report,dissem=public,miles=consensus] + {Project management handbook} + \wpdeliv[due={6,12,18,24,30,36,42},id=report2,type=report,dissem=public,miles={consensus,final}] + {Periodic management report} + \wpdeliv[due=6,id=helpdesk,dissem=public,type=infra,miles=kickoff] + {{\ipower} Helpdesk} + \wpdeliv[due=36,id=report6,type=report,dissem=public,miles=final] + {Final plan for using and disseminating the knowledge} + \wpdeliv[due=48,id=report7,type=report,dissem=public,miles=final] + {Final management report} +\end{wpdelivs}\\\hline +Furthermore, this work package contributes to {\euRef{deliv}{mansubsusintReport}{label}} +with an Periodic Management Report, a Project Management Handbook, and a plan for using +and disseminating the project results.\\\hline +\end{wpd} + +\newpage +\begin{wpd}% +[id=dissem,type=RTD,duration=48,start=1,lead=EFO, + title=Dissemination and Exploitation,short=Dissem, + EFO=8,JACU=2,BAR=2,BAZ=2] + +\wpobjectives 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. \\\hline + + +\wpdescription 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. + +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\\\hline + +\begin{wpdelivs} + \wpdeliv[due=2,id=website,type=infra,dissem=public,miles=kickoff] + {Set-up of the Project web server} + \wpdeliv[due=8,id=ws1proc,type=report,dissem=public,miles={kickoff}] + {Proceedings of the first {\ipower} Summer School.} + \wpdeliv[due=9,id=dissem,type=report,dissem=project] + {Dissemination Plan} + \wpdeliv[due=9,id=exploitplan,type=report,dissem=project,miles=exploitation] + {Scientific and Commercial Exploitation Plan} + \wpdeliv[due=20,id=ws2proc,type=report,dissem=public,miles={exploitation}] + {Proceedings of the second {\ipower} Summer School.} + \wpdeliv[due=32,id=ss1proc,type=report,dissem=public,miles={exploitation}] + {Proceedings of the third {\ipower} Summer School.} + \wpdeliv[due=44,id=ws3proc,type=report,dissem=public,miles=exploitation] + {Proceedings of the fourth {\ipower} Summer School.} +\end{wpdelivs}\\\hline + + +Furthermore, this work package contributes to {\euRef{deliv}{mansubsusintReport}{label}} +with the annual Proceedings of the {\ipower} Summer School and the (non-public) +Dissemination Plan as well as the (non-public) scientific and commercial Exploitation +Plan. \\\hline +\end{wpd} +\end{workgroup} +\newpage +\begin{workgroup}[id=systems,title={System Development},short=Systems,lead=JACU] + +\begin{wgd} + \wpobjectives This work-group has two work packages: one for the development of the + {\LaTeX} class ({\euref{wp}{class}{label}}), and for the proposal template + ({\euref{wp}{temple}{label}}) \\\hline + + \wpdescription This work group coordinates the system development.\\\hline + +\begin{wgdelivs} + \wgdeliv[due=30,id=intReport,type=report,dissem=public,miles={consensus}] + {Integration report.} + \wgdeliv[due=48,id=finalReport,type=report,dissem=public,miles={consensus}] + {Final report.} +\end{wgdelivs}\\\hline\hline +\end{wgd} + +\newpage +\begin{wpd}[id=class,type=MGT,duration=48,start=1,lead=JACU, + title=A {\LaTeX} class for EU Proposals,short=Class, + JACU=12,BAR=12] +\wpobjectives To devlop a {\LaTeX} class for marking up EU Proposals\\\hline + +\wpdescription We will follow strict software design principles, first comes a +requirements analys, then \ldots\\\hline + +\begin{wpdelivs} + \wpdeliv[due=6,id=req,type=report,dissem=project,miles=kickoff] + {Requirements analysis} + \wpdeliv[due=12,id=spec,type=report,dissem=public,miles=consensus] + {{\ipower} Specification } + \wpdeliv[due=18,id=demonstrator,type=software,dissem=public,miles={consensus,final}] + {First demonstrator ({\tt{article.cls}} really)} + \wpdeliv[due=24,id=proto,type=software,dissem=public,miles=final] + {First prototype} + \wpdeliv[due=36,id=release,type=software,dissem=public,miles=final] + {Final {\LaTeX} class, ready for release} +\end{wpdelivs}\\\hline +Furthermore, this work package contributes to {\euRef{deliv}{systemsintReport}{label}} and +{\euRef{deliv}{finalReport}{label}}.\\\hline +\end{wpd} + +\newpage +\begin{wpd}[id=temple,type=DEM,duration=48,start=1,lead=BAR, + title={\ipower} Proposal Template,short=Template,BAR=12,BAZ=24] + +\wpobjectives To develop a template file for {\ipower} proposals\\\hline +\wpdescription We abstract an example from existing proposals\\\hline + +\begin{wpdelivs} + \wpdeliv[due=6,id=req,type=report,dissem=project,miles=kickoff] + {Requirements analysis} + \wpdeliv[due=12,id=spec,type=report,dissem=public,miles=consensus] + {{\ipower} Specification } + \wpdeliv[due=18,id=demonstrator,type=software,dissem=public,miles={consensus,final}] + {First demonstrator ({\tt{article.cls}} really)} + \wpdeliv[due=24,id=proto,type=software,dissem=public,miles=final] + {First prototype} + \wpdeliv[due=36,id=release,type=software,dissem=public,miles=final] + {Final Template, ready for release} +\end{wpdelivs}\\\hline +Furthermore, this work package contributes to {\euRef{deliv}{systemsintReport}{label}} and +{\euRef{deliv}{finalReport}{label}}.\\\hline +\end{wpd} +\end{workgroup} +\newpage +\end{workplan} + +\subsection{Deliverables}\label{sec:delivrables} + +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:workplanning}) are printed in boldface to mark them. They integrate +contributions from multiple work packages. 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{10cm}} + +\ednote{here?} +\staffefforttable +\newpage +\chapter{Implementation}\label{chap:implementation} + +\section{Management Structure and Procedures}\label{chap:management} +\begin{todo}{from the proposal template} + Describe the organisational structure and decision-making mechanisms of the + project. Show how they are matched to the complexity and scale of the project. +\end{todo} + +The Project Management of {\ipower} 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 + organisation, the main tasks they have been attributed, and the previous experience + relevant to those tasks. Provide also a short profile of the staff members who will be + undertaking the work. +\end{todo} +\newpage +\begin{partnerdesc}{JACU} + Jacobs University is a new private research university patterned after the Anglo-Saxon + university system. The university was founded in 2000 and has an international student + body (ca. 1000 students from over 90 nations, admitted in a highly selective process). + + The KWARC (KnoWledge Adaptation and Reasoning for Content \url{http://kwarc.info}) Group + headed by {\emph{Prof. Dr. Michael Kohlhase}} specializes in knowledge representation + systems for mathematics, formal mathematics, natural language semantics and the semantic + web. It is the main center and lead implementor of the OMDoc (Open Mathematical + Document) representation format for knowledge representation in Mathematics. + + 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. +\end{partnerdesc} +\newpage +\begin{partnerdesc}{EFO} +The EFO is the world leader in futurology, \ldots +\end{partnerdesc} +\newpage +\begin{partnerdesc}{BAR} +The 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 host +gorgeous project meetings. +\end{partnerdesc} +\newpage +\begin{partnerdesc}{BAZ} +\ednote{add something here} +\end{partnerdesc} + +\newpage +\section{The {\ipower} 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} + +\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 project’s 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} + Recommended length for Section 2.4 – two pages + + In addition to the costs indicated on form A3 of the proposal, and the staff effort + shown in Section 1.3 above, please identify any other major costs (e.g. equipment). + Describe how the totality of the necessary resources will be mobilised, 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. +\end{todo} + +\subsection{Travel Costs and Consumables}\label{sec:travel-costs} +\subsection{Subcontracting Costs} +\subsection{Other Costs} + +\chapter{Impact}\label{chap:impact} +\ednote{Recommended length for the whole of Section 3 –-- ten pages} +\section{Expected Impact}\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 Exploitation 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 the management of knowledge, of intellectual property, and of other + innovation-related activities arising from the project. +\end{todo} +\subsection{Dissemination} +\subsection{Exploitation} +\subsection{Management of Intellectual Property} +\subsection{Sustainability} + +\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} + +\bibliographystyle{alpha} +\bibliography{prop} +\ednotemessage +\end{document} + +% diff --git a/Master/texmf-dist/source/latex/euproposal/euproposal.dtx b/Master/texmf-dist/source/latex/euproposal/euproposal.dtx new file mode 100644 index 00000000000..ab22506b7fb --- /dev/null +++ b/Master/texmf-dist/source/latex/euproposal/euproposal.dtx @@ -0,0 +1,801 @@ +% \iffalse meta-comment +% A class for preparing FP7 proposals for collaborative projects +% +% Copyright (c) 2007 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/euproposal/euproposal.dtx $ +% \fi +% +% \iffalse +%<cls>\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%<cls>\ProvidesClass{euproposal}[2007/06/04 v0.3 EU Proposal] +%<*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,float,a4wide} +\usepackage[show]{ed} +\usepackage[fancyhdr,today,draft]{svninfo} +\pagestyle{fancyplain}\fancyhead[RE,LO]{\leftmark}\fancyhead[LE,RO]{\thepage} +\makeindex +\floatstyle{boxed} +\newfloat{exfig}{thp}{lop} +\floatname{exfig}{Example} +\def\subversion{\sc{Subversion}} +\begin{document} +\svnInfo $Id: euproposal.dtx 13984 2007-11-04 14:50:45Z kohlhase $ +\svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/euproposal/euproposal.dtx $ +\DocInput{euproposal.dtx} +\end{document} +%</driver> +% \fi +% +%\iffalse\CheckSum{181}\fi +% +% \changes{v0.3}{2007/06/04}{staff effort table finally works} +% \changes{v0.2}{2007/05/09}{First Version with Documentation} +% \changes{v0.1}{2007/05/07}{used in the SciML proposal} +% +% \GetFileInfo{euproposal.cls} +% +% \MakeShortVerb{\|} +% \title{Preparing FP7 Proposals in {\LaTeX} with +% {\tt{eurpoposal.cls}}\thanks{Version {\fileversion} +% (last revised {\filedate})}} +% \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} +% +% \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 +% {\sc{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 supports many of the specific elements of Part B of a Framework +% 7 Proposal. It comes with an example proposal |euproposal-propB.tex|, which shows the +% usage of the class in action, it is intended as a template for your proposal. +% +% \section{The User Interface}\label{sec:user-interface} +% +% \subsection{Package Options}\label{sec: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. Currently the |euproposal| package only +% takes three options |submit|, |public|, and |eudraft| where |submit| is the default +% case, so that |\documentclass{euproposal}|, is equivalent to +% |\documentclass[submit]{euproposal}|.\ednote{continue} +% +% \subsection{Proposal Metadata and Title page}\label{sec:metadata} +% +% The metadata of the proposal can be specified in the {\LaTeX} preamble using the macros +% described below. All of these take one argument: the value. A typical preamble is given +% in Figure~\ref{fig:preamble}. +% \begin{exfig} +% \begin{verbatim} +% \documentclass[11pt,eudraft]{euproposal} +% +% \def\ipower{{\sc{iPoWr}}} +% \ProposalAcronym\ipower +% \ProposalTitle{{\underline{I}ntellitent} {\underline{P}r\underline{o}sal} +% {\underline{Wr}iting}} +% \ProposalCall{ICT Call 1: FP7-???-200?-?} +% \ProposalInstrument{Large-scale Integrating Project (IP) Proposal} +% \ProposalTopics{???-200?.?.? Intelligent Proposal Writing} +% \ProposalCoordinatorName{Prof. Dr. Michael Kohlhase} +% \ProposalCoordinatorEmail{m.kohlhase@jacobs-university.de} +% \ProposalCoordinatorTelFax{(+49) 421 200-3140/-493140} + +% \ProposalCoordinator{JACU}{Jacobs University Bremen}{D} +% \ProposalPartner{EFO}{European Future Office}{NL} +% \ProposalPartner{BAR}{Universit\`e de BAR}{F} +% \ProposalPartner{BAZ}{BAZ International Ltd}{UK} +% \end{verbatim} +% \caption{A typical proposal preamble}\label{fig:preamble} +% \end{exfig} +% +% \DescribeMacro{\Proposal*} The |ProposalAcronym| is used to specify the acronym, this +% will appear in the headings and the title page. |ProposalTitle| specifies the title of +% the proposal, and |ProposalCall| is used to identify the call the proposal addresses. It +% is usuall a string of the form |ICT Call 1: FP7-???-200?-?|. An overview over open calls +% can be found at \url{http://cordis.europa.eu/fp7/dc/index.cfm}. |ProposalInstrument| It +% is either ``Large-scale Integrating Project (IP) Proposal'', or\ednote{find out the +% others} |ProposalTopics| specifies the specific objectives in the call this proposal +% addresses. These are specified in the ``call fiche'' that can be obtained from the URL +% above. They usually have a form like |???-200?.?.? Intelligent Proposal Writing|. +% Finally, |ProposalCoordinatorName|, |ProposalCoordinatorEmail|, and +% |ProposalCoordinatorTelFax| are used to specify the contact details of the project +% coordinator. +% +% \DescribeEnv{titlepageabstract} The metadata is used to assemble the title page of the +% proposal, using the abstract which occupies the body of the |titlepageabstract| +% environment.\ednote{can we count letters in the abstract and put out a warning if it is +% too long?} +% +% \DescribeMacro{\svnInfo}\DescribeMacro{\svnKeyword} If we are using {\subversion} for +% collaborating on the proposal, we should add the two lines immediately below the +% |\begin{document}| (they must be after). The |$ID| and |$HeadURL| keywords are expanded +% by {\subversion} whenever the document is updated or committed, if the relevant +% properties are set. To set the properties use |svn propset svn:keywords "URL Id"| on +% the command line or the appropriate clicks in your subversion client. The information +% will be displayed in the footer line (if the |eudraft| option is set). All dependent +% files in the proposal can have their own |svninfo| declarations, leading to per-file +% information in the footer line. +% +% Finally, the last two lines set up the table of contents and the +% +% \begin{exfig} +% \begin{verbatim} +% \begin{document} +% \svnInfo $Id: euproposal.dtx 13984 2007-11-04 14:50:45Z kohlhase $ +% \svnKeyword $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/euproposal/euproposal.dtx $ +% \begin{titlepageabstract} +% 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 +% {\sc{Subversion}}, allowing the proposal writing team to concentrate on the contents +% rather than the mechanics of wrangling with text fragments and revisions. +% \end{titlepageabstract} +% \setcounter{tocdepth}{1}{\small\tableofcontents} +% \end{verbatim} +% \caption{Typical Front Matter of a Proposal}\label{fig:frontmatter} +% \end{exfig} +% +% \subsection{Work Packages and Work Groups} +% +% \DescribeEnv{workplan} +% +% The |workplan| environment groups the work package and work group descriptions and +% handles the accounting. In particular, the environment writes the file +% {\meta{proposal}.delivs} file which is used to generate the delivrables +% table.\ednote{say something about sorting} +% +% \DescribeEnv{workpackage}\DescribeEnv{workgroup} +% The |workpakcage| and |workgroup| environments are closely related, so we will describe +% them together. +% +% \DescribeMacro{id} The |id| key is used to specify a label for crossreferencing the work +% package or work group, it must be document-unique. +% +% \DescribeMacro{title}\DescribeMacro{short} The |title| and |short| keys are used for the +% work package/group title. The short title is used in tables and should not be longer +% than 15 characters. +% +% \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. +% +% \DescribeMacro{\meta{partner}} For each partner, the |euproposal| package generates a +% key that is identical to the short name of the partner. This can be used to specify the +% person months that the partner spends on this work package (the value for work groups is +% automatically computed (remember to run {\LaTeX} twice for this)). +% +% \DescribeMacro{lead} The |lead| key specifies the work package or work group lead, the +% value of this feature should be the short name of the respective partner. +% +% \DescribeMacro{start}\DescribeMacro{duration} The |start| and |duration| keys are used +% to specify the start month and duration (in months) of the work package +% +% \StopEventually{\newpage\PrintIndex\newpage\PrintChanges\ednotemessage} +% +% \section{The Implementation} +% +% We first set up the options for the package. +% +% \subsection{Package Options}\label{impl:options} +% +%<*cls> +% \begin{macrocode} +\newif\ifsubmit\submittrue +\newif\ifpublic\publicfalse +\DeclareOption{eudraft}{\submitfalse\PassOptionsToPackage{draft}{svninfo}} +\DeclareOption{submit}{\submittrue\PassOptionsToPackage{hide}{ed}} +\DeclareOption{public}{\publictrue} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} +\ProcessOptions +% \end{macrocode} +% +% Then we load the packages we make use of +% +% \begin{macrocode} +\LoadClass[a4paper]{report} +\RequirePackage{textcomp} +\RequirePackage{amssymb} +\RequirePackage{url} +\RequirePackage{lscape} +\RequirePackage{longtable} +\RequirePackage{graphicx} +\RequirePackage{calc} +\RequirePackage{colortbl} +\RequirePackage{xcolor} +\RequirePackage[show]{ed} +\RequirePackage[today,fancyhdr]{svninfo} +\RequirePackage{keyval} +\RequirePackage{array} +\RequirePackage{eurosym} +\RequirePackage{hyperref} +% \end{macrocode} +% +% And we set up the appearance of the proposal. We use the |\part| mechanism to show +% that we are in part B of the proposal. +% +% \begin{macrocode} +\def\thepart{\Alph{part}} +\setcounter{part}{2} +\def\thechapter{\thepart.\arabic{chapter}} +\def\tableofcontents{% + \chapter*{\contentsname + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}}% + \@starttoc{toc}} +% \end{macrocode} +% +% \begin{macrocode} +\newenvironment{titlepageabstract} +{\begin{center} + {\LARGE \eu@instrument}\\[.2cm] + {\large \eu@call}\\[.4cm] + {\LARGE\bf\eu@title}\\[.3cm] + {\LARGE Acronym: {\eu@acro}}\\[.2cm] +\end{center} +{\large\bf{Date of Preparation: \today}}\\[1em] +\PartnerTable\\[.5cm] +\begin{large} + \begin{description} + \item[Work program topics addressed:] \eu@topics + \item[Coordinator:] \euc@name + \item[e-mail:] {\url{\euc@email}} + \item[tel/fax:] \euc@telfax + \item [Proposal Abstract:]\small\sf} +{\end{description}\end{large}\newpage} +% +% \subsection{Proposal Metadata} +% +% we define the metadata declaration macros +% \begin{macrocode} +\def\ProposalAcronym#1{\def\eu@acro{#1}} +\def\ProposalTitle#1{\def\eu@title{#1}} +\def\ProposalCall#1{\def\eu@call{#1}} +\def\ProposalTopics#1{\def\eu@topics{#1}} +\def\ProposalInstrument#1{\def\eu@instrument{#1}} +\def\ProposalCoordinatorName#1{\def\euc@name{#1}} +\def\ProposalCoordinatorEmail#1{\def\euc@email{#1}} +\def\ProposalCoordinatorTelFax#1{\def\euc@telfax{#1}} +% \end{macrocode} +% and the default values +% \begin{macrocode} +\def\eu@acro{ACRONYM} +\def\eu@title{Proposal Title} +\def\eu@call{ICT Call ?: FP7-???-200?-?} +\def\eu@instrument{Proposal Instrument (e.g. IP)} +\def\eu@topics{???-200?.?.? Topic1, ???-200?.?.? Topic2} +\def\euc@name{Dr. Great Coordinatorn} +\def\euc@email{g.coordinator@jacobs-university.de} +\def\euc@telfax{(+??) ??? ???? ???/-???} +% \end{macrocode} +% +% \begin{macrocode} +\fancyhead[RE,LO]{\eu@acro}\fancyhead[LE,RO]{page~\thepage~of~\thelastpage} +\pagestyle{fancyplain} +% \end{macrocode} +% +% we want numbered subsubsections +% \begin{macrocode} +\setcounter{secnumdepth}{3} +% \end{macrocode} +% +% \begin{macrocode} +\AtEndDocument{% + \clearpage + \count@\c@page + \advance\count@\m@ne + \edef\@tempa{\the\count@}% + \ifx\@tempa\thelastpage + \else + \ClassWarningNoLine{euproposal}{Last page changed: Rerun LaTeX}% + \fi + \immediate\write\@auxout{% + \gdef\string\thelastpage{\the\count@}}} +\def\thelastpage{??} +% \end{macrocode} +% +% \subsection{Work Packages and Work Groups} +% +% \begin{macro}{\eu@write@...} +% This macro writes an |\eu@def| commands to the current aux and delivrables file. +% \begin{macrocode} +\def\eu@write@aux#1#2#3#4{\protected@write\@auxout{}{\string\eu@def{#1}{#2}{#3}{#4}}} +\def\eu@write@delivs#1#2#3#4{\protected@write\@auxout{}{\string\eu@def{#1}{#2}{#3}{#4}}} +% \end{macrocode} +% \end{macro} +% We first define keys for work groups. +% \begin{macrocode} +\define@key{wg}{id}{\def\wg@id{#1}} +\define@key{wg}{title}{\def\wg@title{#1}} +\define@key{wg}{lead}{\def\wg@lead{#1}} +\define@key{wg}{short}{\def\wg@short{#1}} +% \end{macrocode} +% work packages have similar ones. +% \begin{macrocode} +\define@key{wp}{id}{\def\wp@id{#1}} +\define@key{wp}{duration}{\def\wp@duration{#1}} +\define@key{wp}{start}{\def\wp@start{#1}} +\define@key{wp}{title}{\def\wp@title{#1}} +\define@key{wp}{type}{\def\wp@type{#1}} +\define@key{wp}{lead}{\def\wp@lead{#1}} +\define@key{wp}{short}{\def\wp@short{#1}} +% \end{macrocode} +% Then we introduce the partner declarations; first we initialize the partner counter +% and some accumulator macros for the partners table, and the first two lines in the +% WP/WG descriptions. +% \begin{macrocode} +\newcounter{partner} +\def\wpg@partners{}\def\wp@pms{}\def\wg@pms{}\def\eu@partner@table{} +% \end{macrocode} +% The next macro is an internal one that can be specialized for the coordinator +% \begin{macrocode} +\def\proposal@partner#1#2#3{% short, long, nationality +\stepcounter{partner} +\newcounter{wg@#1@effort}[wg] +\newcounter{total@#1@effort} +\eu@write@aux{partner}{#1}{number}{\thepartner} +\eu@write@aux{partner}{#1}{short}{#1} +\eu@write@aux{partner}{#1}{long}{#2} +\eu@write@aux{partner}{#1}{nationality}{#3} +\define@key{wp}{#1}{\expandafter\def\csname wp@#1\endcsname{##1}} +\g@addto@macro\eu@partner@table{\euref{partner}{#1}{number} & {\euref{partner}{#1}{short}} & #2 & #3\\\hline}} +% \end{macrocode} +% With this, the declarations for the partners are very simple. The one for the +% coordinator initializes the relevant lists +% \begin{macrocode} +\def\ProposalCoordinator#1#2#3{\proposal@partner{#1}{#2 (coordinator)}{#3} +\gdef\eu@partners{#1} +\g@addto@macro\wpg@partners{\euref{partner}{#1}{number}: \euRef{partner}{#1}{short}} +\g@addto@macro\wp@pms{\wp@pm{#1}}\g@addto@macro\wg@pms{\wg@pm{#1}}} +% \end{macrocode} +% while the one for the partners adds commas. +% \begin{macrocode} +\def\ProposalPartner#1#2#3{\proposal@partner{#1}{#2}{#3} +\g@addto@macro\eu@partners{,#1} +\g@addto@macro\wpg@partners{&\euref{partner}{#1}{number}: \euRef{partner}{#1}{short}} +\g@addto@macro\wp@pms{&\wp@pm{#1}}\g@addto@macro\wg@pms{&\wg@pm{#1}}} +% \end{macrocode} +% One of the side effects is that we can generate the partner table from the material +% accumulated in the |\eu@partners| macro. +% \begin{macrocode} +\def\PartnerTable{\begin{tabular}{|l|l|p{11cm}|l|}\hline +\# & Abbr. & Name & Country\\\hline\hline +\eu@partner@table +\end{tabular}} +% \end{macrocode} +% +% \begin{macrocode} +\def\wg@label#1{WG {#1}} +\def\wp@label#1{WP {#1}} +\def\wg@mk@title#1{Work Group {#1}} +\def\wp@mk@title#1{Work Package {#1}} +% \end{macrocode} +% +% \begin{macrocode} +\newcounter{wg} +\newcounter{wp}[wg] +\newcounter{deliv}[wp] +\newcounter{wpgno} +% \end{macrocode} +% The next macro sets up the counters for the effort tables and writes the efforts to the +% aux file +% \begin{macrocode} +\def\wp@efforts{\@for\@I:=\eu@partners\do{ + \def\@effort{\@ifundefined{wp@\@I}{0}{\csname wp@\@I\endcsname}} + \addtocounter{wg@\@I @effort}{\@effort} + \addtocounter{total@\@I @effort}{\@effort} + \eu@write@aux{\wp@id}{\@I}{effort}{\@effort}}} +% \end{macrocode} +% write the workpackage/group-specific metadata to the aux file +% \begin{macrocode} +\def\wpg@write@md#1{% +\eu@write@aux{#1}{\csname #1@id\endcsname}{label}{\csname #1@label\endcsname\thewg} +\eu@write@aux{#1}{\csname #1@id\endcsname}{number}{\csname the#1\endcsname} +\eu@write@aux{#1}{\csname #1@id\endcsname}{title}{\csname #1@title\endcsname} +\eu@write@aux{#1}{\csname #1@id\endcsname}{lead}{\csname #1@lead\endcsname} +\eu@write@aux{#1}{\csname #1@id\endcsname}{short}{\csname #1@short\endcsname}} +% \end{macrocode} +% write the workpackage-specific metadata to the aux file +% \begin{macrocode} +\def\wp@write@md{% +\eu@write@aux{wp}{\wp@id}{duration}{\wp@duration} +\eu@write@aux{wp}{\wp@id}{start}{\wp@start} +\eu@write@aux{wp}{\wp@id}{type}{\wp@type}} +% \end{macrocode} +% show the line with all the efforts in the work package +% \begin{macrocode} +\def\wpg@efforts@line#1{\renewcommand{\tabcolsep}{.2em} + \begin{tabular}{|*{\thepartner}{c|}} + \wpg@partners\\\hline + \csname #1@pms\endcsname\end{tabular}} +% \end{macrocode} +% update the list of the work packages and groups for the staff efforts table +% \begin{macrocode} +\def\update@wps#1{\@ifundefined{wg@wps}{\xdef\wg@wps{#1}}{\xdef\wg@wps{\wg@wps,#1}}} +\def\update@wgs#1{\@ifundefined{eu@wgs}{\xdef\eu@wgs{#1}}{\xdef\eu@wgs{\eu@wgs,#1}}} +% \end{macrocode} +% with these it is now relatively simple to define the interface macros +% \begin{environment}{wpd} +% \begin{macrocode} +\newenvironment{wpd}[1][] +{\setkeys{wp}{#1}\stepcounter{wp}\stepcounter{wpgno} +\wpg@write@md{wp}\wp@write@md\wp@efforts\update@wps{\wp@id} +\xdef\wp@nums{\wp@nums &\thewg.\thewp} +\begin{center} +\begin{tabular}{||p{\textwidth-15pt}||}\hline\hline + {\large\textbf\wp@mk@title{\thewg.\thewp}}: {\eu@target{wp}{\wp@id}{\wp@title}}\\\hline + \wpg@efforts@line{wp}\\\hline} +{\end{tabular}\end{center}} +% \end{macrocode} +% \end{environment} +% the environment for work groups is even simpler, since we have less to do +% \begin{environment}{wgd} +% \begin{macrocode} +\newenvironment{wgd}[1][] +{\begin{center} +\begin{tabular}{||p{\textwidth-15pt}||}\hline\hline + {\large\textbf\wg@mk@title\thewg}: {\eu@target{wg}{\wg@id}{\wg@title}}\\\hline + \wpg@efforts@line{wg}\\\hline} +{\end{tabular}\end{center}} +% \end{macrocode} +% \end{environment} +% +% \begin{environment}{wgd} +% \begin{macrocode} +\newenvironment{workgroup}[1][] +{\setkeys{wg}{#1}\stepcounter{wg}\stepcounter{wpgno}\wpg@write@md{wg}\def\wp@nums{} +\let\wg@wps=\relax\update@wgs{\wg@id}\def\wp@nums{} +\eu@write@aux{wg}{\wg@id}{num}{\thewg}} +{\eu@write@aux{wg}{\wg@id}{wps}{\wg@wps} + \eu@write@aux{wg}{\wg@id}{wpnums}{\wp@nums} + \@for\@I:=\eu@partners\do{ + \eu@write@aux{\wg@id}{\@I}{effort}{\csname thewg@\@I @effort\endcsname}}} +% \end{macrocode} +% \end{environment} +% The following macro displays the effort of a partner +% \begin{macrocode} +\def\p@pm#1{\@ifundefined{wp@#1}{}{\csname wp@#1\endcsname}} +% \end{macrocode} +% +% \begin{macrocode} +\def\wpg@gray#1{\def\@test{#1}\ifx\@test\wpg@lead\cellcolor{lightgray}{#1}\else{#1}\fi} +% \end{macrocode} +% +% \begin{macrocode} +\def\wp@pm#1{\wpg@gray{\p@pm{#1}}} +\def\wg@pm#1{\wpg@gray{\euref{\wg@id}{#1}{effort}}} +% \end{macrocode} +% +% \begin{macrocode} +\def\wpg@pa#1{\wpg@gray{\euRef{partner}{#1}{short}}} +% \end{macrocode} +% +% \subsection{Hyperinking} +% +% \begin{macro}{\eu@target} +% +% \begin{macrocode} +\def\eu@target#1#2#3{\hypertarget{#1@#2@target}{#3}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\eu@def} +% +% \begin{macrocode} +\def\eu@def#1#2#3#4{\expandafter\gdef\csname #1@#2@#3\endcsname{#4}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\euref} +% +% \begin{macrocode} +\def\euref#1#2#3{\@ifundefined{#1@#2@#3}% +{\protect\G@refundefinedtrue\@latex@warning{#3 for #1 #2 undefined}??}% +{\csname #1@#2@#3\endcsname}}% +\def\euref@aux#1#2#3{\@ifundefined{#1@#2@#3}{??}{\csname #1@#2@#3\endcsname}}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\euref} +% +% \begin{macrocode} +\def\euRef#1#2#3{\@ifundefined{#1@#2@#3}% +{\protect\G@refundefinedtrue\@latex@warning{#3 for #1 #2 undefined}??}% +{\hyperlink{#1@#2@target}{\csname #1@#2@#3\endcsname}}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\eu@lead} +% +% \begin{macrocode} +\def\eu@lead#1{\@ifundefined{wp@#1@lead}% +{\protect\G@refundefinedtrue\@latex@warning{lead for WP #1 undefined}??}% +{\edef\@partner{\csname wp@#1@lead\endcsname}\euRef{partner}{\@partner}{short}}} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\wpline} +% +% \begin{macrocode} +\def\wpline#1{\euRef{wp}{#1}{label} & + \euref{wp}{#1}{title} & + \eu@lead{#1} & + \euref{wp}{#1}{start} & + \euref{wp}{#1}{duration} & + \euref{wp}{#1}{type} \\\hline} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\wgline} +% +% \begin{macrocode} +\def\wgline#1{\cellcolor{lightgray}{\euRef{wg}{#1}{label}} & + \multicolumn{5}{c|}{\cellcolor{lightgray}{\euref{wg}{#1}{title}}} \\\hline} +% \end{macrocode} +% \end{macro} +% +% \begin{environment}{wptable} +% +% \begin{macrocode} +\newenvironment{wptable}{\begin{footnotesize}\begin{tabular}{|c|l|l|l|l|l|}\hline + \textbf{WG/WP}& + \textbf{Title}& + \textbf{Lead}& + \textbf{Start}& + \textbf{Dur.}& + \textbf{Type}\\\hline\hline} +{\end{tabular}\end{footnotesize}} +% \end{macrocode} +% \end{environment} +% +% \begin{macro}{\wpobjectives} +% +% \begin{macrocode} +\def\wpobjectives{\textbf{Objectives:} } +% \end{macrocode} +% \end{macro} +% \begin{macro}{\wpdescription} +% +% \begin{macrocode} +\def\wpdescription{\textbf{Description of Work:} } +% \end{macrocode} +% \end{macro} +% \begin{environment}{wpdelivs} +% +% \begin{macrocode} +\newenvironment{wpdelivs}{\vspace*{-1em}\begin{description}} +{\end{description}} +% \end{macrocode} +% \end{environment} +% +% \begin{macro}{\wgdelivs} +% +% \begin{macrocode} +\newenvironment{wgdelivs}{\setcounter{deliv}{0}\vspace*{-1em}\begin{description}} +{\end{description}} +% \end{macrocode} +% \end{macro} +% The next macro is generally useful to put a comment at the end of the line, possibly +% making a new one if there is not enough space. +% \begin{macro}{\lec} +% \begin{macrocode} +\def\lec#1{\strut\hfil\strut\null\nobreak\hfill\hbox{$\leadsto$#1}\par} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\wpdeliv} +% We first define the keys +% \begin{macrocode} +\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}{type}{\def\deliv@type{#1}} +\define@key{deliv}{miles}{\def\deliv@miles{#1}} +% \end{macrocode} +% The |\wpdeliv| macro cycles over the due dates and generates the relevant entries +% into the delivrables file\ednote{also generate the makefile} +% \begin{macrocode} +\newcommand{\wpg@deliv}[3]{% keys, title, type +\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{D\thewg.\thewp.\thedeliv} +\else\def\current@label{D\thewg.\thedeliv}\fi +\eu@write@aux{deliv}{\wpg@id\deliv@id}{label}{\current@label} +\eu@write@aux{deliv}{\wpg@id\deliv@id}{title}{#2} +\@ifundefined{deliv@due}{}{% +\@for\@I:=\deliv@due\do{\protected@write\wpg@delivs{}{\string\delivrable% +{\@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@type}{\protect\G@refundefinedtrue\@latex@warning{key 'type' for Deliv + #1 undefined}??}{\deliv@type}}% type +{#2}}}}% +\item[\current@label: (Month \deliv@due)]\eu@target{deliv}{\wpg@id\deliv@id}{#2} +\@ifundefined{deliv@miles}{}{% print the milestones and update their delivrables +\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\euRef{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{\csname\@I delivs\endcsname\d@sep\wpg@id\deliv@id}\fi%if not add it +} +}} +% \end{macrocode} +% \ednote{in the last three lines, I would like to extend all the milestones it +% references by this delivrable, but somehow it does not work yet (leads to a +% circular definition of <mile>@delivs)} +% \end{macro} +% +% Now, we only need to instantiate +% +% \begin{macro}{\wgdeliv} +% \begin{macrocode} +\newcommand{\wgdeliv}[2][]{\wpg@deliv{#1}{#2}{wg}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\wpdeliv} +% \begin{macrocode} +\newcommand{\wpdeliv}[2][]{\wpg@deliv{#1}{#2}{wp}} +% \end{macrocode} +% \end{macro} +% +% \begin{environment}{workplan} +% the macros above should actually only be defined in the |workplan| +% environment\ednote{use the envisioned two-stop refactoring to make the actual +% definitions short enough to put into the environment} +% \begin{macrocode} +\newwrite\wpg@delivs +\newenvironment{workplan}% +{\immediate\openout\wpg@delivs=\jobname.delivs\setcounter{wg}{-1}}% +{\closeout\wpg@delivs% +\@for\@I:=\mile@stones\do{\eu@write@aux{mile}{\@I}{delivs}{\csname\@I delivs\endcsname}} +\@for\@I:=\eu@partners\do{ + \eu@write@aux{eu}{\@I}{totaleffort}{\csname thetotal@\@I @effort\endcsname}} +\eu@write@aux{eu}{workplan}{wgs}{\eu@wgs}} +% \end{macrocode} +% \end{environment} +% +% \begin{macro}{\milestone} +% \begin{macrocode} +% create a new milestone, initialize its delivrables accumulator macro, set up +% hyperlinking, and extend the milestones list. +\newcounter{milestone} +\def\milestone#1{\stepcounter{milestone} +\eu@write@aux{mile}{#1}{label}{M\themilestone} +\eu@target{mile}{#1}{M\themilestone} +\@ifundefined{mile@stones}{\gdef\mile@stones{#1}}{\g@addto@macro\mile@stones{,#1}}} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\milesfor} +% the due date is the first argument to facilitate sorting +% \begin{macrocode} +\def\milesfor#1{\edef\@delivs{\euref{mile}{#1}{delivs}} +\let\m@sep=\relax +\@for\@I:=\@delivs\do{\m@sep\ \euRef{deliv}{\@I}{label}\let\m@sep=,}} +% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\Ed@note} +% the due date is the first argument to facilitate sorting +% \begin{macrocode} +\newcommand{\delivrable}[6]{#2\\\hline}%due,label,id,title,type,level +% \end{macrocode} +% \end{macro} +% +% \begin{environment}{delivrables} +% +% \begin{macrocode} +\newenvironment{delivrables}[1]{\begin{longtable}{|l|l|p{#1}|l|l|}\hline +\#&due&title&dissem& type\\\hline\hline}{\\\hline\end{longtable}} +% \end{macrocode} +% \end{environment} +% +% \begin{macro}{\inputdelivs} +% +% \begin{macrocode} +\newcommand{\inputdelivs}[1]{\begin{delivrables}{#1} +\IfFileExists{\jobname.delivrables}% +{\input{\jobname.delivrables}}% +{\input{\jobname.delivs}} +\end{delivrables}} +% \end{macrocode} +% \end{macro} +% +% \section{The Staff Effort Table}\label{impl:staffefforttable} +% +% \begin{macro}{\staffefforttable} +% +% \begin{macrocode} +\def\zero@blank#1{\edef\@test{#1}\def\@zero{0}\ifx\@test\@zero\else#1\fi} +\def\staffefforttable{% +\edef\@wgs{\euref@aux{eu}{workplan}{wgs}}\message{wgs: \@wgs} +{\gdef\staff@efforts{}\def\@zero{0}% initialize + \let\tabularnewline\relax\let\hline\relax% so they do not bother us + \@for\@I:=\eu@partners\do{%iterate over partners for the lines + \xdef\@line{\euref@aux{partner}{\@I}{number}& \euref@aux{partner}{\@I}{short}}% first two columns + \@for\@J:=\@wgs\do{%iterate over the work groups + \edef\@wps{\euref@aux{wg}{\@J}{wps}}\message{wps of \@J: \@wps}% define the list of work packages + \edef\@wgeffort{\euref@aux{\@J}{\@I}{effort}}\message{wgeffort: \@wgeffort}% + \@for\@K:=\@wps\do{% iterate over wps + \edef\@wpeffort{\euref@aux\@K\@I{effort}} + \xdef\@line{\@line&\ifx\@wpeffort\@zero\else\@wpeffort\fi}} + \xdef\@line{\@line&\ifx\@wgeffort\@zero\else\@wgeffort\fi}} + \message{line: \@line} + \xdef\staff@efforts{\staff@efforts\@line& + \euref@aux{eu}{\@I}{totaleffort}\tabularnewline\hline}} + \gdef\wpg@nums{} %initialize + \@for\@I:=\@wgs\do{%iterate over the work groups + \xdef\wpg@nums{\wpg@nums\euref@aux{wg}{\@I}{wpnums}&T\euref@aux{wg}{\@I}{num}}}} +\message{wpgnums: \wpg@nums} +\begin{tabular}{|l|l|*{\thewpgno}{c|}l|}\hline +\# & Short \wpg@nums & Total \\\hline +\staff@efforts +\end{tabular}} +% \end{macrocode} +% \end{macro} +% +% \begin{environment}{partnerdesc} +% +% \begin{macrocode} +\newenvironment{partnerdesc}[1]{%number, short, long, +\eu@target{partner}{#1}{} +\section*{\euref{partner}{#1}{number}. #1: {\sc \euref{partner}{#1}{long}} (\euref{partner}{#1}{nationality})}} +{} +% \end{macrocode} +% \end{environment} +% +% \begin{macro}{\act} +% for the activity table +% \begin{macrocode} +\def\act#1#2{\multicolumn{#1}{l|}{\cellcolor{lightgray}{#2}}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pause} +% for the activity table +% \begin{macrocode} +\def\pause#1{\multicolumn{#1}{l|}{}} +% \end{macrocode} +% \end{macro} +%</cls> +% \Finale +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: + diff --git a/Master/texmf-dist/source/latex/euproposal/euproposal.ins b/Master/texmf-dist/source/latex/euproposal/euproposal.ins new file mode 100644 index 00000000000..97906dfb262 --- /dev/null +++ b/Master/texmf-dist/source/latex/euproposal/euproposal.ins @@ -0,0 +1,35 @@ +%% +%% This file generates files required to use the euproposal package. +%% At your command prompt write +%% +%% latex euproposal.ins +%% +%% Copyright(c) 2007 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 13984 2007-11-04 14:50:45Z kohlhase $ +%% $HeadURL: https://svn.kwarc.info/repos/kwarc/doc/macros/euproposal/euproposal.ins $ + +\input docstrip +\preamble +\endpreamble + +%\usedir{tex/latex/listings} +\keepsilent +\askforoverwritefalse + +% generate base package +\generate{\file{euproposal.cls}{\from{euproposal.dtx}{cls}}} + +\Msg{*} +\Msg{* You probably need to move the file euproposal.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 diff --git a/Master/texmf-dist/tex/latex/euproposal/euproposal.cls b/Master/texmf-dist/tex/latex/euproposal/euproposal.cls new file mode 100644 index 00000000000..c2719c07df9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/euproposal/euproposal.cls @@ -0,0 +1,317 @@ +%% +%% 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}[2007/06/04 v0.3 EU Proposal] + +\newif\ifsubmit\submittrue +\newif\ifpublic\publicfalse +\DeclareOption{eudraft}{\submitfalse\PassOptionsToPackage{draft}{svninfo}} +\DeclareOption{submit}{\submittrue\PassOptionsToPackage{hide}{ed}} +\DeclareOption{public}{\publictrue} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} +\ProcessOptions +\LoadClass[a4paper]{report} +\RequirePackage{textcomp} +\RequirePackage{amssymb} +\RequirePackage{url} +\RequirePackage{lscape} +\RequirePackage{longtable} +\RequirePackage{graphicx} +\RequirePackage{calc} +\RequirePackage{colortbl} +\RequirePackage{xcolor} +\RequirePackage[show]{ed} +\RequirePackage[today,fancyhdr]{svninfo} +\RequirePackage{keyval} +\RequirePackage{array} +\RequirePackage{eurosym} +\RequirePackage{hyperref} +\def\thepart{\Alph{part}} +\setcounter{part}{2} +\def\thechapter{\thepart.\arabic{chapter}} +\def\tableofcontents{% + \chapter*{\contentsname + \@mkboth{\MakeUppercase{\contentsname}}% + {\MakeUppercase{\contentsname}}}% + \@starttoc{toc}} +\newenvironment{titlepageabstract} +{\begin{center} + {\LARGE \eu@instrument}\\[.2cm] + {\large \eu@call}\\[.4cm] + {\LARGE\bf\eu@title}\\[.3cm] + {\LARGE Acronym: {\eu@acro}}\\[.2cm] +\end{center} +{\large\bf{Date of Preparation: \today}}\\[1em] +\PartnerTable\\[.5cm] +\begin{large} + \begin{description} + \item[Work program topics addressed:] \eu@topics + \item[Coordinator:] \euc@name + \item[e-mail:] {\url{\euc@email}} + \item[tel/fax:] \euc@telfax + \item [Proposal Abstract:]\small\sf} +{\end{description}\end{large}\newpage} +\def\ProposalAcronym#1{\def\eu@acro{#1}} +\def\ProposalTitle#1{\def\eu@title{#1}} +\def\ProposalCall#1{\def\eu@call{#1}} +\def\ProposalTopics#1{\def\eu@topics{#1}} +\def\ProposalInstrument#1{\def\eu@instrument{#1}} +\def\ProposalCoordinatorName#1{\def\euc@name{#1}} +\def\ProposalCoordinatorEmail#1{\def\euc@email{#1}} +\def\ProposalCoordinatorTelFax#1{\def\euc@telfax{#1}} +\def\eu@acro{ACRONYM} +\def\eu@title{Proposal Title} +\def\eu@call{ICT Call ?: FP7-???-200?-?} +\def\eu@instrument{Proposal Instrument (e.g. IP)} +\def\eu@topics{???-200?.?.? Topic1, ???-200?.?.? Topic2} +\def\euc@name{Dr. Great Coordinatorn} +\def\euc@email{g.coordinator@jacobs-university.de} +\def\euc@telfax{(+??) ??? ???? ???/-???} +\fancyhead[RE,LO]{\eu@acro}\fancyhead[LE,RO]{page~\thepage~of~\thelastpage} +\pagestyle{fancyplain} +\setcounter{secnumdepth}{3} +\AtEndDocument{% + \clearpage + \count@\c@page + \advance\count@\m@ne + \edef\@tempa{\the\count@}% + \ifx\@tempa\thelastpage + \else + \ClassWarningNoLine{euproposal}{Last page changed: Rerun LaTeX}% + \fi + \immediate\write\@auxout{% + \gdef\string\thelastpage{\the\count@}}} +\def\thelastpage{??} +\def\eu@write@aux#1#2#3#4{\protected@write\@auxout{}{\string\eu@def{#1}{#2}{#3}{#4}}} +\def\eu@write@delivs#1#2#3#4{\protected@write\@auxout{}{\string\eu@def{#1}{#2}{#3}{#4}}} +\define@key{wg}{id}{\def\wg@id{#1}} +\define@key{wg}{title}{\def\wg@title{#1}} +\define@key{wg}{lead}{\def\wg@lead{#1}} +\define@key{wg}{short}{\def\wg@short{#1}} +\define@key{wp}{id}{\def\wp@id{#1}} +\define@key{wp}{duration}{\def\wp@duration{#1}} +\define@key{wp}{start}{\def\wp@start{#1}} +\define@key{wp}{title}{\def\wp@title{#1}} +\define@key{wp}{type}{\def\wp@type{#1}} +\define@key{wp}{lead}{\def\wp@lead{#1}} +\define@key{wp}{short}{\def\wp@short{#1}} +\newcounter{partner} +\def\wpg@partners{}\def\wp@pms{}\def\wg@pms{}\def\eu@partner@table{} +\def\proposal@partner#1#2#3{% short, long, nationality +\stepcounter{partner} +\newcounter{wg@#1@effort}[wg] +\newcounter{total@#1@effort} +\eu@write@aux{partner}{#1}{number}{\thepartner} +\eu@write@aux{partner}{#1}{short}{#1} +\eu@write@aux{partner}{#1}{long}{#2} +\eu@write@aux{partner}{#1}{nationality}{#3} +\define@key{wp}{#1}{\expandafter\def\csname wp@#1\endcsname{##1}} +\g@addto@macro\eu@partner@table{\euref{partner}{#1}{number} & {\euref{partner}{#1}{short}} & #2 & #3\\\hline}} +\def\ProposalCoordinator#1#2#3{\proposal@partner{#1}{#2 (coordinator)}{#3} +\gdef\eu@partners{#1} +\g@addto@macro\wpg@partners{\euref{partner}{#1}{number}: \euRef{partner}{#1}{short}} +\g@addto@macro\wp@pms{\wp@pm{#1}}\g@addto@macro\wg@pms{\wg@pm{#1}}} +\def\ProposalPartner#1#2#3{\proposal@partner{#1}{#2}{#3} +\g@addto@macro\eu@partners{,#1} +\g@addto@macro\wpg@partners{&\euref{partner}{#1}{number}: \euRef{partner}{#1}{short}} +\g@addto@macro\wp@pms{&\wp@pm{#1}}\g@addto@macro\wg@pms{&\wg@pm{#1}}} +\def\PartnerTable{\begin{tabular}{|l|l|p{11cm}|l|}\hline +\# & Abbr. & Name & Country\\\hline\hline +\eu@partner@table +\end{tabular}} +\def\wg@label#1{WG {#1}} +\def\wp@label#1{WP {#1}} +\def\wg@mk@title#1{Work Group {#1}} +\def\wp@mk@title#1{Work Package {#1}} +\newcounter{wg} +\newcounter{wp}[wg] +\newcounter{deliv}[wp] +\newcounter{wpgno} +\def\wp@efforts{\@for\@I:=\eu@partners\do{ + \def\@effort{\@ifundefined{wp@\@I}{0}{\csname wp@\@I\endcsname}} + \addtocounter{wg@\@I @effort}{\@effort} + \addtocounter{total@\@I @effort}{\@effort} + \eu@write@aux{\wp@id}{\@I}{effort}{\@effort}}} +\def\wpg@write@md#1{% +\eu@write@aux{#1}{\csname #1@id\endcsname}{label}{\csname #1@label\endcsname\thewg} +\eu@write@aux{#1}{\csname #1@id\endcsname}{number}{\csname the#1\endcsname} +\eu@write@aux{#1}{\csname #1@id\endcsname}{title}{\csname #1@title\endcsname} +\eu@write@aux{#1}{\csname #1@id\endcsname}{lead}{\csname #1@lead\endcsname} +\eu@write@aux{#1}{\csname #1@id\endcsname}{short}{\csname #1@short\endcsname}} +\def\wp@write@md{% +\eu@write@aux{wp}{\wp@id}{duration}{\wp@duration} +\eu@write@aux{wp}{\wp@id}{start}{\wp@start} +\eu@write@aux{wp}{\wp@id}{type}{\wp@type}} +\def\wpg@efforts@line#1{\renewcommand{\tabcolsep}{.2em} + \begin{tabular}{|*{\thepartner}{c|}} + \wpg@partners\\\hline + \csname #1@pms\endcsname\end{tabular}} +\def\update@wps#1{\@ifundefined{wg@wps}{\xdef\wg@wps{#1}}{\xdef\wg@wps{\wg@wps,#1}}} +\def\update@wgs#1{\@ifundefined{eu@wgs}{\xdef\eu@wgs{#1}}{\xdef\eu@wgs{\eu@wgs,#1}}} +\newenvironment{wpd}[1][] +{\setkeys{wp}{#1}\stepcounter{wp}\stepcounter{wpgno} +\wpg@write@md{wp}\wp@write@md\wp@efforts\update@wps{\wp@id} +\xdef\wp@nums{\wp@nums &\thewg.\thewp} +\begin{center} +\begin{tabular}{||p{\textwidth-15pt}||}\hline\hline + {\large\textbf\wp@mk@title{\thewg.\thewp}}: {\eu@target{wp}{\wp@id}{\wp@title}}\\\hline + \wpg@efforts@line{wp}\\\hline} +{\end{tabular}\end{center}} +\newenvironment{wgd}[1][] +{\begin{center} +\begin{tabular}{||p{\textwidth-15pt}||}\hline\hline + {\large\textbf\wg@mk@title\thewg}: {\eu@target{wg}{\wg@id}{\wg@title}}\\\hline + \wpg@efforts@line{wg}\\\hline} +{\end{tabular}\end{center}} +\newenvironment{workgroup}[1][] +{\setkeys{wg}{#1}\stepcounter{wg}\stepcounter{wpgno}\wpg@write@md{wg}\def\wp@nums{} +\let\wg@wps=\relax\update@wgs{\wg@id}\def\wp@nums{} +\eu@write@aux{wg}{\wg@id}{num}{\thewg}} +{\eu@write@aux{wg}{\wg@id}{wps}{\wg@wps} + \eu@write@aux{wg}{\wg@id}{wpnums}{\wp@nums} + \@for\@I:=\eu@partners\do{ + \eu@write@aux{\wg@id}{\@I}{effort}{\csname thewg@\@I @effort\endcsname}}} +\def\p@pm#1{\@ifundefined{wp@#1}{}{\csname wp@#1\endcsname}} +\def\wpg@gray#1{\def\@test{#1}\ifx\@test\wpg@lead\cellcolor{lightgray}{#1}\else{#1}\fi} +\def\wp@pm#1{\wpg@gray{\p@pm{#1}}} +\def\wg@pm#1{\wpg@gray{\euref{\wg@id}{#1}{effort}}} +\def\wpg@pa#1{\wpg@gray{\euRef{partner}{#1}{short}}} +\def\eu@target#1#2#3{\hypertarget{#1@#2@target}{#3}} +\def\eu@def#1#2#3#4{\expandafter\gdef\csname #1@#2@#3\endcsname{#4}} +\def\euref#1#2#3{\@ifundefined{#1@#2@#3}% +{\protect\G@refundefinedtrue\@latex@warning{#3 for #1 #2 undefined}??}% +{\csname #1@#2@#3\endcsname}}% +\def\euref@aux#1#2#3{\@ifundefined{#1@#2@#3}{??}{\csname #1@#2@#3\endcsname}}% +\def\euRef#1#2#3{\@ifundefined{#1@#2@#3}% +{\protect\G@refundefinedtrue\@latex@warning{#3 for #1 #2 undefined}??}% +{\hyperlink{#1@#2@target}{\csname #1@#2@#3\endcsname}}} +\def\eu@lead#1{\@ifundefined{wp@#1@lead}% +{\protect\G@refundefinedtrue\@latex@warning{lead for WP #1 undefined}??}% +{\edef\@partner{\csname wp@#1@lead\endcsname}\euRef{partner}{\@partner}{short}}} +\def\wpline#1{\euRef{wp}{#1}{label} & + \euref{wp}{#1}{title} & + \eu@lead{#1} & + \euref{wp}{#1}{start} & + \euref{wp}{#1}{duration} & + \euref{wp}{#1}{type} \\\hline} +\def\wgline#1{\cellcolor{lightgray}{\euRef{wg}{#1}{label}} & + \multicolumn{5}{c|}{\cellcolor{lightgray}{\euref{wg}{#1}{title}}} \\\hline} +\newenvironment{wptable}{\begin{footnotesize}\begin{tabular}{|c|l|l|l|l|l|}\hline + \textbf{WG/WP}& + \textbf{Title}& + \textbf{Lead}& + \textbf{Start}& + \textbf{Dur.}& + \textbf{Type}\\\hline\hline} +{\end{tabular}\end{footnotesize}} +\def\wpobjectives{\textbf{Objectives:} } +\def\wpdescription{\textbf{Description of Work:} } +\newenvironment{wpdelivs}{\vspace*{-1em}\begin{description}} +{\end{description}} +\newenvironment{wgdelivs}{\setcounter{deliv}{0}\vspace*{-1em}\begin{description}} +{\end{description}} +\def\lec#1{\strut\hfil\strut\null\nobreak\hfill\hbox{$\leadsto$#1}\par} +\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}{type}{\def\deliv@type{#1}} +\define@key{deliv}{miles}{\def\deliv@miles{#1}} +\newcommand{\wpg@deliv}[3]{% keys, title, type +\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{D\thewg.\thewp.\thedeliv} +\else\def\current@label{D\thewg.\thedeliv}\fi +\eu@write@aux{deliv}{\wpg@id\deliv@id}{label}{\current@label} +\eu@write@aux{deliv}{\wpg@id\deliv@id}{title}{#2} +\@ifundefined{deliv@due}{}{% +\@for\@I:=\deliv@due\do{\protected@write\wpg@delivs{}{\string\delivrable% +{\@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@type}{\protect\G@refundefinedtrue\@latex@warning{key 'type' for Deliv + #1 undefined}??}{\deliv@type}}% type +{#2}}}}% +\item[\current@label: (Month \deliv@due)]\eu@target{deliv}{\wpg@id\deliv@id}{#2} +\@ifundefined{deliv@miles}{}{% print the milestones and update their delivrables +\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\euRef{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{\csname\@I delivs\endcsname\d@sep\wpg@id\deliv@id}\fi%if not add it +} +}} +\newcommand{\wgdeliv}[2][]{\wpg@deliv{#1}{#2}{wg}} +\newcommand{\wpdeliv}[2][]{\wpg@deliv{#1}{#2}{wp}} +\newwrite\wpg@delivs +\newenvironment{workplan}% +{\immediate\openout\wpg@delivs=\jobname.delivs\setcounter{wg}{-1}}% +{\closeout\wpg@delivs% +\@for\@I:=\mile@stones\do{\eu@write@aux{mile}{\@I}{delivs}{\csname\@I delivs\endcsname}} +\@for\@I:=\eu@partners\do{ + \eu@write@aux{eu}{\@I}{totaleffort}{\csname thetotal@\@I @effort\endcsname}} +\eu@write@aux{eu}{workplan}{wgs}{\eu@wgs}} +\newcounter{milestone} +\def\milestone#1{\stepcounter{milestone} +\eu@write@aux{mile}{#1}{label}{M\themilestone} +\eu@target{mile}{#1}{M\themilestone} +\@ifundefined{mile@stones}{\gdef\mile@stones{#1}}{\g@addto@macro\mile@stones{,#1}}} +\def\milesfor#1{\edef\@delivs{\euref{mile}{#1}{delivs}} +\let\m@sep=\relax +\@for\@I:=\@delivs\do{\m@sep\ \euRef{deliv}{\@I}{label}\let\m@sep=,}} +\newcommand{\delivrable}[6]{#2\\\hline}%due,label,id,title,type,level +\newenvironment{delivrables}[1]{\begin{longtable}{|l|l|p{#1}|l|l|}\hline +\#&due&title&dissem& type\\\hline\hline}{\\\hline\end{longtable}} +\newcommand{\inputdelivs}[1]{\begin{delivrables}{#1} +\IfFileExists{\jobname.delivrables}% +{\input{\jobname.delivrables}}% +{\input{\jobname.delivs}} +\end{delivrables}} +\def\zero@blank#1{\edef\@test{#1}\def\@zero{0}\ifx\@test\@zero\else#1\fi} +\def\staffefforttable{% +\edef\@wgs{\euref@aux{eu}{workplan}{wgs}}\message{wgs: \@wgs} +{\gdef\staff@efforts{}\def\@zero{0}% initialize + \let\tabularnewline\relax\let\hline\relax% so they do not bother us + \@for\@I:=\eu@partners\do{%iterate over partners for the lines + \xdef\@line{\euref@aux{partner}{\@I}{number}& \euref@aux{partner}{\@I}{short}}% first two columns + \@for\@J:=\@wgs\do{%iterate over the work groups + \edef\@wps{\euref@aux{wg}{\@J}{wps}}\message{wps of \@J: \@wps}% define the list of work packages + \edef\@wgeffort{\euref@aux{\@J}{\@I}{effort}}\message{wgeffort: \@wgeffort}% + \@for\@K:=\@wps\do{% iterate over wps + \edef\@wpeffort{\euref@aux\@K\@I{effort}} + \xdef\@line{\@line&\ifx\@wpeffort\@zero\else\@wpeffort\fi}} + \xdef\@line{\@line&\ifx\@wgeffort\@zero\else\@wgeffort\fi}} + \message{line: \@line} + \xdef\staff@efforts{\staff@efforts\@line& + \euref@aux{eu}{\@I}{totaleffort}\tabularnewline\hline}} + \gdef\wpg@nums{} %initialize + \@for\@I:=\@wgs\do{%iterate over the work groups + \xdef\wpg@nums{\wpg@nums\euref@aux{wg}{\@I}{wpnums}&T\euref@aux{wg}{\@I}{num}}}} +\message{wpgnums: \wpg@nums} +\begin{tabular}{|l|l|*{\thewpgno}{c|}l|}\hline +\# & Short \wpg@nums & Total \\\hline +\staff@efforts +\end{tabular}} +\newenvironment{partnerdesc}[1]{%number, short, long, +\eu@target{partner}{#1}{} +\section*{\euref{partner}{#1}{number}. #1: {\sc \euref{partner}{#1}{long}} (\euref{partner}{#1}{nationality})}} +{} +\def\act#1#2{\multicolumn{#1}{l|}{\cellcolor{lightgray}{#2}}} +\def\pause#1{\multicolumn{#1}{l|}{}} +\endinput +%% +%% End of file `euproposal.cls'. |