summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man1/mft.1
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-19 08:40:53 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-19 08:40:53 +0000
commite9a2a190f6ce2e9e0027affddb6022f977bbf766 (patch)
tree9bdbbadcbaeff10bd7cba344bb2538873d72e7f3 /Master/texmf/doc/man/man1/mft.1
parent324f853c7ef10cf23765b740f3a2f5a6164ad426 (diff)
update manpages
git-svn-id: svn://tug.org/texlive/trunk@18350 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/doc/man/man1/mft.1')
-rw-r--r--Master/texmf/doc/man/man1/mft.1108
1 files changed, 54 insertions, 54 deletions
diff --git a/Master/texmf/doc/man/man1/mft.1 b/Master/texmf/doc/man/man1/mft.1
index f63eddae077..3bf3d367659 100644
--- a/Master/texmf/doc/man/man1/mft.1
+++ b/Master/texmf/doc/man/man1/mft.1
@@ -1,5 +1,7 @@
-.TH MFT 1 "14 December 1993" "Web2C 2009"
+.TH MFT 1 "14 December 1993" "Web2C 2010/pretest"
.\"=====================================================================
+.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.