/usr/share/texmf/fonts/source/fkr/tipa/mktipapk.sh is in tipa 2:1.3-19.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | #!/bin/sh
#
# This script generates pk font files for tipa.
#
# TIPA is a set of metafont source files for IPA (International
# Phonetic Alphabet) symbols. You can get it from the CTAN archive.
#
# In order to use this script, metafont programs, gftopk, and metafont
# source files (*.mf) must be installed properly.
#
# You should also be familiar with the `modes.mf' file which contains
# parameters for various printers.
#
# 1996/03/12 FUKUI Rei (fkr@tooyoo.L.u-tokyo.ac.jp)
#
progname=`basename "$0"`
MF=mf
if [ $# != 0 ]; then
MODE=$1
else
echo "Usage: $progname mode_name"
echo "Examples: $progname localfont"
echo " : $progname CanonCX"
exit 1
fi
execmf()
{
for file in $MFFILES
do
echo "[ $file at mag=$MAG ]"
$MF "\mode=$MODE; mag=$MAG; nonstopmode;" input $file
done
}
cmbase=/usr/local/lib/texmf/fonts/public/cm/src/cmbase.mf
if [ -f $cmbase ]; then
ln -s $cmbase cmbase.mf
fi
##############################
# make all fonts for mag 5/8 #
##############################
MFFILES="tipa8 tipasl8 tipabx8 tipass8"
MAG=5/8
execmf
##############################
# make all fonts for mag 6/8 #
##############################
MFFILES="tipa8 tipasl8 tipabx8 tipass8"
MAG=6/8
execmf
##############################
# make all fonts for mag 7/8 #
##############################
MFFILES="tipa8 tipasl8 tipabx8 tipass8"
MAG=7/8
execmf
#############################
# make all fonts for mag .5 #
#############################
MFFILES="tipab10"
MAG=.5
execmf
#############################
# make all fonts for mag .6 #
#############################
MFFILES="tipab10"
MAG=.6
execmf
#############################
# make all fonts for mag .7 #
#############################
MFFILES="tipab10"
MAG=.7
execmf
#############################
# make all fonts for mag .8 #
#############################
MFFILES="tipab10"
MAG=.8
execmf
#############################
# make all fonts for mag .9 #
#############################
MFFILES="tipab10"
MAG=.9
execmf
############################
# make all fonts for mag 1 #
############################
MFFILES="tipa8 tipa9 tipa10 tipa12 tipa17 tipasl8 tipasl9 tipasl10 tipasl12 \
tipabx8 tipabx9 tipabx10 tipabx12 tipass8 tipass9 tipass10 tipass12 \
tipass17 tipab10"
MAG=1
execmf
##################################
# make all fonts for magstep 0.5 #
##################################
MFFILES="tipa10 tipasl10 tipabx10 tipass10 tipab10"
MAG=magstep.5
execmf
################################
# make all fonts for magstep 1 #
################################
MFFILES="tipa12 tipa17 tipasl12 tipabx12 tipass12 tipass17 tipab10"
MAG=magstep1
execmf
################################
# make all fonts for magstep 2 #
################################
MFFILES="tipa17 tipasl12 tipabx12 tipass17 tipab10"
MAG=magstep2
execmf
################################
# make all fonts for magstep 3 #
################################
MFFILES="tipasl12 tipabx12 tipab10"
MAG=magstep3
execmf
################################
# make all fonts for magstep 4 #
################################
MFFILES="tipasl12 tipabx12 tipab10"
MAG=magstep4
execmf
################################
# make all fonts for magstep 5 #
################################
MFFILES="tipab10"
MAG=magstep5
execmf
for gf in tipa*gf
do
gftopk $gf
done
rm -f *gf *.log cmbase.mf
#rm -f *.tfm
exit 0
|