3 %.dvi: %.tex ../sgr.tex ../ga.bib
4 csplain $< && if grep -q citation $*.aux ; then bibtex $* && csplain $< && csplain $< ; fi
6 %.pdf: %.tex ../sgr.tex
10 ( echo '\magnification=700' ; cat $< ) >$@
13 dvips -D600 -o $@ -O-0.5in,-0.5in -t a4 $<
16 dvips -D600 -o $@ -O-1in,-1in -T148mm,210mm $<
19 psbook <$< | pstops '2:0L(210mm,0)+1L(210mm,148mm)' | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/' >$@
22 pstops '2:0L(212mm,0mm)+1L(212mm,150mm)' <$< | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/' >$@
25 rm -f *.dvi *.log *~ core *.o *-700.tex *-a5.ps *.aux *.bbl *.blg
32 scp -C $P.ps jabberwock:www/vyuka/ga/$P.ps