tex/makefile: Fix eps build
[gostyle.git] / tex / makefile
blob2e13c8a37b0e86f50f708e4e8ccbf96dfcee3da2
1 gostyle.dvi: gostyle.tex gostyle.bib strength-pca.eps style-pca.eps makefile
2 rm -f gostyle.bbl
3 latex gostyle && bibtex gostyle && latex gostyle && latex gostyle
5 gostyle.pdf: gostyle.dvi
6 dvipdf gostyle.dvi gostyle.pdf
8 strength-pca.eps: strength-pca.data
9 echo 'set term postscript eps enhanced "Helvetica" 18 size 7,2; set output "'$@'"; set xtics -4 2; set xlabel "rank (-d, +k)" ; set ylabel "first dim." ; plot "'$<'" using 2:3 notitle pointtype 2' | gnuplot
11 style-pca.eps: style-pca.data
12 echo 'set term postscript eps enhanced "Helvetica" 16 size 2.5,6; set output "'$@'"; set rmargin 10; set xtics ("0.44" 1, "0.18" 2, "0.074" 3); set xlabel "dimensions"; plot "'$<'" using 2:3:1 notitle with labels font "Arial,10" left offset 0.5,0.5 nopoint' | gnuplot
14 clean:
15 rm -f gostyle.pdf gostyle.dvi gostyle.bbl gostyle.aux gostyle.log gostyle.blg strength-pca.eps
17 dvi: gostyle.dvi
18 pdf: gostyle.pdf
19 all: dvi pdf
20 show: dvi
21 xdvi -watchfile 0.5 gostyle.dvi &
22 showpdf: pdf
23 okular gostyle.pdf 2>/dev/null &