ref: 9b76881a8e11c44aae5dfd447e1cd1bc074ec9f3
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