| 1 |
% \iffalse meta-comment |
| 2 |
% A class for preparing DFG proposals |
| 3 |
% |
| 4 |
% Copyright (c) 2011 Michael Kohlhase, all rights reserved |
| 5 |
% |
| 6 |
% This file is distributed under the terms of the LaTeX Project Public |
| 7 |
% License from CTAN archives in directory macros/latex/base/lppl.txt. |
| 8 |
% Either version 1.0 or, at your option, any later version. |
| 9 |
% |
| 10 |
% The development version of this file can be found at |
| 11 |
% https://github.com/KWARC/LaTeX-proposal |
| 12 |
% \fi |
| 13 |
% |
| 14 |
% \iffalse |
| 15 |
%<cls|pdata|reporting>\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
| 16 |
%<cls>\ProvidesClass{dfgproposal}[2016/04/15 v1.4 DFG Proposal] |
| 17 |
%<pdata>\ProvidesPackage{dfgpdata}[2016/04/15 v1.4 DFG Project Data] |
| 18 |
%<reporting>\ProvidesPackage{dfgreporting}[2016/04/15 v1.4 DFG Project Reporting] |
| 19 |
%<*driver> |
| 20 |
\documentclass[twoside]{ltxdoc} |
| 21 |
\DoNotIndex{\def,\long,\edef,\xdef,\gdef,\let,\global} |
| 22 |
\DoNotIndex{\begin,\AtEndDocument,\newcommand,\newcounter,\stepcounter} |
| 23 |
\DoNotIndex{\immediate,\openout,\closeout,\message,\typeout} |
| 24 |
\DoNotIndex{\section,\scshape,\arabic} |
| 25 |
\EnableCrossrefs |
| 26 |
%\CodelineIndex |
| 27 |
%\OnlyDescription |
| 28 |
\RecordChanges |
| 29 |
\usepackage{textcomp,url,paralist,a4wide,xspace} |
| 30 |
\usepackage[show]{ed} |
| 31 |
\usepackage[maxnames=6,hyperref=auto,style=alphabetic,backend=bibtex]{biblatex} |
| 32 |
\addbibresource{../lib/proposal.bib} |
| 33 |
\usepackage[bookmarks=true,linkcolor=blue, |
| 34 |
citecolor=blue,urlcolor=blue,colorlinks=true, |
| 35 |
breaklinks=true, bookmarksopen=true]{hyperref} |
| 36 |
\makeindex |
| 37 |
\newcommand\subversion{\textsc{Subversion}\xspace} |
| 38 |
\begin{document} |
| 39 |
\DocInput{dfgproposal.dtx} |
| 40 |
\end{document} |
| 41 |
%</driver> |
| 42 |
% \fi |
| 43 |
% |
| 44 |
%\CheckSum{629} |
| 45 |
% |
| 46 |
% \changes{v1.1}{2011/03/18}{separating out from new proposal class} |
| 47 |
% \changes{v1.1}{2011/12/09}{various tweaks and corrections} |
| 48 |
% |
| 49 |
% \GetFileInfo{dfgproposal.cls} |
| 50 |
% |
| 51 |
% \MakeShortVerb{\|} |
| 52 |
% |
| 53 |
% \title{Preparing DFG Proposals and Reports in {\LaTeX} with \texttt{dfgproposal.cls}} |
| 54 |
% \author{Michael Kohlhase\\ |
| 55 |
% Computer Science, Jacobs University Bremen\\ |
| 56 |
% \url{http://kwarc.info/kohlhase}} |
| 57 |
% \maketitle |
| 58 |
% |
| 59 |
% \begin{abstract} |
| 60 |
% The |dfgproposal| class supports many of the specific elements of a DFG Proposal. It |
| 61 |
% is optimized towards collaborative projects. The package comes with an extensive |
| 62 |
% example (a fake DFG proposal) that shows all elements in action. |
| 63 |
% \end{abstract} |
| 64 |
% |
| 65 |
% \tableofcontents\newpage |
| 66 |
% |
| 67 |
% \section{Introduction}\label{sec:intro} |
| 68 |
% |
| 69 |
% Writing grant proposals is a collaborative effort that requires the integration of |
| 70 |
% contributions from many individuals. The use of an ASCII-based format like {\LaTeX} |
| 71 |
% allows to coordinate the process via a source code control system like |
| 72 |
% \subversion, allowing the proposal writing team to concentrate on the contents |
| 73 |
% rather than the mechanics of wrangling with text fragments and revisions. |
| 74 |
% |
| 75 |
% The |dfgproposal| class extends the |proposal| class~\cite{Kohlhase:pplp:ctan} and |
| 76 |
% supports many of the specific elements of a DFG Proposal. The package documentation |
| 77 |
% is still preliminary, fragmented and incomplete and only dwells on the particulars of |
| 78 |
% DFG proposals, so we treat~\cite{Kohlhase:pplp:ctan} as a prerequisite. Please consult |
| 79 |
% the example proposal |dfg/proposal.tex|, which comes with the package and shows the usage of |
| 80 |
% the class in action. It is intended as a template for your proposal, but please bear in |
| 81 |
% mind that the DFG guidelines may change, if in doubt, please consult the DFG guide for |
| 82 |
% proposers~\cite{DFG:102e}. |
| 83 |
% |
| 84 |
% The |dfgreporting| class supports most of the specific elements of the final project |
| 85 |
% reports to the DFG. The example report |dfg/finalreport.tex| is intended as a template |
| 86 |
% for your final report, the DFG guide~\cite[pp. 9f]{DFG:2012e} gives details (the German |
| 87 |
% Version~\cite[pp. 23ff]{DFG:201} has more). |
| 88 |
% |
| 89 |
% The |dfgproposal| and |dfgreporting| classes and the |dfgpdata| package are distributed |
| 90 |
% under the terms of the LaTeX Project Public License from CTAN archives in directory |
| 91 |
% |macros/latex/base/lppl.txt|. Either version 1.0 or, at your option, any later |
| 92 |
% version. The CTAN archive always contains the latest stable version, the development |
| 93 |
% version can be found at \url{https://github.com/KWARC/LaTeX-proposal}. For bug reports |
| 94 |
% please use the sTeX TRAC at \url{https://github.com/KWARC/LaTeX-proposal/issues}. |
| 95 |
% |
| 96 |
% \section{The User Interface}\label{sec:user-interface} |
| 97 |
% |
| 98 |
% In this section we will describe the functionality offered by the |dfgproposal| class |
| 99 |
% along the lines of the macros and environments the class provides. Much of the |
| 100 |
% functionality can better be understood by studying the functional example |proposal.tex| |
| 101 |
% (and its dependents) that comes with the |dfgproposal| package in conjunction with the |
| 102 |
% proposer's leaflet of the DFG~\cite{DFG:102e} (we have included it as |1_02e.pdf| for |
| 103 |
% convenience into the package distribution).\ednote{talk about reporting as well.} |
| 104 |
% |
| 105 |
% \subsection{Package Options}\label{sec:user:options} |
| 106 |
% |
| 107 |
% As usual in {\LaTeX}, the package is loaded by |
| 108 |
% |\documentclass[|\meta{options}|]{dfgproposal}|, where |[|\meta{options}|]| is optional |
| 109 |
% and gives a comma separated list of options specified in~\cite{Kohlhase:pplp:ctan}. The |
| 110 |
% |dfgproposal| class adds the two options |
| 111 |
% \begin{compactenum} |
| 112 |
% \item \DescribeMacro{general}|general|, which allows generates a first section with |
| 113 |
% general proposal metadata (as the old form proposals required). This is useful to |
| 114 |
% check all the data (and have a place to copy/paste from). |
| 115 |
% \item \DescribeMacro{german}|german|, which makes all the generated parts in German. |
| 116 |
% \end{compactenum} |
| 117 |
% |
| 118 |
% \subsection{Proposal Metadata and Title page}\label{sec:user:metadata} |
| 119 |
% |
| 120 |
% The metadata of the proposal is specified in the \DescribeEnv{proposal}|proposal| |
| 121 |
% environment, which also generates the title page and the first section of the proposal |
| 122 |
% as well as the last pages of the proposal with the signatures, enclosures, and |
| 123 |
% references. The |proposal| environment should contain all the mandatory parts of the |
| 124 |
% proposal text. The |proposal| environment uses the following DFG-specific keys to |
| 125 |
% specify metadata. |
| 126 |
% \begin{compactitem} |
| 127 |
% \item \DescribeMacro{thema}|thema| for a concise (up to 140 characters) description of |
| 128 |
% the topic of the proposal. This has to be in German and will be used by the DFG in |
| 129 |
% internal communications and publications. |
| 130 |
% \end{compactitem} |
| 131 |
% |
| 132 |
% \subsection{Project-Related Papers}\label{sec:user:papers} |
| 133 |
% |
| 134 |
% Since August 2010, DFG requests list of ``project-related papers'' as section 2.2. We |
| 135 |
% use the |biblatex| package to automate this. We only need to use |
| 136 |
% \DescribeMacro{\dfgprojpapers}|\dfgprojpapers{|\meta{keys}|}|, where \meta{keys} is a |
| 137 |
% comma-separated list of keys from the bibTeX database used in the proposal. Note that |
| 138 |
% you will have to run |bibtex -min-crossrefs=999 proposal1-blx.aux| to generate file |
| 139 |
% |proposal1.bbl| that generates the bibliography list. To automate this (at least on Unix |
| 140 |
% systems), we have added the field |Makefile.template|, which allows you do do any |
| 141 |
% necessary steps by just typing |make|. |
| 142 |
% |
| 143 |
% The papers listed in |\dfgprojpapers| are put into a special bib\LaTeX category |
| 144 |
% \DescribeMacro{featured}|featured|, and can thus be excluded from the general |
| 145 |
% bibliography by adding |notcategory=featured| to the final |\printbibliography|. |
| 146 |
% |
| 147 |
% \subsection{Final Report Infrastructure}\label{sec:user:report} |
| 148 |
% |
| 149 |
% The |dfgreporting| class gives an infrastructure for writing final reports of completed |
| 150 |
% projects (see the file |finalreport.tex| in the package distribution). The |
| 151 |
% \DescribeEnv{finalreport}|finalreport| environment has functionality analogous to the |
| 152 |
% |proposal| environment. It takes the same metadata keys --- making it easy to generate |
| 153 |
% by copy/paste from the proposal --- but adds the keys |
| 154 |
% \DescribeMacro{reportperiod}|reportperiod| for specifying the funded period, |
| 155 |
% \DescribeMacro{applareas}|applareas| for the application areas, and |
| 156 |
% \DescribeMacro{*employed}\meta{site}|employed| for all sites \meta{site}. The latter |
| 157 |
% allow to specify the employee and their employment times. Furthermore, the key |
| 158 |
% \DescribeMacro{key}|key| can be used to specify the reference key (something like |
| 159 |
% \texttt{KO 2428 47-11}) given to the project by DFG. Note that in the case of multiple |
| 160 |
% proposers, you can use multiple instances of |key| to specify more than one reference |
| 161 |
% key. |
| 162 |
% |
| 163 |
% \section{Limitations and Enhancements}\label{sec:limitations} |
| 164 |
% |
| 165 |
% The |dfgproposal| is relatively early in its development, and many enhancements are |
| 166 |
% conceivable. We will list them here. |
| 167 |
% \begin{enumerate} |
| 168 |
% \item Some people still want to write their proposal and reports in German, for that it |
| 169 |
% would be nice to have a localized version. |
| 170 |
% \item it would be nice if we could count the characters in the places where lengths are |
| 171 |
% restricted (|Abriss|, and |thema|). Then we could warn the authors. |
| 172 |
% \end{enumerate} |
| 173 |
% If you have other enhancements to propose or feel you can alleviate some limitation, |
| 174 |
% please feel free to contact the author. |
| 175 |
% |
| 176 |
%\section*{Acknowledgements} |
| 177 |
% |
| 178 |
% The following persons have contributed suggestions and fixes to the |dfgproposal| class: |
| 179 |
% Florian Rabe, Christoph Lange, Andrea Kohlhase, Jens Lehmann. |
| 180 |
% |
| 181 |
% \StopEventually{\newpage\PrintIndex\newpage\PrintChanges\newpage\printbibliography}\newpage |
| 182 |
% |
| 183 |
% \section{The Implementation}\label{sec:implementation} |
| 184 |
% |
| 185 |
% In this section we describe the implementation of the functionality of the |dfgproposal| |
| 186 |
% and |dfgreporting| classes and the |dfgpdata| package. |
| 187 |
% |
| 188 |
% \subsection{Package Options and Format Initialization}\label{sec:impl:options} |
| 189 |
% |
| 190 |
% We first set up the options for the package. |
| 191 |
% |
| 192 |
% \begin{macrocode} |
| 193 |
%<cls>\newif\ifgeneral\generalfalse |
| 194 |
%<cls>\DeclareOption{general}{\generaltrue} |
| 195 |
%<cls|reporting>\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{dfgpdata}} |
| 196 |
%<cls>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{proposal}} |
| 197 |
%<reporting>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{reporting}} |
| 198 |
%<pdata>\newif\ifdeutsch\deutschfalse |
| 199 |
%<pdata>\DeclareOption{german}{\deutschtrue\message{Deutscher Antrag}} |
| 200 |
%<cls|reporting|pdata>\ProcessOptions |
| 201 |
% \end{macrocode} |
| 202 |
% |
| 203 |
% Then we load the packages we make use of |
| 204 |
% |
| 205 |
% \begin{macrocode} |
| 206 |
%<cls>\LoadClass{proposal} |
| 207 |
%<reporting>\LoadClass{reporting} |
| 208 |
%<*cls|reporting> |
| 209 |
\RequirePackage{eurosym} |
| 210 |
\RequirePackage{dfgpdata} |
| 211 |
\ifdeutsch\RequirePackage[ngerman]{babel} |
| 212 |
\else\RequirePackage[ngerman,USenglish]{babel}\fi |
| 213 |
%</cls|reporting> |
| 214 |
% \end{macrocode} |
| 215 |
% |
| 216 |
% \subsection{Proposal Metadata}\label{sec:impl:metadata} |
| 217 |
% |
| 218 |
% We extend the metadata keys from the |proposal| class. |
| 219 |
% \begin{macrocode} |
| 220 |
%<*pdata> |
| 221 |
\define@key{prop@gen}{thema}{\def\prop@gen@thema{#1}\pdata@def{prop}{gen}{thema}{#1}} |
| 222 |
%</pdata> |
| 223 |
% \end{macrocode} |
| 224 |
% and now the ones for the final report |
| 225 |
% \begin{macrocode} |
| 226 |
%<*reporting> |
| 227 |
\define@key{prop@gen}{reportperiod}{\def\prop@gen@reportperiod{#1}} |
| 228 |
\define@key{prop@gen}{applareas}{\def\prop@gen@applareas{#1}} |
| 229 |
\define@key{prop@gen}{key}{\@dmp{key=#1}% |
| 230 |
\@ifundefined{prop@gen@keys}{\xdef\prop@gen@keys{#1}}{\xdef\prop@gen@keys{\prop@gen@keys,#1}}} |
| 231 |
\define@key{prop@gen}{coop}{\@dmp{coop=#1}% |
| 232 |
\@ifundefined{prop@gen@coops}{\xdef\prop@gen@coops{{#1}}}{\xdef\prop@gen@coops{\prop@gen@coops,{#1}}}} |
| 233 |
\define@key{prop@gen}{projpapers}{\def\prop@gen@projpapers{#1}} |
| 234 |
%</reporting> |
| 235 |
% \end{macrocode} |
| 236 |
% |
| 237 |
% and the default values, these will be used, if the author does not specify something |
| 238 |
% better. |
| 239 |
% |
| 240 |
% \begin{macrocode} |
| 241 |
%<*pdata> |
| 242 |
\renewcommand\prop@gen@instrument{Neuantrag auf Sachbeihilfe} |
| 243 |
\newcommand\prop@gen@thema{??? Thema ???} |
| 244 |
\newcommand\deu[1]{#1} |
| 245 |
% \end{macrocode} |
| 246 |
% |
| 247 |
% Now, we can build the title page and general information, we first start with the |
| 248 |
% applicants table. The following macros build up the lines to be used in the table |
| 249 |
% eventually. |
| 250 |
% \begin{macro}{\dfg@applicants@*} |
| 251 |
% the macros use the |\prop@tl| macro from the base |proposal| package which iterates |
| 252 |
% over the first argument (the PIs here) building up lines with the material from the |
| 253 |
% second argument (where |\tl@ext| is the current PI). |
| 254 |
% \begin{macrocode} |
| 255 |
\newcommand\dfg@applicants@lines{% |
| 256 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{personaltitle} \wa@ref{person}\tl@ext{name}}\\ |
| 257 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{academictitle}}\\ |
| 258 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{birthdate}}\\} |
| 259 |
\newcommand\dfg@applicants@institute@lines{% |
| 260 |
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{shortname}}\\ |
| 261 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{workaddress}}\\ |
| 262 |
\prop@tl\prop@gen@PIs{Tel: \wa@ref{person}\tl@ext{worktel}}\\ |
| 263 |
\prop@tl\prop@gen@PIs{Fax: \wa@ref{person}\tl@ext{workfax}}\\ |
| 264 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{email}}\\} |
| 265 |
\newcommand\dfg@applicants@private@lines{% |
| 266 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{privaddress}}\\ |
| 267 |
\prop@tl\prop@gen@PIs{Tel: \wa@ref{person}\tl@ext{privtel}}\\} |
| 268 |
% \end{macrocode} |
| 269 |
% \end{macro} |
| 270 |
% |
| 271 |
% \begin{macro}{\dfg@applicants} |
| 272 |
% We automatically make it plurals if there is more than one PI and we indicate a joint |
| 273 |
% proposal if there is more than one site. |
| 274 |
% \begin{macrocode} |
| 275 |
\newcommand\dfg@applicants{% |
| 276 |
\subsection{\if@sites\ifnum\the@sites>1 Joint Proposal; \fi\fi% |
| 277 |
Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}% |
| 278 |
\dfg@applicants@table} |
| 279 |
% \end{macrocode} |
| 280 |
% \end{macro} |
| 281 |
% |
| 282 |
% \begin{macrocode} |
| 283 |
\newcommand\dfg@topic{\subsection{\ifdeutsch Thema\else Topic \deu{(Thema)}\fi}\prop@gen@thema} |
| 284 |
% \end{macrocode} |
| 285 |
% |
| 286 |
% \begin{macrocode} |
| 287 |
\newcommand\dfg@area@field{% |
| 288 |
\ifdeutsch\subsection{Fachgebiet und Arbeitsrichtung}\else |
| 289 |
\subsection{Research area and field of work \deu{(Fachgebiet und Arbeitsrichtung)}}\fi |
| 290 |
\ifdeutsch Disziplin\else Scientific discipline\fi: \prop@gen@discipline\\ |
| 291 |
\ifdeutsch Arbeitsgebiet\else Fields of work\fi: \prop@gen@areas} |
| 292 |
%</pdata> |
| 293 |
% \end{macrocode} |
| 294 |
% |
| 295 |
% \begin{environment}{sitedescription} |
| 296 |
% \ednote{this code should probably be refactored into proposal.dtx} |
| 297 |
% \begin{macrocode} |
| 298 |
%<*cls> |
| 299 |
\newenvironment{sitedescription}[2][]% |
| 300 |
{\def\@test{#1}\def\@@title{\ifx\@test\@empty\wa@ref{institution}{#2}{acronym}\else #1\fi: |
| 301 |
\textsc{\wa@ref{institution}{#2}{name}}} |
| 302 |
\@for\@I:=#2\do{\pdata@target{site}\@I{}}\subsubsection\@@title} |
| 303 |
{} |
| 304 |
% \end{macrocode} |
| 305 |
% \end{environment} |
| 306 |
% |
| 307 |
% \subsection{Proposal Title Page}\label{sec:impl:proptitlepage} |
| 308 |
% |
| 309 |
% \begin{macro}{\dfg@applicants@table} |
| 310 |
% Now, we can build the title page and general information, we first start with the |
| 311 |
% applicants table: We first compute the width of the columns for the case where we have |
| 312 |
% more than two PIs. Then we add the lines we compute with the auxiliary macros |
| 313 |
% |\dfg@applicants@lines|, |\dfg@applicants@institute@lines| and |
| 314 |
% |\dfg@applicants@private@lines| |
| 315 |
% \begin{macrocode} |
| 316 |
\newlength\applicants@table@columnwidth |
| 317 |
\newcommand\dfg@applicants@table% |
| 318 |
{\setlength\applicants@table@columnwidth\textwidth |
| 319 |
\advance\applicants@table@columnwidth by -6em |
| 320 |
\divide\applicants@table@columnwidth by \the@PIs |
| 321 |
\ifnum\the@PIs>2\begin{tabular}{|l|*{\the@PIs}{p{\applicants@table@columnwidth}|}} |
| 322 |
\else\begin{tabular}{|l|*{\the@PIs}{l|}}\fi |
| 323 |
\hline |
| 324 |
\dfg@applicants@lines\hline |
| 325 |
&\multicolumn{\the@PIs}{|l|}{\textbf{Work Address\deu{ (Dienstanschrift)}:}}\\\hline |
| 326 |
\dfg@applicants@institute@lines\hline |
| 327 |
&\multicolumn{\the@PIs}{|l|}{\textbf{Private Address\deu{ (Privatanschrift)}:}}\\\hline |
| 328 |
\dfg@applicants@private@lines\hline |
| 329 |
\end{tabular}} |
| 330 |
% \end{macrocode} |
| 331 |
% \end{macro} |
| 332 |
% |
| 333 |
% \begin{environment}{prop@proposal} |
| 334 |
% This internal environment is called in the |proposal| environment from the |proposal| |
| 335 |
% class. |
| 336 |
% \begin{macrocode} |
| 337 |
\renewenvironment{prop@proposal} |
| 338 |
{\thispagestyle{empty}% |
| 339 |
\begin{center} |
| 340 |
{\LARGE \prop@gen@instrument}\\[.2cm] |
| 341 |
{\LARGE\textbf{\prop@gen@title}}\\[.3cm] |
| 342 |
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm] |
| 343 |
{\large\today}\\[1em] |
| 344 |
\WAauthorblock[aff]\prop@gen@PIs\\[2cm] |
| 345 |
\end{center} |
| 346 |
\edef\keep@tocdepth{\value{tocdepth}} |
| 347 |
\setcounter{tocdepth}{2}\tableofcontents |
| 348 |
\setcounter{tocdepth}{\keep@tocdepth} |
| 349 |
\ifgeneral\setcounter{section}{-1} |
| 350 |
\newpage\thispagestyle{empty} |
| 351 |
\ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else |
| 352 |
\section{General Information (for the ELAN system only)}\fi |
| 353 |
\dfg@applicants |
| 354 |
\dfg@topic |
| 355 |
\dfg@area@field |
| 356 |
\ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else |
| 357 |
\subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}} |
| 358 |
\fi |
| 359 |
\@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration}; |
| 360 |
\ifdeutsch |
| 361 |
\@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit |
| 362 |
\prop@gen@since.} |
| 363 |
\else |
| 364 |
\@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started |
| 365 |
\prop@gen@since.} |
| 366 |
\fi |
| 367 |
\ifdeutsch\subsection{Antragszeitraum}\else |
| 368 |
\subsection{Application period \deu{(Antragszeitraum)}}\fi |
| 369 |
\prop@gen@months\quad Months starting \prop@gen@start |
| 370 |
\@ifundefined{prop@gen@fundsuntil}{} |
| 371 |
{ (\ifdeutsch Mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)} |
| 372 |
\ifdeutsch\else\selectlanguage{USenglish}\fi |
| 373 |
\newpage\fi%ifgeneral |
| 374 |
\setcounter{page}{0}} |
| 375 |
{} |
| 376 |
% \end{macrocode} |
| 377 |
% \end{environment} |
| 378 |
% We also need to translate some of the generated parts |
| 379 |
% \begin{macrocode} |
| 380 |
\ifdeutsch |
| 381 |
\def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:} |
| 382 |
\def\prop@warnpubs@title{Literatur} |
| 383 |
\fi |
| 384 |
% \end{macrocode} |
| 385 |
% |
| 386 |
% \begin{macro}{\attachments} |
| 387 |
% \ednote{MK: this is deprecated (no longer useful with the ELAN system), delete at some time} |
| 388 |
% \begin{macrocode} |
| 389 |
\newcommand\attachments{\ifdeutsch\section{Verzeichnis der Anlagen}\else |
| 390 |
\section{List of Attachments \deu{(Verzeichnis der Anlagen)}}\fi |
| 391 |
\begin{itemize} |
| 392 |
\@for\@I:=\prop@gen@PIs\do{% |
| 393 |
\item\ifdeutsch Lebenslauf und Publikatinsverzeichnis\else |
| 394 |
Curriculum Vitae and list of publications for \fi |
| 395 |
\@nameuse{wa@person@\@I @personaltitle} |
| 396 |
\@nameuse{wa@person@\@I @name} |
| 397 |
(CD + \ifdeutsch Ausdruck\else printed version\fi)} |
| 398 |
\ifdeutsch |
| 399 |
\item Publications either cited in section~\ref{sec:ourpubs} or occurring in one of the |
| 400 |
curricula vitae (CD only)\else |
| 401 |
\item Zitierte Publikationen aus Abschnitt~\ref{sec:ourpubs} oder einem der Lebensl\"aufe |
| 402 |
(nur CD)\fi |
| 403 |
\end{itemize}} |
| 404 |
%</cls> |
| 405 |
% \end{macrocode} |
| 406 |
% \end{macro} |
| 407 |
% |
| 408 |
% \subsection{Reporting Title Page} |
| 409 |
% |
| 410 |
% The |prop@report| environment is similar, but somewhat simpler. |
| 411 |
% |
| 412 |
% \begin{macro}{\dfg@applicants@table} |
| 413 |
% Now, we can build the title page and general information, we first start with the |
| 414 |
% applicants table: |
| 415 |
% \begin{macrocode} |
| 416 |
%<*reporting> |
| 417 |
\newcommand\dfg@applicants@table% |
| 418 |
{\begin{tabular}{|l|*{\the@PIs}{l|}}\hline |
| 419 |
\dfg@applicants@lines\hline |
| 420 |
&\multicolumn{\the@PIs}{|l|}{\textbf{Private Address\deu{ (Privatanschrift)}:}}\\\hline |
| 421 |
\dfg@applicants@private@lines\hline |
| 422 |
\end{tabular}} |
| 423 |
% \end{macrocode} |
| 424 |
% \end{macro} |
| 425 |
% |
| 426 |
% \begin{macro}{\dfg@institute@table} |
| 427 |
% Now, we can build the title page and general information, we first start with the |
| 428 |
% applicants table: |
| 429 |
% \begin{macrocode} |
| 430 |
\newcommand\dfg@institute@table% |
| 431 |
{\begin{tabular}{|l|*{\the@PIs}{l|}}\hline |
| 432 |
\dfg@applicants@institute@lines\hline |
| 433 |
\end{tabular}} |
| 434 |
% \end{macrocode} |
| 435 |
% \end{macro} |
| 436 |
% |
| 437 |
% \begin{environment}{prop@report} |
| 438 |
% \begin{macrocode} |
| 439 |
\newcommand\prop@assoc[2]{\let\@tmpop=\relax\@for\@I:=#2\do{\@tmpop\@I\let\@tmpop=#1}} |
| 440 |
\newcommand\show@prop@gen@keys{\def\@cb{, }\@ifundefined{prop@gen@keys}{??:???? ?/?}{\prop@assoc\@cb\prop@gen@keys}} |
| 441 |
\renewenvironment{prop@report} |
| 442 |
{\selectlanguage{USenglish} |
| 443 |
\thispagestyle{empty}% |
| 444 |
\begin{center} |
| 445 |
{\LARGE Final Project Report}\\[.2cm] |
| 446 |
{\LARGE\textbf{\prop@gen@title}}\\[.3cm] |
| 447 |
{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm] |
| 448 |
{\large Reference number(s): \show@prop@gen@keys}\\[.2cm] |
| 449 |
{\large\today}\\[1em] |
| 450 |
\begin{tabular}{c*{\the@PIs}{c}} |
| 451 |
\prop@tl\prop@gen@PIs{\wa@ref{person}\tl@ext{name}}\\ |
| 452 |
\prop@tl\prop@gen@PIs{\wa@ref{institution}{\wa@ref{person}\tl@ext{affiliation}}{name}} |
| 453 |
\end{tabular}\\[2cm] |
| 454 |
\end{center} |
| 455 |
\setcounter{tocdepth}{1}\tableofcontents\newpage\setcounter{page}{1} |
| 456 |
\section{General Information \deu{(Allgemeine Angaben)}} |
| 457 |
\subsection{Reference Numbers \deu{(DFG Gesch\"aftszeichen)}} |
| 458 |
\show@prop@gen@keys |
| 459 |
\dfg@applicants |
| 460 |
\subsection{Institute/Chair \deu{(Institut/Lehrstuhl)}}\dfg@institute@table |
| 461 |
\dfg@topic |
| 462 |
% no longer necessary |
| 463 |
% \subsection{DFG-Funded Researchers \deu{(Aus DFG-Mitteln bezahlte Wissenschaftler)}} |
| 464 |
% \begin{tabular}{|l|l|}\hline |
| 465 |
% Partner & Employee/Period\\\hline\hline |
| 466 |
% \prop@gen@employed@lines |
| 467 |
% \end{tabular} |
| 468 |
\subsection{Report and Funding Period \deu{(Berichts- und F\"orderzeitraum)}} |
| 469 |
\prop@gen@reportperiod |
| 470 |
\dfg@area@field |
| 471 |
\subsection{Application Areas \deu{(Verwertungsfelder)}}\prop@gen@applareas |
| 472 |
% no longer necessary |
| 473 |
% \subsection{Cooperation Partners \deu{(Kooperationspartner)}} |
| 474 |
% \begin{compactitem} |
| 475 |
% \@for\@I:=\prop@gen@coops\do{\item \@I} |
| 476 |
% \end{compactitem} |
| 477 |
\dfgprojpapers\prop@gen@projpapers} |
| 478 |
{\signatures{Signatures \deu{(Unterschriften)}}} |
| 479 |
%</reporting> |
| 480 |
% \end{macrocode} |
| 481 |
% \end{environment} |
| 482 |
% |
| 483 |
% \begin{macrocode} |
| 484 |
%<*cls> |
| 485 |
\ifgeneral |
| 486 |
\newenvironment{Zusammenfassung}{\thispagestyle{empty}\subsection{Zusammenfassung}\begin{otherlanguage}{ngerman}} |
| 487 |
{\end{otherlanguage}\newpage\setcounter{page}1} |
| 488 |
\newenvironment{Summary}{\thispagestyle{empty}\subsection{Summary}} |
| 489 |
{\newpage\setcounter{page}1} |
| 490 |
\else |
| 491 |
\excludecomment{Summary} |
| 492 |
\excludecomment{Zusammenfassung} |
| 493 |
\fi |
| 494 |
%</cls> |
| 495 |
% \end{macrocode} |
| 496 |
% |
| 497 |
% \subsection{Project-Related Papers}\label{sec:impl:papers} |
| 498 |
% |
| 499 |
% \begin{macro}{\dfgprojpapers} |
| 500 |
% \begin{macrocode} |
| 501 |
%<*pdata> |
| 502 |
\newcommand\dfgprojpapers[2][]{\prop@paperlist[#1]{#2}} |
| 503 |
%</pdata> |
| 504 |
% \end{macrocode} |
| 505 |
% \end{macro} |
| 506 |
% |
| 507 |
% \subsection{German Reports}\label{sec:impl:german} |
| 508 |
% |
| 509 |
% We have to redefine some macros for German reports. |
| 510 |
% |
| 511 |
% \begin{macrocode} |
| 512 |
%<*pdata> |
| 513 |
\ifdeutsch |
| 514 |
\renewcommand\prop@count[1]{\ifcase #1 null\or ein\or zwei\or drei\or vier\or f"unf\or sechs\or sieben\or |
| 515 |
acht\or neun\or zehn\or elf\or zw"olf\else#1\fi} |
| 516 |
\renewcommand\prop@of@pages[2]{Seite~#1\ifofpage~von~#2\fi} |
| 517 |
\renewcommand\wp@mk@title[1]{Arbeitspaket {#1}} |
| 518 |
\renewcommand\wp@label[1]{AP{#1}} |
| 519 |
\ifwork@areas |
| 520 |
\renewcommand\wa@label[1]{AB{#1}} |
| 521 |
\renewcommand\wa@mk@title[1]{Arbeitsbereich {#1}} |
| 522 |
\fi |
| 523 |
\renewcommand\prop@legend@totals{\textbf{Summen}} |
| 524 |
\renewcommand\prop@legend@intendedtotals{\textbf{intendierte Summen}} |
| 525 |
\renewcommand\wpfig@legend@wap{\textbf{\ifwork@areas{Arbeitsbereiche}\else{AP}\fi}} |
| 526 |
\renewcommand\wpfig@legend@title{\textbf{Titel}} |
| 527 |
\renewcommand\wpfig@legend@type{\textbf{Typ}} |
| 528 |
\renewcommand\wpfig@legend@page{\textbf{Seite}} |
| 529 |
\renewcommand\wpfig@legend@start{\textbf{Start}} |
| 530 |
\renewcommand\wpfig@legend@length{\textbf{Dauer}} |
| 531 |
\renewcommand\wpfig@legend@end{\textbf{Ende}} |
| 532 |
\renewcommand\wpfig@legend@siteRM[1]{\site{#1}\if@RAM\ PM\fi} |
| 533 |
\renewcommand\wpfig@legend@siteRAM[1]{\site{#1}\ HM} |
| 534 |
\renewcommand\wpfig@legend@totalRM{Summe\if@RAM\ PM\fi} |
| 535 |
\renewcommand\wpfig@legend@totalRAM{Summe HM} |
| 536 |
\renewcommand\wpfig@legend@RM{PM} |
| 537 |
\renewcommand\wpfig@legend@RAM{HM} |
| 538 |
\renewcommand\wpfig@legend@RAM@expl{\if@RAM P/HM $\widehat=$ Personen/Hilfskraft Monate\else\ Aufw\"ande in Personenmonaten\fi} |
| 539 |
\renewcommand\wpfig@legend@lead@expl{Arbeitspaketleiter sind \wp@lead@style@explained} |
| 540 |
\renewcommand\wp@lead@style@explained{grau und kursiv markiert} |
| 541 |
\renewcommand\wpfig@legend@caption{{\ifwork@areas Arbeitsbereiche und \fi}Arbeitspakete} |
| 542 |
\renewcommand\wp@legend@site{Partner} |
| 543 |
\renewcommand\wp@legend@effort{Aufwand\if@RAM{ (PM+HM)}\fi} |
| 544 |
\renewcommand\wp@legend@all{\textbf{Summe}} |
| 545 |
\renewcommand\gantt@caption@main{Zeitliche Verteilung der Arbeitspakete} |
| 546 |
\renewcommand\gantt@caption@lower{draft: unten die Lastverteilung} |
| 547 |
\renewcommand\coherence@caption{Bisherige Kollaboration der {\pn} Partner} |
| 548 |
\renewcommand\objective@label[1]{Z#1} |
| 549 |
\renewcommand\task@label[2]{S#1.#2} |
| 550 |
% \renewcommand\month@label[1]{M#1} |
| 551 |
\renewcommand\legend@partners{Partner} |
| 552 |
\renewcommand\legend@lead{Leiter} |
| 553 |
\renewcommand\task@label@long{Schritt} |
| 554 |
\renewcommand\task@legend@partners{MA: } |
| 555 |
\renewcommand\task@legend@PM{PM} |
| 556 |
\fi%ifdeutsch |
| 557 |
%</pdata> |
| 558 |
% \end{macrocode} |
| 559 |
% \Finale |
| 560 |
\endinput |
| 561 |
% LocalWords: dfgproposal dtx kohlhase areastrue svninfo noworkareas twoside notcategory |
| 562 |
% LocalWords: areasfalse wa textcomp amssymb url graphicx colortbl xcolor RO Abriss Rabe |
| 563 |
% LocalWords: fancyhdr keyval eurosym tikz calc USenglish ngerman linkcolor ne ifgeneral |
| 564 |
% LocalWords: citecolor urlcolor colorlinks pagecolor breaklinks bookmarksopen ifdeutsch |
| 565 |
% LocalWords: hyperref LaTeX workpackage PIs thema acrolong anzungsantrag im generaltrue |
| 566 |
% LocalWords: Einzelverfahren tabline Allgemeine Angaben Antragsteller worktel Deutscher |
| 567 |
% LocalWords: bitabline personaltitle academictitle birthdate Dienstanschrift Antrag gen |
| 568 |
% LocalWords: workaddress atabline workfax Privatanschrift privaddress privtel prop@gen |
| 569 |
% LocalWords: dt Kennwort Fachgebiet und Arbeitsrichtung Voraussichtliche wa deutschtrue |
| 570 |
% LocalWords: Gesamtdauer Antragszeitraum Zusammenfassung workarea wp wps num Neuantrag |
| 571 |
% LocalWords: refundefinedtrue lightgray gantt xstep Unterschriften Id areas auf deu nur |
| 572 |
% LocalWords: submit hide ed public article paper today array comment wide RE Disziplin |
| 573 |
% LocalWords: babel true bookmarks blue LO LE page of prop sites key site RM ur das auft |
| 574 |
% LocalWords: def id title acronym discipline start months Proposal Erg by cls seit der |
| 575 |
% LocalWords: DFG empty em name affiliation Applicants Work Address email The Erstantrag |
| 576 |
% LocalWords: curriculum vita the applicants are enclosed appendix reference mittel der |
| 577 |
% LocalWords: Research area and field work Scientific Fields Anticipated write reichen |
| 578 |
% LocalWords: duration Application period Summary short lead Package label task Viele pn |
| 579 |
% LocalWords: tasks deps number line Effort target ids aux dfg count warning at sind aus |
| 580 |
% LocalWords: for undefined safe zero one two three four five six seven eight verf ugbar |
| 581 |
% LocalWords: nine ten eleven twelve style lines totals Packages xscale yscale unter von |
| 582 |
% LocalWords: step set gray very thin grid workphase len force phase length to folgenden |
| 583 |
% LocalWords: taskdep from rectangle left right width pt color red above dep Literatur |
| 584 |
% LocalWords: Overview Activities Signatures Date paralist ymonths ymid yinc Verzeichnis |
| 585 |
% LocalWords: xend effort month iffalse eustrep.dtx fileversion maketitle Antr Ausdruck |
| 586 |
% LocalWords: tableofcontents DescribeEnv ifpublic ifpublic compactitem wpfig Lebenslauf |
| 587 |
% LocalWords: wpfig workplan workplan bookeeping wissenchaftliche tasklist dmp Zitierte |
| 588 |
% LocalWords: tasklist taskin taskref taskref tasktref tasktref localtaskref Abschnitt |
| 589 |
% LocalWords: localtaskref ganttchart biblatex dfgprojpapers dfgprojpapers ifx einem Typ |
| 590 |
% LocalWords: bibtex proposal1-blx.aux pdataref WPtref WPtref WAref WAref WAtref Lebensl |
| 591 |
% LocalWords: WAtref protectmacro thebibliography bibitem newblock newif inst aufe Seite |
| 592 |
% LocalWords: ifsubmit submitfalse publicfalse ifkeys keysfalse ifwork RAMtrue Institut |
| 593 |
% LocalWords: submittrue publictrue excludecomment RAMfalse keystrue sfdefault Lehrstuhl |
| 594 |
% LocalWords: renewcommand familydefault helvet includecomment subsubsections bezahlte |
| 595 |
% LocalWords: setcounter secnumdepth ifofpage ofpagefalse fancyhead thepage sw Berichts |
| 596 |
% LocalWords: pagestyle fancyplain sitesfalse sitestrue ifundefined gdef allwp Summen |
| 597 |
% LocalWords: fundedperiod reportperiod textbf newenvironment titlepage auxout Titel |
| 598 |
% LocalWords: thispagestyle newcounter stepcounter tocdepth ofpagetrue setkeys Dauer |
| 599 |
% LocalWords: finalreport orderzeitraum thewa thewp addtocounter bigskip pws DFG-Mitteln |
| 600 |
% LocalWords: textsf smallskip ignorespaces subsubsection thedfg theallwp req Ende Summe |
| 601 |
% LocalWords: compactenum compactenum thetask newcount thegantt refsection tl Personen |
| 602 |
% LocalWords: nocite defbibheading ourpubs printbibliography expandafter ifnum Monate |
| 603 |
% LocalWords: csname endcsname dfgcount ifcase cellcolor wptable widehat qquad Aufw ande |
| 604 |
% LocalWords: tabularnewline wplist ifgantt drafttrue RMdisclaimer draftfalse Hilfskraft |
| 605 |
% LocalWords: RMdisclaimerfalse RMdisclaimertrue newdimen taskwps thetaskwps intendierte |
| 606 |
% LocalWords: whilenum hfill marginpar texteuro officialeuro texttt newpage cb grau |
| 607 |
% LocalWords: min-crossrefs pdata xdef newcommand hline aff NeedsTeXFormat dfgreporting |
| 608 |
% LocalWords: renewenvironment nameuse paperlist applareas applareas dfgpdata kursiv |
| 609 |
% LocalWords: Gesch aftszeichen projpapers shortname sitedescription ednote generalfalse |
| 610 |
% LocalWords: textsc newlength setlength textwidth WAauthorblock assoc tmpop markiert |
| 611 |
% LocalWords: tmpop tmpop deutschfalse Sachbeihilfe Arbeitsgebiet Fortsetungsantrag |
| 612 |
% LocalWords: Publikationen Publikatinsverzeichnis Wissenschaftler Verwertungsfelder |
| 613 |
% LocalWords: Kooperationspartner otherlanguage Arbeitspaket Arbeitsbereich Aufwand |
| 614 |
% LocalWords: Arbeitsbereiche Personenmonaten Arbeitspaketleiter Arbeitspakete unten |
| 615 |
% LocalWords: Zeitliche Verteilung Lastverteilung Bisherige Kollaboration Leiter |
| 616 |
% LocalWords: Schritt endinput |
| 617 |
|
| 618 |
% \endinput |
| 619 |
% Local Variables: |
| 620 |
% mode: doctex |
| 621 |
% TeX-master: t |
| 622 |
% End: |