GENERATING/INSTALLING FONTS FOR TeX/LaTeX
[This is makefonts release 1.5, 12 Aug 1998]
When installing the TeX/LaTeX typesetting system, it is necessary to
make the basic computer modern (cm) fonts available. To do this there
are 2 principally different approaches:
1) Create the .pk file for a particular font and size, automatically
The .tfm file must already be available to LaTeX.
2) Generate the basic .tfm and .pk files all at once.
No .tfm files are needed.
The UNIX shell scripts provided here are for approach 2) and generate
various fonts, and install them. They take care of the question: Which
fonts and at which sizes do I generate for my TeX/LaTeX installation?
The files in the distribution are:
mk_cm Generate all cm fonts. It generates all fonts
which can be called up by LaTeX (as of LaTeX2e's
cmfonts.fdd) without explicitly loading a particular
font. It also generates a few fonts which are
distributed with TeX.
mk_cmmore Generates a few rare sizes of cm sometimes used (by
mk_latex Generates the LaTeX specific fonts.
mk_ams Generates all AMS fonts.
mk_* Generates other fonts which are available from CTAN.
FontInstall Moves the .tfm and .pk files generated to the directory
specified. Before you use this, call it without
parameters and see whether it fits your directory
Helps with installing PostScript fonts. It copies
required files from CTAN:fonts/metrics to target
directories. Again, call it without parameters and see
whether it fits your directory structure!
For a basic set of fonts for a LaTeX installation, use mk_cm,
mk_latex. AMS-LaTeX requires mk_ams. Before running any of the mk_*
scripts, create an empty subdirectory, cd to it, and make sure all your
.mf files are found by metafont (environment variable $MFINPUTS).
The mk_* scripts call metafont with mode=localfont, unless the metafont
mode is given as first argument. The metafont base needs to be set
correctly. Metafont is called as "mf" for the metafont plain base, and
as "cmmf" for the metafont plain+computer modern base. If any of these
names or parameters do not suit your installation plans, it should be
easy to make adaptations to the shell scripts with a search/replace.
If you are unsure about how to handle metafont, get Geoffrey Tobin's
excellent metafont-for-beginners.tex from any CTAN archive. This is
sufficient reading to install the above fonts. For details about the
CTAN archives, finger firstname.lastname@example.org.
Currently none known.
University of Canterbury
Dept of Electrical and Electronic Engineering
Christchurch, New Zealand
This material is not copyrighted. It is provided with the hope that it
will be useful. Any feedback, positive, negative, (non-)constructive,
Have fun, and good luck!