#!/bin/csh -f # need csh because of foreach used for running gftopk echo "\ This script runs metafont and gftopk to produce the \ following fonts / family / shapes:\ \ *********************************************************\ concrete\ *********************************************************\ \ Give metafont mode as first argument (default = localfont)\ \ Michael Cree, Volker Kuhlmann\ 9 July 94; Volker 8 Apr 95; 8 Apr 96\ v.kuhlmann@elec.canterbury.ac.nz\ " # CHANGELOG # # 8 Apr 96 (VK) # Added \scrollmode. Fixed docs. # 8 Apr 95 (VK) # Metafont mode can now be given as $1. if ( $#argv > 0 ) set MODE=$1 if ( ! $?MODE ) set MODE=localfont echo "" echo "**********************************" echo 'metafont mode is set to: '$MODE echo "**********************************" echo "" set MFARG='\mode='"$MODE"'; \scrollmode;' # CONCRETE ROMAN cmmf "$MFARG"' \mag=magstep(0);' input ccr5 cmmf "$MFARG"' \mag=magstep(0);' input ccr6 cmmf "$MFARG"' \mag=magstep(0);' input ccr7 cmmf "$MFARG"' \mag=magstep(0);' input ccr8 cmmf "$MFARG"' \mag=magstep(0);' input ccr9 cmmf "$MFARG"' \mag=magstep(0);' input ccr10 cmmf "$MFARG"' \mag=magstep(0.5);' input ccr10 # 10.95pt cmmf "$MFARG"' \mag=magstep(1);' input ccr10 # 12pt cmmf "$MFARG"' \mag=magstep(2);' input ccr10 # 14.4pt cmmf "$MFARG"' \mag=magstep(3);' input ccr10 # 17.28pt cmmf "$MFARG"' \mag=magstep(4);' input ccr10 # 20.74pt cmmf "$MFARG"' \mag=magstep(5);' input ccr10 # 24.88pt # CONCRETE CONDENSED SLANTED cmmf "$MFARG"' \mag=magstep(0);' input ccslc9 # CONCRETE ITALICS cmmf "$MFARG"' \mag=magstep(0);' input ccti10 cmmf "$MFARG"' \mag=magstep(0.5);' input ccti10 # 10.95pt cmmf "$MFARG"' \mag=magstep(1);' input ccti10 # 12pt # CONCRETE SMALL CAPS cmmf "$MFARG"' \mag=magstep(0);' input cccsc10 cmmf "$MFARG"' \mag=magstep(0.5);' input cccsc10 # 10.95pt cmmf "$MFARG"' \mag=magstep(1);' input cccsc10 # 12pt # CONCRETE MATH ITALICS cmmf "$MFARG"' \mag=magstep(0);' input ccmi10 echo "" echo "Metafont finished." echo "" echo "Now running GFtoPK." # note this requires csh or tcsh foreach file (*gf) gftopk $file end echo "GFtoPK finished." echo "" echo "" echo "To complete the font installation, do the following:" echo " copy all .tfm-files into the tfm directory" echo " copy all .pk-files into the pk-directory" echo " delete all .gf files." echo "" echo "Have a nice day." echo ""