#!/bin/bash
#
# $Id: runmtx,v 1.4 2005/11/28 22:58:34 rahtz Exp $
#
#et -x
export TEXINPUTS=inputs:
if test $? = 1
then
echo "WRONG number of args!"
exit 1
fi
F=`basename $1 .mtx`
if test -r $F.eps
then
echo $F.eps already made
else
prepmx $F.mtx
./runpmx $F.pmx
rm -f $F.pmx $F.mid
fi