summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/man/mft.man
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/man/mft.man')
-rw-r--r--Build/source/texk/web2c/man/mft.man106
1 files changed, 53 insertions, 53 deletions
diff --git a/Build/source/texk/web2c/man/mft.man b/Build/source/texk/web2c/man/mft.man
index cedecd79630..39b0f4c1c72 100644
--- a/Build/source/texk/web2c/man/mft.man
+++ b/Build/source/texk/web2c/man/mft.man
@@ -1,5 +1,7 @@
.TH MFT 1 "14 December 1993" "Web2C @VERSION@"
.\"=====================================================================
+.if n .ds MP MetaPost
+.if t .ds MP MetaPost
.if n .ds MF Metafont
.if t .ds MF M\s-2ETAFONT\s0
.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP
@@ -15,28 +17,11 @@
.if n .ds LX LaTeX
.\"=====================================================================
.SH NAME
-mft \- translate Metafont code to TeX code for prettyprinting
+mft \- translate Metafont or MetaPost code to TeX code for prettyprinting
.SH SYNOPSIS
.B mft
-.I mf_file_name[.mf]
-[
-[
-.B \-c
-]
-or
-[
-.I change_file_name[.ch]
-]
-]
-[
-[
-.B \-s
-]
-or
-[
-.I style_file_name[.mft]
-]
-]
+.RI [ OPTIONS ]
+.BR \fImf_file_name\fP [ .mf | .mp ]
.\"=====================================================================
.SH DESCRIPTION
This manual page is not meant to be exhaustive. The complete
@@ -46,57 +31,72 @@ or manual
.PP
The
.B mft
-program creates a \*(TX file from a \*(MF program.
+program creates a \*(TX file from a \*(MF or \*(MP program.
It takes appropriate care of typographic details like page
layout and the use of indentation, italics, boldface, etc., as illustrated
in the book
.IR "Computer Modern Typefaces" .
-Special conventions in \*(MF comments allow you to control things that
+Special conventions in \*(MF and \*(MP comments allow you to control things that
would not otherwise come out right; section 1 of the MFT source program
in the
.I \*(MFware
report explains these rules.
.PP
-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
+The
+.B mft
+program uses an optional change file (which works just as the change files to
.BR tangle (1)
and
.BR weave (1)
do)
-and an optional style file (which is prepended to everything).
+and one or several style files (which are prepended to everything).
+If no style file is specified, the style file
+.B plain.mft
+for \*(MF (or
+.B mplain.mft
+for \*(MP) is automatically used.
.PP
-A file name that doesn't contain a dot is always given an extension,
-either
-.I .mf
-(\*(MF) or
-.I .ch
-(change) or
-.I .mft
-(style). If no style file is specified, the style file
-.I plain.mft
-is automatically used. The
-.I change_file_name
-is not searched for using any paths. The
-.I .mf
-file 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
-.BR tex (1)
-for the details of the searching.
+The
+.IR mf_file_name ,
+optional
+.IR change_file_name ,
+and
+.I style_file_name
+files are searched for using the MFINPUTS (for \*(MF) or MPINPUTS (for
+\*(MP) and MFTINPUTS environment variables if you have set them, or else the
+corresponding system defaults.
.PP
The output \*(TX file name is formed by using
-.I .tex
+.B .tex
in place of the extension of
.IR mf_file_name .
.\"=====================================================================
.SH OPTIONS
-Specify command-line options
-.B \-c
-to suppress the reading of a change file, and
-.B \-s
-to suppress the reading of a style file.
+.TP
+.BI \-change= change_file_name \fR[\fP.ch\fR]\fP
+Apply the change file
+.I change_file_name
+to
+.IR mf_file_name .
+.PP
+.TP
+.B \-metapost
+Assume
+.I mf_file_name
+is a \*(MP source file (this is the default if
+.I mf_file_name
+has the extension
+.BR .mp ).
+.PP
+.TP
+.BI \-style= style_file_name \fR[\fP.mft\fR]\fP
+Use the style file
+.I style_file_name
+insted of
+.B plain.mft
+(or
+.BR mplain.mft );
+this option can be given more than once.
.\"=====================================================================
.SH FILES
.TP
@@ -105,8 +105,8 @@ to suppress the reading of a style file.
.B mft
output.
.TP
-.I plain.mft
-Default style file.
+.IR plain.mft ", " mplain.mft
+Default style files.
.TP
.I cmbase.mft
Style file for Computer Modern.