1. NAME

mft - translate Metafont code to TeX code for prettyprinting

2. SYNOPSIS

mft mf_file_name[.mf][ [

-c ] or [ change_file_name[.ch]] ] [ [

-s ] or [ style_file_name[.mft]] ]

3. DESCRIPTION

This manual page is not meant to be exhaustive. The complete documentation for this version of \*(TX can be found in the info file or manual "Web2C: A TeX implementation" .

The

mft program creates a \*(TX file from a \*(MF program. It takes appropriate care of typographic details like page layout and the use of indentation, italics, boldface, etc., as illustrated in the book "Computer Modern Typefaces" . Special conventions in \*(MF comments allow you to control things that would not otherwise come out right; section 1 of the MFT source program in the \*(MFwarereport explains these rules.

The command line has one required file name and two optional file names. The required one is a \*(MF source file; there is also an optional change file (which works just as the change files to

R tangle (1) and

R 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(\*(MF) or .ch(change) or .mft(style). If no style file is specified, the style file plain.mftis automatically used. The change_file_nameis not searched for using any paths. The .mffile is searched for using the MFINPUTS environment variable if you have set it, or else the system default. The style file is searched for using the TEXINPUTS environment variable. See

R tex (1) for the details of the searching.

The output \*(TX file name is formed by using .texin place of the extension of mf_file_name .

4. OPTIONS

Specify command-line options

-c to suppress the reading of a change file, and

-s to suppress the reading of a style file.

5. FILES

  • mftmac.tex
        \*(TX macros used by

mft output.

  • plain.mft
        Default style file.
  • cmbase.mft
        Style file for Computer Modern.

6. SEE ALSO

R mf (1),

R weave (1).
Donald E. Knuth, Computer Modern Typefaces(Volume E of "Computers and Typesetting" ), Addison-Wesley, 1986, ISBN 0-201-13446-2.
Donald E. Knuth et al., \*(MFware .

7. AUTHORS

Donald E. 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 published in the \*(MFwaretechnical report, available from the \*(TX Users Group.