ref: 7038b412045ad003366804789e7fecaf0552f77c
dir: /docs/mkfile/
</sys/doc/fonts all:V: mafs.pdf # fn v { mk view } view: mafs.pdf window -r 0 0 800 1000 page -R /mnt/term/home/j/local/plan9/custom/mafs/docs/mafs.pdf cp /mnt/term/home/j/local/plan9/custom/mafs/docs/mafs.pdf /mnt/term/tmp/mafs.pdf clean: rm *.ps *.pdf # /sys/doc/cleanps messes up the double quotes in the text. Why? Is there a workaround? %.ps:D: %.ms { echo $FONTS; cat $stem.ms } | pic | tbl | eqn | troff -ms | lp -dstdout > $target # /sys/doc/cleanps $target # messes up the double quotes %.preview:D: %.ms { echo $FONTS; cat $stem.ms } | pic | tbl | eqn | troff -a -ms -mnihongo %.pdf:D: %.ps ps2pdf $stem.ps $target