mf2pt1: Installation
1.2 Installation
================
To install 'mf2pt1', move the 'mf2pt1' executable someplace where your
operating system can find it. If you're running Microsoft Windows, you
should rename the program to 'mf2pt1.pl', so that Windows knows it's a
Perl script. (Alternatively, if you have 'pl2bat', use that to produce
a 'mf2pt1.bat' file, which you can run as simply 'mf2pt1'.)
The next step is to produce a 'mf2pt1.mem' file from the supplied
'mf2pt1.mp'. The command to do this differs from system to system but
is usually something like the following:
mpost -progname=mpost -ini mf2pt1 \\dump
Move the resulting 'mf2pt1.mem' file someplace where MetaPost can
find it.
The 'mf2pt1' documentation (what you're reading now) is written in
Texinfo and can therefore easily be converted to a variety of formats:
PDF ('mf2pt1.pdf')
texi2pdf mf2pt1.texi
PostScript ('mf2pt1.ps')
texi2dvi mf2pt1.texi
dvips mf2pt1.dvi -o mf2pt1.ps
HTML ('mf2pt1.html')
makeinfo --html mf2pt1.texi
Info ('mf2pt1.info')
makeinfo mf2pt1.texi
N.B. The 'install-info' command is a convenient way to install
'mf2pt1.info' on your system.
On Unix, you may also want to generate an 'mf2pt1' man page. The man
page is embedded within the 'mf2pt1' Perl script and can be extracted
with 'pod2man':
pod2man --center="User Commands" --date="30 April 2014" \
--release="v2.5a" mf2pt1 > mf2pt1.1
You can then move 'mf2pt1.1' into '/usr/man/man1' or any other man page
directory. Note that the 'mf2pt1' man page is fairly rudimentary. It
is primarily a list of the command-line options (Font
information) and a pointer to the document that you're reading now.