diff --git a/eu/euproposal.cls b/eu/euproposal.cls index 700799a..b80eaca 100644 --- a/eu/euproposal.cls +++ b/eu/euproposal.cls @@ -158,7 +158,8 @@ \define@key{mst}{wdeliv}{\gdef\mst@wdeliv{#1}} \define@key{mst}{wverif}{\gdef\mst@wverif{#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@wname{2.5cm}\def\mst@wdeliv{7cm}\def\mst@wverif{4cm} \setkeys{mst}{#1}% @@ -186,7 +187,9 @@ \mst@lines \end{tabular} \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@mo{Mo} \newcommand\miles@legend@verif{Means of Verif.} diff --git a/eu/euproposal.dtx b/eu/euproposal.dtx index c3f28fe..202dd97 100644 --- a/eu/euproposal.dtx +++ b/eu/euproposal.dtx @@ -537,14 +537,16 @@ % \end{macro} % % \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} \define@key{mst}{caption}{\gdef\mst@caption{#1}} \define@key{mst}{wname}{\gdef\mst@wname{#1}} \define@key{mst}{wdeliv}{\gdef\mst@wdeliv{#1}} \define@key{mst}{wverif}{\gdef\mst@wverif{#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@wname{2.5cm}\def\mst@wdeliv{7cm}\def\mst@wverif{4cm} \setkeys{mst}{#1}% @@ -572,7 +574,9 @@ \mst@lines \end{tabular} \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} % now the multilinguality support % \begin{macrocode} diff --git a/eu/euproposal.pdf b/eu/euproposal.pdf index 9132f47..bfad174 100644 Binary files a/eu/euproposal.pdf and b/eu/euproposal.pdf differ diff --git a/examples/eu/strep/Makefile b/examples/eu/strep/Makefile index 0fcde12..6efd499 100644 --- a/examples/eu/strep/Makefile +++ b/examples/eu/strep/Makefile @@ -18,7 +18,7 @@ TBIB.pdf = $(TBIB:%.tex=%.pdf) # PDFs to be produced TBIB.aux = $(TBIB:%.tex=%.aux) # their aux files. PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files -PDFLATEX = pdflatex -interaction batchmode -file-line-error +PDFLATEX = pdflatex -interaction scrollmode -file-line-error PROPCLS.dir = $(PROP.dir)/base PROPETC.dir = $(PROP.dir)/etc EUPROPCLS.dir = $(PROP.dir)/eu