blob: 6f7a072d16d3326c4a9f9a00b87edf57ea58d4aa (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#!/bin/bash
#
# $Id: runpmx,v 1.5 2005/11/28 23:12:15 rahtz Exp $
#
#et -x
export TEXINPUTS=inputs:
if test $? = 1
then
echo "WRONG number of args!"
exit 1
fi
F=`basename $1 .pmx`
if test -r $F.eps
then
echo $F.eps already made
else
pmxab $F.pmx
tex $F
musixflx $F
tex $F
if test -r $F.slu # slur M package called
then
musixpss $F
mpost $F
tex $F
fi
dvips -j -E -Ppp $F.dvi -o $F.eps
# ^ font subsetting
./cleaneps $F.eps
if test ! -s $F.eps
then
rm $F.eps
echo "*************************** eps file $F.eps has zero size"
exit 1
fi
rm -f $F.[123456789] $F.mp $F.log $F.dvi $F.mx? $F.pml $F.tex $F.slu
rm -f $F.pml
fi
|