From bd6c7e06258b57a5bde3ab6b77f71d813fe412a2 Mon Sep 17 00:00:00 2001 From: Michael Kohlhase Date: Sun, 27 Jan 2019 10:36:27 +0100 Subject: [PATCH] preparing to split --- examples/eu/strep/Makefile | 24 +++++++++++++++++++++--- examples/eu/strep/implementation.tex | 16 ---------------- examples/eu/strep/propB.tex | 3 ++- examples/eu/strep/submit.tex | 3 +-- 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/examples/eu/strep/Makefile b/examples/eu/strep/Makefile index 71e345c..06eac2a 100644 --- a/examples/eu/strep/Makefile +++ b/examples/eu/strep/Makefile @@ -37,15 +37,30 @@ all: $(TBIB.pdf) $(TSIMP.pdf) submit: $(MAKE) $(MAKEFLAGS) -w PROPOSAL=final.tex all -public: +SPLIT.at = $(shell cat SPLIT.at) +SPLIT = $$(($(SPLIT.at) + 1)) +SSPLIT = $$(($(SPLIT.at) + 2)) +final-split: final + qpdf --pages submit.pdf 1-$(SPLIT) -- submit.pdf submit-123.pdf + qpdf --pages submit.pdf $(SSPLIT)-z -- submit.pdf submit-45.pdf + +public: $(SRC) $(MAKE) $(MAKEFLAGS) -w PROPOSAL=public.tex all grantagreement: $(MAKE) $(MAKEFAGS) -w PROPOSAL=grantagreement.tex -W grantagreement.tex all + pdftk grantagreement.pdf cat 1-35 61-end output grantagreement-striped.pdf + mv grantagreement-striped.pdf grantagreement.pdf + + +install: final + cp final.pdf proposal-www.pdf + git commit -m "Updated pdf" proposal-www.pdf + git push bbl: $(BBL) $(BBL): %.bbl: %.aux - bibtex -min-crossrefs=100 -terse $< + biber $< $(TSIMP.pdf): %.pdf: %.tex $(PROPCLS) $(PDATA) $(PDFLATEX) $< || $(RM) $@ @@ -71,11 +86,14 @@ $(TBIB.pdf): %.pdf: %.tex $(SRC) $(BIB) $(PROPCLS) then $(PDFLATEX) $< || $(RM) $@; fi clean: - rm -f *~ *.log *.ilg *.out *.glo *.idx *.ilg *.blg *.run.xml *.synctex.gz *.cut + rm -f *~ *.log *.ilg *.out *.glo *.idx *.ilg *.blg *.run.xml *.synctex.gz *.cut *.toc distclean: clean rm -f *.aux *.ind *.gls *.ps *.dvi *.thm *.out *.run.xml *.bbl *.toc *.deliv* *.pdata *-blx.bib rm -Rf auto + rm -f proposal.fls +echo: + echo $(BBL) echo: @echo $(BBL) diff --git a/examples/eu/strep/implementation.tex b/examples/eu/strep/implementation.tex index 5d687c9..d6906db 100644 --- a/examples/eu/strep/implementation.tex +++ b/examples/eu/strep/implementation.tex @@ -18,22 +18,6 @@ enter into force as from the date the contract with the European Commission is s \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 legal entity, the main -tasks they have been attributed, and the previous experience relevant to those tasks. Provide also a -short profile of the individuals who will be undertaking the work.\\ -Maximum length for Section 2.2: one page per participant. However, where two or more departments within -an organisation have quite distinct roles within the proposal, one page per department is acceptable.\\ -The maximum length applying to a legal entity composed of several members, each of which is a separate -legal entity (for example an EEIG1), is one page per member, provided that the members have quite distinct -roles within the proposal. -\end{todo} -\newpage -\input{site-jacu}\newpage -\input{site-efo}\newpage -\input{site-bar}\newpage -\input{site-baz}\newpage \section{The {\protect\pn} consortium as a whole} \begin{todo}{from the proposal template} diff --git a/examples/eu/strep/propB.tex b/examples/eu/strep/propB.tex index 3efcc46..246dd7b 100644 --- a/examples/eu/strep/propB.tex +++ b/examples/eu/strep/propB.tex @@ -51,8 +51,9 @@ \include{quality}\newpage \include{implementation}\newpage \include{impact}\newpage -\include{issues} \end{proposal} +\include{members} +\include{issues} \end{document} %%% Local Variables: diff --git a/examples/eu/strep/submit.tex b/examples/eu/strep/submit.tex index 5d92f93..10bd7a1 100644 --- a/examples/eu/strep/submit.tex +++ b/examples/eu/strep/submit.tex @@ -1,6 +1,5 @@ -\newcommand{\classoptions}{submit} +\newcommand{\classoptions}{submit,split} \input{proposal} - %%% Local Variables: %%% mode: latex %%% TeX-master: t