Section: User Commands (1)
Updated: 27 May 2018
Return to Main Contents
mft - translate Metafont or MetaPost code to TeX code for prettyprinting
This manual page is not meant to be exhaustive. The complete
documentation for this version of TeX can be found in the info file
Web2C: A TeX implementation.
program creates a TeX file from a Metafont or MetaPost 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 Metafont and MetaPost comments allow you to control things that
would not otherwise come out right; section 1 of the MFT source program
report explains these rules.
program uses an optional change file (which works just as the change files to
and one or several style files (which are prepended to everything).
If no style file is specified, the style file
for Metafont (or
for MetaPost) is automatically used.
files are searched for using the MFINPUTS (for Metafont) or MPINPUTS (for
MetaPost) and MFTINPUTS environment variables if you have set them, or else the
corresponding system defaults.
The output TeX file name is formed by using
in place of the extension of
Apply the change file
is a MetaPost source file (this is the default if
has the extension
Use the style file
this option can be given more than once.
TeX macros used by
- plain.mft, mplain.mft
Default style files.
Style file for Computer Modern.
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.,
Donald E. Knuth wrote the program, and he ported it to Unix with the help of
Pierre MacKay and the Unix port of
by Howard Trickey and Pavel Curtis.
The program is published in the
technical report, available from the TeX Users Group.
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:49:30 GMT, August 18, 2019