tex: POSUDEK4, submitted version - minor changes
[gostyle.git] / tex / makefile
blob74e6b62b676bb45d074d0863b021f7d434253b35
1 gostyle.dvi: gostyle.tex gostyle.bib patcountdist.eps strength-pca.eps style-pca.eps sociomap.eps makefile
2 rm -f gostyle.bbl
3 latex gostyle && bibtex gostyle && latex gostyle && latex gostyle && latex gostyle
5 gostyle.pdf: gostyle.dvi
6 dvipdf gostyle.dvi gostyle.pdf
8 gostyle.ps: gostyle.dvi
9 dvips gostyle.dvi
11 patcountdist.eps: patcountdist.data
12 echo 'set term postscript eps enhanced "Helvetica" 18 size 3.5,2.5; set lmargin 7; set xlabel "pattern id"; set output "'$@'"; set log y; set xtics 1 125; plot "'$<'" notitle pointtype 2' | gnuplot
14 strength-pca.eps: strength-pca.data
15 echo 'set term postscript eps enhanced "Helvetica" 18 size 7,2; set output "'$@'"; set xtics -3 2; set xlabel "rank (-d, +k)" ; set ylabel "first PCA dim." ; plot "'$<'" using 2:3 notitle pointtype 2' | gnuplot
17 style-pca.spdata: style-pca.data
18 python style_fig_edit.py <"$<" >"$@"
20 style-pca.eps: style-pca.spdata
21 echo 'set term postscript eps enhanced "Helvetica" 16 size 3,9; set output "'$@'"; set lmargin 3; set rmargin 10; set xtics ("0.45" 1, "0.19" 2, "0.046" 3); set xlabel "PCA dim. weights"; plot "'$<'" using 2:3:1 notitle with labels left offset 0.5,0.5 nopoint' | gnuplot
23 clean:
24 rm -f gostyle.pdf gostyle.dvi gostyle.bbl gostyle.aux gostyle.log gostyle.blg patcountdist.eps strength-pca.eps style-pca.eps
26 dvi: gostyle.dvi
27 pdf: gostyle.pdf
28 ps: gostyle.ps
29 all: dvi pdf ps
30 show: dvi
31 xdvi -watchfile 0.5 gostyle.dvi &
32 showpdf: pdf
33 okular gostyle.pdf 2>/dev/null &
34 showps: ps
35 gv gostyle.ps &