-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
executable file
·49 lines (31 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#Makefile to create posters
#main poster tempalte
main1=ITC_template
preamble=ITC_posterpreamble.tex
sub1=ITC_examplebox.tex ITC_examplerefs.tex ITC_compile.tex
latcom=xelatex
#latcom=lualatex
#uncoment pdflatex below if no xelatex is available
#latcom=pdflatex
latopt=-halt-on-error
#default for make without arguments is to make a landscape poster
all: landscape
#set some symbolic links to the correct shape and default background image
setportrait:
ln -sf ITC_posterpreamble_portrait.tex ${preamble}
ln -sf posterbackground_hires_portrait.pdf figures/posterbackground_hires.pdf
setlandscape:
ln -sf ITC_posterpreamble_landscape.tex ${preamble}
ln -sf posterbackground_hires_landscape.pdf figures/posterbackground_hires.pdf
portrait:setportrait ${main1}.bbl ${main1}.pdf
landscape:setlandscape ${main1}.bbl ${main1}.pdf
#make rules for results poster
${main1}.pdf: ${main1}.tex ${preamble} ${sub1}
${latcom} ${latop} ${main1}
${main1}.aux: ${main1}.tex ${sub1}
${latcom} ${latop} ${main1}
${main1}.bbl:${main1}.aux
bibtex ${main1}
${latcom} ${latop} ${main1}
clean:
rm -f ${main1}.bbl ${main1}.aux ${main1}.pdf ${preamble} figures/posterbackground_hires.pdf