#!/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:\ \ *********************************************************\ lcircle, lcirclew, line, linew, lasy, lasyb\ (required by LaTeX2e)\ *********************************************************\ \ Give metafont mode as first argument (default = localfont)\ \ Michael Cree, Volker Kuhlmann\ 9 July 94; Volker 1 Jan 94; 8 Apr 95; 8 Apr 96\ v.kuhlmann@elec.canterbury.ac.nz\ " # CHANGELOG # # 22 ct 96 (VK) # Added comments about missing slide fonts. # 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;' # LaTeX font: lcircle mf "$MFARG"' \mag=magstep(0);' input lcircle10 # LaTeX font: lcirclew mf "$MFARG"' \mag=magstep(0);' input lcirclew10 # LaTeX font: line mf "$MFARG"' \mag=magstep(0);' input line10 # LaTeX font: linew mf "$MFARG"' \mag=magstep(0);' input linew10 # LaTeX font: lasy mf "$MFARG"' \mag=magstep(0);' input lasy5 mf "$MFARG"' \mag=magstep(0);' input lasy6 mf "$MFARG"' \mag=magstep(0);' input lasy7 mf "$MFARG"' \mag=magstep(0);' input lasy8 mf "$MFARG"' \mag=magstep(0);' input lasy9 mf "$MFARG"' \mag=magstep(0);' input lasy10 mf "$MFARG"' \mag=magstep(0.5);' input lasy10 # 10.95pt mf "$MFARG"' \mag=magstep(1);' input lasy10 # 12pt mf "$MFARG"' \mag=magstep(2);' input lasy10 # 14.4pt mf "$MFARG"' \mag=magstep(3);' input lasy10 # 17.28pt mf "$MFARG"' \mag=magstep(4);' input lasy10 # 20.74pt mf "$MFARG"' \mag=magstep(5);' input lasy10 # 24.88pt # LaTeX font: lasyb mf "$MFARG"' \mag=magstep(0);' input lasyb10 mf "$MFARG"' \mag=magstep(0.5);' input lasyb10 # 10.95pt mf "$MFARG"' \mag=magstep(1);' input lasyb10 # 12pt mf "$MFARG"' \mag=magstep(2);' input lasyb10 # 14.4pt mf "$MFARG"' \mag=magstep(3);' input lasyb10 # 17.28pt mf "$MFARG"' \mag=magstep(4);' input lasyb10 # 20.74pt mf "$MFARG"' \mag=magstep(5);' input lasyb10 # 24.88pt # LaTeX fonts: sans serif, sans serif bold, sans serif italics mf "$MFARG"' \mag=magstep(0);' input lcmss8 mf "$MFARG"' \mag=magstep(0);' input lcmssb8 mf "$MFARG"' \mag=magstep(0);' input lcmssi8 # LaTeX slide fonts missing (and prob others too) # Who can tell me which fonts are actually used by LaTeX? 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 ""