- system "cd ..; lilypond input/$a; tex $texfile; dvips $texfile;";
- system "mv ../$texfile.ps $a.ps";
- system "gs -q -sDEVICE=ppmraw -sOutputFile=- -r200 -dNOPAUSE $a.ps -c quit |pnmscale 0.5| ppmtogif > $a.gif"
+ system "cd ..; lilypond input/$a; tex $texfile;";
+ system "dvips -o $texfile.ps $texfile;";
+ system "mv ../$texfile.ps $a.ps;".
+ "gs -q -sDEVICE=ppmraw -sOutputFile=- -r200 -dNOPAUSE $a.ps -c quit |pnmscale 0.5| ppmtogif > $a.gif"