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/mkxipapk.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/mkxipapk.sh')
-rw-r--r-- | Master/texmf-dist/doc/fonts/tipa/mkxipapk.sh | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/tipa/mkxipapk.sh b/Master/texmf-dist/doc/fonts/tipa/mkxipapk.sh new file mode 100644 index 00000000000..64fb4f87111 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/tipa/mkxipapk.sh @@ -0,0 +1,147 @@ +#!/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 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.5 +execmf + +############################# +# make all fonts for mag .6 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.6 +execmf + +############################# +# make all fonts for mag .7 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.7 +execmf + +############################# +# make all fonts for mag .8 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.8 +execmf + +############################# +# make all fonts for mag .9 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.9 +execmf + +############################ +# make all fonts for mag 1 # +############################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=1 +execmf + +################################## +# make all fonts for magstep 0.5 # +################################## + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep.5 +execmf + +################################ +# make all fonts for magstep 1 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep1 +execmf + +################################ +# make all fonts for magstep 2 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep2 +execmf + +################################ +# make all fonts for magstep 3 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep3 +execmf + +################################ +# make all fonts for magstep 4 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep4 +execmf + +################################ +# make all fonts for magstep 5 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep5 +execmf + +for gf in xipa*gf +do + gftopk $gf +done + +rm -f *gf *.log cmbase.mf +#rm -f *.tfm + +exit 0 |