#! /bin/bash
# mathabx series by Anthony Phan.
# file: @comp (stupid batch script)
# last modification: 09.08.2001.
# 
# This script is helful for me. I just type 'bash @comp'
# It produces metrics and bitmaps (pk) for the 'ljfour' mode,
# then it wipes out temporary files
# and put the useful stuff in some directory...
# It is used for development only (focusing on one or two fonts).

for fontxx in $1
do
 mf "\mode=ljfour; input $fontxx"; gftopk $fontxx.600gf;
  mf "\mode=ljfour; mag=1.2; input $fontxx"; gftopk $fontxx.720gf;
done;

mv *.tfm ../tfm; mv *pk ../pk; rm *gf; rm *.log; rm *.dvi;
