MFT(1) MFT(1)
NAME
mft - translate Metafont code to TeX code for prettyprint-
ing
SYNOPSIS
mft mf_file_name[.mf] [-cs] [change_file_name[.ch]]
[style_file_name[.mft]]
DESCRIPTION
The mft program creates a TeX file from a Metafont pro-
gram. It takes appropriate care of typographic details
like page layout and the use of indentation, italics,
boldface, etc., as illustrated in the book ComputerModern-
Typefaces, by Donald Knuth. Special conventions in Meta-
font comments allow you to control things that would not
otherwise come out right; section 1 of the MFT source pro-
gram in the METAFONTware report explains these rules.
The command line has one required file name and two
optional file names. The required one is a Metafont
source file; there is also an optional change file (which
works just as the change files to tangle(1) and weave(1)
do) and an optional style file (which is prepended to
everything).
A file name that doesn't contain a dot is always given an
extension, either .mf (Metafont) or .ch (change) or .mft
(style). If no style file is specified, the style file
plain.mft is automatically used. The changefilename is
not searched for using any paths. The .mf file is searched
for using the MFINPUTS environment variable if you have
set it, or else the system default:
.:/usr/contrib/lib/mf/inputs:/usr/src/contrib/tex/fonts//.
The style file is searched for using the TEXINPUTS envi-
ronment variable; the default there is:
.:/usr/contrib/lib/tex/inputs// /*TeXsource*/. See
tex(1) for the details of the searching.
The output TeX file name is formed by using .tex in place
of the extension of mffilename.
FILES
/usr/contrib/lib/tex/inputs/mftmac.tex
TeX macros used by mft output.
/usr/contrib/lib/tex/inputs/plain.mft
Default style file.
/usr/contrib/lib/tex/inputs/cmbase.mft
Style file for Computer Modern.
SEE ALSO
mf(1), weave(1)
Donald Knuth et al., METAFONTware
7 Jan 92 1
MFT(1) MFT(1)
AUTHORS
Donald Knuth wrote the program, and he ported it to Unix
with the help of Pierre MacKay and the Unix port of weave
by Howard Trickey and Pavel Curtis. The program is pub-
lished in the METAFONTware technical report, available
from the TeX Users Group.
7 Jan 92 2