summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/runmtx
blob: 50f168ea360268df68628c4a443e2fded508a219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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