better production process
This commit is contained in:
parent
d84cd3626c
commit
da5adca647
@ -1,3 +1,9 @@
|
|||||||
|
###########################################################################
|
||||||
|
# Automating proposal management by make.
|
||||||
|
# The participants work on proposal.tex in "draft" mode, which gives a lot
|
||||||
|
# of information to the developers. Variants submit.tex and public.tex are
|
||||||
|
# used to prepare official versions (hiding development/private info).
|
||||||
|
###########################################################################
|
||||||
# possibly customize the following variables to your setting
|
# possibly customize the following variables to your setting
|
||||||
PROPOSAL = proposal.tex # the proposal
|
PROPOSAL = proposal.tex # the proposal
|
||||||
BIB = ../lib/dummy.bib # bibTeX databases
|
BIB = ../lib/dummy.bib # bibTeX databases
|
||||||
@ -11,7 +17,7 @@ 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 batchmode -file-line-error
|
||||||
BBL.base = 1
|
BBL.base = 1
|
||||||
BBL = proposal.bbl $(BBL.base:%=proposal%-blx.bbl)
|
BBL = $(PROPOSAL:%.tex=%.bbl) $(BBL.base:%=$(PROPOSAL:%.tex=%)%-blx.bbl)
|
||||||
PROPCLS.dir = $(PROP.dir)/base
|
PROPCLS.dir = $(PROP.dir)/base
|
||||||
PROPETC.dir = $(PROP.dir)/etc
|
PROPETC.dir = $(PROP.dir)/etc
|
||||||
DFGPROPCLS.dir = $(PROP.dir)/dfg
|
DFGPROPCLS.dir = $(PROP.dir)/dfg
|
||||||
@ -24,6 +30,12 @@ PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(DFGPROPCLS.clssty:%=$(DFGPROPCL
|
|||||||
|
|
||||||
all: $(TARGET.pdf)
|
all: $(TARGET.pdf)
|
||||||
|
|
||||||
|
submit:
|
||||||
|
$(MAKE) -w PROPOSAL=final.tex all
|
||||||
|
|
||||||
|
public:
|
||||||
|
$(MAKE) -w PROPOSAL=public.tex all
|
||||||
|
|
||||||
cd: # make cd will prepare CD for burning
|
cd: # make cd will prepare CD for burning
|
||||||
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
|
mkdir CD;make $(TARGET.pdf); cp $(TARGET.pdf) CD
|
||||||
|
|
||||||
|
Binary file not shown.
@ -1,7 +1,9 @@
|
|||||||
% the document class specification for the proposal writing process, add the 'submit' option
|
% The main file for developing the proposal.
|
||||||
% for submitting (switches off various draft features); add the 'public' option to exclude
|
% Variants with different class options are
|
||||||
% any private parts.
|
% - submit.tex (no draft stuff, no ednotes, no revision information)
|
||||||
\documentclass[RAM,gitinfo]{dfgproposal}
|
% - public.tex (like submit.tex, but no financials either)
|
||||||
|
\providecommand{\classoptions}{,keys} % to be overwritten in variants
|
||||||
|
\documentclass[RAM,gitinfo\classoptions]{dfgproposal}
|
||||||
%\documentclass[submit]{dfgproposal}
|
%\documentclass[submit]{dfgproposal}
|
||||||
%\documentclass[submit,public]{dfgproposal}
|
%\documentclass[submit,public]{dfgproposal}
|
||||||
\addbibresource{../lib/dummy}
|
\addbibresource{../lib/dummy}
|
||||||
|
Loading…
Reference in New Issue
Block a user