1MFT(1)                      General Commands Manual                     MFT(1)
2
3
4

NAME

6       mft  -  translate Metafont or MetaPost code to TeX code for prettyprin‐
7       ting
8

SYNOPSIS

10       mft [OPTIONS] mf_file_name[.mf|.mp]
11

DESCRIPTION

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 or MetaPost program.
18       It  takes  appropriate care of typographic details like page layout and
19       the use of indentation, italics, boldface, etc., as illustrated in  the
20       book  Computer  Modern  Typefaces.  Special conventions in Metafont and
21       MetaPost comments allow you to control things that would not  otherwise
22       come out right; section 1 of the MFT source program in the Metafontware
23       report explains these rules.
24
25       The mft program uses an optional change file (which works just  as  the
26       change  files  to  tangle(1)  and weave(1) do) and one or several style
27       files (which are prepended to everything).  If no style file is  speci‐
28       fied,  the  style  file plain.mft for Metafont (or mplain.mft for Meta‐
29       Post) is automatically used.
30
31       The mf_file_name, optional change_file_name, and style_file_name  files
32       are  searched  for  using  the MFINPUTS (for Metafont) or MPINPUTS (for
33       MetaPost) and MFTINPUTS environment variables if you have set them,  or
34       else the corresponding system defaults.
35
36       The output TeX file name is formed by using .tex in place of the exten‐
37       sion of mf_file_name.
38

OPTIONS

40       -change=change_file_name[.ch]
41              Apply the change file change_file_name to mf_file_name.
42
43       -metapost
44              Assume mf_file_name is a  MetaPost  source  file  (this  is  the
45              default if mf_file_name has the extension .mp).
46
47       -style=style_file_name[.mft]
48              Use  the  style  file  style_file_name  insted  of plain.mft (or
49              mplain.mft); this option can be given more than once.
50

FILES

52       mftmac.tex
53              TeX macros used by mft output.
54
55       plain.mft, mplain.mft
56              Default style files.
57
58       cmbase.mft
59              Style file for Computer Modern.
60

SEE ALSO

62       mf(1), weave(1).
63       Donald E. Knuth, Computer Modern Typefaces (Volume E of  Computers  and
64       Typesetting), Addison-Wesley, 1986, ISBN 0-201-13446-2.
65       Donald E. Knuth et al., Metafontware.
66

AUTHORS

68       Donald  E.  Knuth  wrote the program, and he ported it to Unix with the
69       help of Pierre MacKay and the Unix port of weave by Howard Trickey  and
70       Pavel  Curtis.   The program is published in the Metafontware technical
71       report, available from the TeX Users Group.
72
73
74
75Web2C 2012                     14 December 1993                         MFT(1)
Impressum