# $Cambridge: hermes/doc/talks/2011-07-techlinks/Makefile,v 1.1 2011/07/20 12:52:50 fanf2 Exp $ LATEX= latex -halt-on-error PDFLATEX= ${LATEX} -output-format=pdf DVILATEX= ${LATEX} -output-format=dvi all: slides.pdf notes.pdf notes.dvi talk: slides.pdf xpdf -fullscreen slides.pdf slides: slides.pdf xpdf -z 300% slides.pdf & notes: notes.dvi xdvizilla notes.dvi & print: handout.ps notes.ps lpr -Ztumble handout.ps lpr notes.ps clean: rm -f *.aux *.log *.nav *.out *.snm *.toc rm -f *.pdf *.ps *.dvi realclean: rm -f core *.core *~ .SUFFIXES: .tex .dvi .pdf .ps handout.ps: slides.ps psnup -W12.6cm -H9.6cm -pa4 -r -2 slides.ps |\ sed '/BoundingBox:/d' |\ psnup -b1cm -2 >handout.ps slides.ps slides.pdf slides.dvi: talk.tex slides.tex notes.ps notes.pdf notes.dvi: talk.tex notes.tex .pdf.ps: pdf2ps $< .tex.pdf: ${PDFLATEX} $< .tex.dvi: ${DVILATEX} $< # eof