#! /bin/bash
# mathabx series by Anthony Phan.
# file: @compile (stupid compilation script)
# last modification: 09.08.2001.
# 
# This script is helful for me. I just type 'bash @compile'
# then drink my coffee. It produces metrics and bitmaps (pk)
# for the 'ljfour' mode, then it wipes out temporary files
# and put the useful stuff in some directory...
# PLEASE CHANGE THE THIS FILE FOR YOUR OWN NEEDS.

for xx in 12 10 9 8 7 6 5
  do
  for font in "matha" "mathb"
    do
    for weight in "m" #"b"
      do
      mf "\mode=ljfour; input $font$weight$xx";
      gftopk $font$weight$xx.600gf;
      mf "\mode=ljfour; mag=1.2; input $font$weight$xx";
      gftopk $font$weight$xx.720gf;
    done;
  done;
done;

for fontxx in mathcm10 mathxm10 mathum10 mathuxm10 mathastrotest10
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;

