#!/bin/sh AFM=/usr/common/lib/tex3/fonts/afm VF=/usr/common_master/lib/tex3/fonts/vf/PSLATEX TFM=/usr/common_master/lib/tex3/fonts/tfm/PSLATEX echo '# this should only be taken as a starting point' >psfonts.newext echo '# execute this to install fonts' >cmnds echo '# output (mostly garbage) from vptovf' >vperrs # make smallcaps fonts echo Making SmallCaps of... while read afm new old do echo $afm ./afm2tfm $AFM/$afm -V vpl/$new.vpl tfm/$new.tfm ed - vpl/$new.vpl <<-yyy g/^(FAMILY/d g/^(CHECKSUM/d g/^ (FONTNAME/s/ [^ ]*)/ $old)/ w q yyy vptovf vpl/$new.vpl vf/$new.vf tfm/$new.tfm >>vperrs echo mv -i vf/$new.vf $VF >>cmnds echo mv -i tfm/$new.tfm $TFM >>cmnds done <>psfonts.newext echo mv -i tfm/$new.tfm $TFM >>cmnds done </dev/null then # bold fonts don't need thickening echo $new $afm-Narrow '"'$con ExtendFont'"' >>psfonts.newext else echo $new $afm-Narrow '"'$con ExtendFont 1.3 ThickenFont'"' >>psfonts.newext fi echo mv -i tfm/$new.tfm $TFM >>cmnds done <