Merge branch 'master' of gl.kwarc.info:mathhub/data-proposal

This commit is contained in:
Michael Kohlhase 2019-01-27 12:11:51 +01:00
parent 187e9a4c57
commit 55b2e7d08c
4 changed files with 13 additions and 6 deletions

View File

@ -158,7 +158,8 @@
\define@key{mst}{wdeliv}{\gdef\mst@wdeliv{#1}} \define@key{mst}{wdeliv}{\gdef\mst@wdeliv{#1}}
\define@key{mst}{wverif}{\gdef\mst@wverif{#1}} \define@key{mst}{wverif}{\gdef\mst@wverif{#1}}
\newcommand\milestonetable[1][]{% \newcommand\milestonetable[1][]{%
\IfFileExists{\jobname.delivs}{% to avoid errros \IfFileExists{./\jobname.deliverables}{% to avoid errros
\message{euproposal.cls: Generating Milestones Table}%
\def\mst@caption{Milestones, Deliverables, and Verification}% \def\mst@caption{Milestones, Deliverables, and Verification}%
\def\mst@wname{2.5cm}\def\mst@wdeliv{7cm}\def\mst@wverif{4cm} \def\mst@wname{2.5cm}\def\mst@wdeliv{7cm}\def\mst@wverif{4cm}
\setkeys{mst}{#1}% \setkeys{mst}{#1}%
@ -186,7 +187,9 @@
\mst@lines \mst@lines
\end{tabular} \end{tabular}
\caption{\mst@caption\ ($^\ast$\miles@legend)}\label{tab:milestonetable} \caption{\mst@caption\ ($^\ast$\miles@legend)}\label{tab:milestonetable}
\end{table}}} \end{table}}
{\ClassWarning{not formatting mile stones table yet, deliverables are
still missing; generate\jobname.deliverables\ to get it!}}}
\newcommand\miles@legend@name{Name} \newcommand\miles@legend@name{Name}
\newcommand\miles@legend@mo{Mo} \newcommand\miles@legend@mo{Mo}
\newcommand\miles@legend@verif{Means of Verif.} \newcommand\miles@legend@verif{Means of Verif.}

View File

@ -537,14 +537,16 @@
% \end{macro} % \end{macro}
% %
% \begin{macro}{milestonetable} % \begin{macro}{milestonetable}
% here we do the work. % here we do the work, but only if the file |\jobname.deliverables| exists to make sure
% that the deliverables macros are really defined.
% \begin{macrocode} % \begin{macrocode}
\define@key{mst}{caption}{\gdef\mst@caption{#1}} \define@key{mst}{caption}{\gdef\mst@caption{#1}}
\define@key{mst}{wname}{\gdef\mst@wname{#1}} \define@key{mst}{wname}{\gdef\mst@wname{#1}}
\define@key{mst}{wdeliv}{\gdef\mst@wdeliv{#1}} \define@key{mst}{wdeliv}{\gdef\mst@wdeliv{#1}}
\define@key{mst}{wverif}{\gdef\mst@wverif{#1}} \define@key{mst}{wverif}{\gdef\mst@wverif{#1}}
\newcommand\milestonetable[1][]{% \newcommand\milestonetable[1][]{%
\IfFileExists{\jobname.delivs}{% to avoid errros \IfFileExists{./\jobname.deliverables}{% to avoid errros
\message{euproposal.cls: Generating Milestones Table}%
\def\mst@caption{Milestones, Deliverables, and Verification}% \def\mst@caption{Milestones, Deliverables, and Verification}%
\def\mst@wname{2.5cm}\def\mst@wdeliv{7cm}\def\mst@wverif{4cm} \def\mst@wname{2.5cm}\def\mst@wdeliv{7cm}\def\mst@wverif{4cm}
\setkeys{mst}{#1}% \setkeys{mst}{#1}%
@ -572,7 +574,9 @@
\mst@lines \mst@lines
\end{tabular} \end{tabular}
\caption{\mst@caption\ ($^\ast$\miles@legend)}\label{tab:milestonetable} \caption{\mst@caption\ ($^\ast$\miles@legend)}\label{tab:milestonetable}
\end{table}}} \end{table}}
{\ClassWarning{not formatting mile stones table yet, deliverables are
still missing; generate\jobname.deliverables\ to get it!}}}
% \end{macrocode} % \end{macrocode}
% now the multilinguality support % now the multilinguality support
% \begin{macrocode} % \begin{macrocode}

Binary file not shown.

View File

@ -18,7 +18,7 @@ TBIB.pdf = $(TBIB:%.tex=%.pdf) # PDFs to be produced
TBIB.aux = $(TBIB:%.tex=%.aux) # their aux files. TBIB.aux = $(TBIB:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error PDFLATEX = pdflatex -interaction scrollmode -file-line-error
PROPCLS.dir = $(PROP.dir)/base PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc PROPETC.dir = $(PROP.dir)/etc
EUPROPCLS.dir = $(PROP.dir)/eu EUPROPCLS.dir = $(PROP.dir)/eu