more on the public option

This commit is contained in:
Michael Kohlhase 2018-03-22 10:25:37 +01:00
parent 4a97d5654e
commit 3e7642f977
5 changed files with 23 additions and 17 deletions

View File

@ -38,7 +38,8 @@
\dfg@applicants@private@lines\hline \dfg@applicants@private@lines\hline
\end{tabular}} \end{tabular}}
\renewenvironment{prop@proposal} \renewenvironment{prop@proposal}
{\ifsubmit\setcounter{page}{1}\else {\ifgeneral%
\ifsubmit\setcounter{page}{1}\else
\thispagestyle{empty}% \thispagestyle{empty}%
\begin{center} \begin{center}
{\LARGE \prop@gen@instrument}\\[.2cm] {\LARGE \prop@gen@instrument}\\[.2cm]
@ -47,7 +48,7 @@
{\large\today}\\[1em] {\large\today}\\[1em]
\WAauthorblock[aff]\prop@gen@PIs\\[2cm] \WAauthorblock[aff]\prop@gen@PIs\\[2cm]
\end{center} \end{center}
\ifgeneral\setcounter{section}{-1} \setcounter{section}{-1}
\edef\keep@tocdepth{\value{tocdepth}} \edef\keep@tocdepth{\value{tocdepth}}
\setcounter{tocdepth}{2}\tableofcontents \setcounter{tocdepth}{2}\tableofcontents
\setcounter{tocdepth}{\keep@tocdepth} \setcounter{tocdepth}{\keep@tocdepth}
@ -59,7 +60,7 @@
\dfg@area@field \dfg@area@field
\ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else \ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else
\subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}} \subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}}
\fi \fi% ifdeutsch
\@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration}; \@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration};
\ifdeutsch \ifdeutsch
\@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit \@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit
@ -67,16 +68,16 @@
\else \else
\@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started \@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started
\prop@gen@since.} \prop@gen@since.}
\fi \fi%ifdeutsch
\ifdeutsch\subsection{Antragszeitraum}\else \ifdeutsch\subsection{Antragszeitraum}\else
\subsection{Application period \deu{(Antragszeitraum)}}\fi \subsection{Application period \deu{(Antragszeitraum)}}\fi
\prop@gen@months\quad Months starting \prop@gen@start \prop@gen@months\quad Months starting \prop@gen@start
\@ifundefined{prop@gen@fundsuntil}{} \@ifundefined{prop@gen@fundsuntil}{}
{ (\ifdeutsch Mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)} { (\ifdeutsch Mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)}
\ifdeutsch\else\selectlanguage{USenglish}\fi \ifdeutsch\else\selectlanguage{USenglish}\fi
\newpage\fi%ifgeneral \newpage
\setcounter{page}{0}% \setcounter{page}{0}%
\fi}% ifsubmit \fi\fi}% ifsubmit ifgeneral
{} {}
\ifdeutsch \ifdeutsch
\def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:} \def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:}

View File

