summaryrefslogtreecommitdiff
path: root/systems/unix/tex-gpc/mp/mpx
blob: 866bad06006b6c36cee203a16411f9787dde50ad (plain)
1
2
3
4
5
6
7
8
# process .mp files that include TeX programs.
case $# in
1) f=`basename $1 .mp`;;
*) echo Usage: $0 mp-file; exit 1;;
esac
mptotex $f.mp \
| tex && dvitomp texput.dvi $f.mpx && mp $f.mp \
|| echo $0 failed!; exit 1