| 
MKSHELL=$PLAN9/bin/rc
FILES= \
	slides.ps \
	slides.pss
%.html:D:	%.ms
	{ echo $FONTS; cat $stem.ms } | tbl | ms2html > $target
%.pss:DQ:	%.ms mkfile
	eval `{doctype $home/fosdem/macros.ms $stem.ms} | \
	lp -m.9 -dstdout | awk '{print} NR==1 {print "%%BoundingBox: 0 0 507 379"}' >$target
%.ps:DQ: %.ms mkfile
	#eval `{doctype $stem.ms} > $target
	eval `{doctype $stem.ms} | lp -dstdout > $target
%.pdf: %.ps
	{ cat /sys/doc/docfonts $stem.ps } >_$stem.ps
	distill _$stem.ps
	mv _$stem.pdf $stem.pdf
%.view:VQ:	%.ps
	page -w $stem.ps
%.show:VQ:	%.pss
	#page -p 144 -b -w $stem.pss
	page -p 128 -b -w $stem.pss
all:V: $FILES
clear:V:
	rm $FILES
 |