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
|
||||
PROPOSAL = proposal.tex # the proposal
|
||||
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
|
||||
PDFLATEX = pdflatex -interaction batchmode -file-line-error
|
||||
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
|
||||
PROPETC.dir = $(PROP.dir)/etc
|
||||
DFGPROPCLS.dir = $(PROP.dir)/dfg
|
||||
@ -24,6 +30,12 @@ PROPCLS = $(PROPCLS.clssty:%=$(PROPCLS.dir)/%) $(DFGPROPCLS.clssty:%=$(DFGPROPCL
|
||||
|
||||
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
|
||||
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
|
||||
% for submitting (switches off various draft features); add the 'public' option to exclude
|
||||
% any private parts.
|
||||
\documentclass[RAM,gitinfo]{dfgproposal}
|
||||
% The main file for developing the proposal.
|
||||
% Variants with different class options are
|
||||
% - submit.tex (no draft stuff, no ednotes, no revision information)
|
||||
% - 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,public]{dfgproposal}
|
||||
\addbibresource{../lib/dummy}
|
||||
|
Loading…
Reference in New Issue
Block a user