# works at least with the Heirloom tools http://heirloom.sf.net unix-explained-slides.ps: unix-explained-slides.ms sed '/./!d' unix-explained-slides.ms | \ pic | troff -ms slides - | dpost | \ awk 'NR==2 {print "%%BoundingBox: 0 0 600 450"} 1' \ >unix-explained-slides.ps handout.ps: handout.ms sed '/./!d' handout.ms | refer -e | troff -ms | dpost >$@ handout.pdf: handout.ps ps2pdf handout.ps