# Install .tfm files from .mf files for TeX-FPC f=`basename $1 .mf` case $# in 1) mag=1;; 2) mag=$2;; *) echo Usage: $0 mf-file [ magnification ]; exit 1 esac rm -f $f.*gf mf "\\mode=localfont; batchmode; input $1"\ && mv $f.tfm TeXfonts/ \ && rm $f.log && rm $f.*gf \ && echo $1.tfm installed \ || (echo $0 $1 $mag >>trouble; echo $f failed, see file trouble)