1MFT(1) General Commands Manual MFT(1)
2
3
4
6 mft - translate Metafont code to TeX code for prettyprinting
7
9 mft mf_file_name[.mf] [ [ -c ] or [ change_file_name[.ch] ] ] [ [ -s ]
10 or [ style_file_name[.mft] ] ]
11
13 This manual page is not meant to be exhaustive. The complete documen‐
14 tation for this version of TeX can be found in the info file or manual
15 Web2C: A TeX implementation.
16
17 The mft program creates a TeX file from a Metafont program. It takes
18 appropriate care of typographic details like page layout and the use of
19 indentation, italics, boldface, etc., as illustrated in the book Com‐
20 puter Modern Typefaces. Special conventions in Metafont comments allow
21 you to control things that would not otherwise come out right; section
22 1 of the MFT source program in the Metafontware report explains these
23 rules.
24
25 The command line has one required file name and two optional file
26 names. The required one is a Metafont source file; there is also an
27 optional change file (which works just as the change files to tangle(1)
28 and weave(1) do) and an optional style file (which is prepended to
29 everything).
30
31 A file name that doesn't contain a dot is always given an extension,
32 either .mf (Metafont) or .ch (change) or .mft (style). If no style file
33 is specified, the style file plain.mft is automatically used. The
34 change_file_name is not searched for using any paths. The .mf file is
35 searched for using the MFINPUTS environment variable if you have set
36 it, or else the system default. The style file is searched for using
37 the TEXINPUTS environment variable. See tex(1) for the details of the
38 searching.
39
40 The output TeX file name is formed by using .tex in place of the exten‐
41 sion of mf_file_name.
42
44 Specify command-line options -c to suppress the reading of a change
45 file, and -s to suppress the reading of a style file.
46
48 mftmac.tex
49 TeX macros used by mft output.
50
51 plain.mft
52 Default style file.
53
54 cmbase.mft
55 Style file for Computer Modern.
56
58 mf(1), weave(1).
59 Donald E. Knuth, Computer Modern Typefaces (Volume E of Computers and
60 Typesetting), Addison-Wesley, 1986, ISBN 0-201-13446-2.
61 Donald E. Knuth et al., Metafontware.
62
64 Donald E. Knuth wrote the program, and he ported it to Unix with the
65 help of Pierre MacKay and the Unix port of weave by Howard Trickey and
66 Pavel Curtis. The program is published in the Metafontware technical
67 report, available from the TeX Users Group.
68
69
70
71Web2C 7.5.4 14 December 1993 MFT(1)