@ -109,9 +109,11 @@
% and gives a comma separated list of options specified in~\cite{Kohlhase:pplp:ctan}. The % and gives a comma separated list of options specified in~\cite{Kohlhase:pplp:ctan}. The
% |dfgproposal| class adds the two options % |dfgproposal| class adds the two options
% \begin{compactenum} % \begin{compactenum}
% \item \DescribeMacro{general}|general|, which allows generates a first section with % \item \DescribeMacro{general}|general|, which allows generates a title page and first
% general proposal metadata (as the old form proposals required). This is useful to % section with general proposal metadata (as the old form proposals required). This is
% check all the data (and have a place to copy/paste from). % useful to check all the data (and have a place to copy/paste from). Also this should
% be used together with the |public| option (see in~\cite{Kohlhase:pplp:ctan}) to
% generate public versions of the proposal.
% \item \DescribeMacro{german}|german|, which makes all the generated parts in German. % \item \DescribeMacro{german}|german|, which makes all the generated parts in German.
% \end{compactenum} % \end{compactenum}
% %
@ -341,7 +343,8 @@ Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}%
% class. % class.
% \begin{macrocode} % \begin{macrocode}
\renewenvironment{prop@proposal} \renewenvironment{prop@proposal}
{\ifsubmit\setcounter{page}{1}\else {\ifgeneral
\ifsubmit\setcounter{page}{1}\else
\thispagestyle{empty}% \thispagestyle{empty}%
\begin{center} \begin{center}
{\LARGE \prop@gen@instrument}\\[.2cm] {\LARGE \prop@gen@instrument}\\[.2cm]
@ -350,7 +353,7 @@ Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}%
{\large\today}\\[1em] {\large\today}\\[1em]
\WAauthorblock[aff]\prop@gen@PIs\\[2cm] \WAauthorblock[aff]\prop@gen@PIs\\[2cm]
\end{center} \end{center}
\ifgeneral\setcounter{section}{-1} \setcounter{section}{-1}
\edef\keep@tocdepth{\value{tocdepth}} \edef\keep@tocdepth{\value{tocdepth}}
\setcounter{tocdepth}{2}\tableofcontents \setcounter{tocdepth}{2}\tableofcontents
\setcounter{tocdepth}{\keep@tocdepth} \setcounter{tocdepth}{\keep@tocdepth}
@ -362,7 +365,7 @@ Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}%
\dfg@area@field \dfg@area@field
\ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else \ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else
\subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}} \subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}}
\fi \fi% ifdeutsch
\@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration}; \@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration};
\ifdeutsch \ifdeutsch
\@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit \@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit
@ -370,16 +373,16 @@ Applicant\if@sites\ifnum\the@PIs>1{s}\fi\fi\ \deu{(Antragsteller)}}%
\else \else
\@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started \@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started
\prop@gen@since.} \prop@gen@since.}
\fi \fi%ifdeutsch
\ifdeutsch\subsection{Antragszeitraum}\else \ifdeutsch\subsection{Antragszeitraum}\else
\subsection{Application period \deu{(Antragszeitraum)}}\fi \subsection{Application period \deu{(Antragszeitraum)}}\fi
\prop@gen@months\quad Months starting \prop@gen@start \prop@gen@months\quad Months starting \prop@gen@start
\@ifundefined{prop@gen@fundsuntil}{} \@ifundefined{prop@gen@fundsuntil}{}
{ (\ifdeutsch Mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)} { (\ifdeutsch Mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)}
\ifdeutsch\else\selectlanguage{USenglish}\fi \ifdeutsch\else\selectlanguage{USenglish}\fi
\newpage\fi%ifgeneral \newpage
\setcounter{page}{0}% \setcounter{page}{0}%
\fi}% ifsubmit \fi\fi}% ifsubmit ifgeneral
{} {}
% \end{macrocode} % \end{macrocode}
% \end{environment} % \end{environment}

Binary file not shown.

View File

@ -73,13 +73,14 @@ of publications. Non-published works must be included with the proposal.
\printbibliography[heading=empty,notcategory=featured] \printbibliography[heading=empty,notcategory=featured]
% the following will not become part of the public proposal after all most of this is % the following will not become part of the public proposal after all most of this is
% technical or confidential. % technical or confidential.
%\begin{private} \ifpublic\else
\input{funds} \input{funds}
\input{preconditions} \input{preconditions}
\section{Additional Information}\label{sec:additional} \section{Additional Information}\label{sec:additional}
Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ. Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ.
\fi % ifpublic
\end{proposal} \end{proposal}
\end{document} \end{document}

View File

@ -81,12 +81,13 @@
\printbibliography[heading=empty] \printbibliography[heading=empty]
% the following will not become part of the public proposal after all most of this is % the following will not become part of the public proposal after all most of this is
% technical or confidential. % technical or confidential.
%\begin{private} \ifpublic\else
\input{../proposal/funds} \input{../proposal/funds}
\input{../proposal/preconditions} \input{../proposal/preconditions}
\section{Additional information \deu{(Ergänzende Erklärungen)}} \section{Additional information \deu{(Ergänzende Erklärungen)}}
Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ. Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ.
\fi %ifpublic
\end{proposal} \end{proposal}
\end{document} \end{document}