diff options
author | Karl Berry <karl@freefriends.org> | 2012-01-31 01:17:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-01-31 01:17:53 +0000 |
commit | 5c01d6ca1760f78d5b83b08e695e958618044348 (patch) | |
tree | aee939610e9d4d0726674255d004253aa7b62a98 /Master/texmf-dist/doc/fonts/tipa/mktipapk.sh | |
parent | 7897713eab49f38e5bdc53c28bc7d4d770eb9a32 (diff) |
tipa non-update, for vowel.pdf (29jan12)
git-svn-id: svn://tug.org/texlive/trunk@25247 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/tipa/mktipapk.sh')
-rw-r--r-- | Master/texmf-dist/doc/fonts/tipa/mktipapk.sh | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/tipa/mktipapk.sh b/Master/texmf-dist/doc/fonts/tipa/mktipapk.sh new file mode 100644 index 00000000000..e13a0ee85eb --- /dev/null +++ b/Master/texmf-dist/doc/fonts/tipa/mktipapk.sh @@ -0,0 +1,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 |