This script converts MetaPost output files (with .mps file extensions )
into stand-alone (self-contained) Encapsulated PostScript files (with
all necessary fonts included.  Although MetaPost figures' final
destination are often inclusion into TeX documents, it is often useful
to view the figures during their development process.  To this end,
stand-alone EPS figures are often desired.

Usage: mpstoeps foo.mps

converts foo.mps into the stand-alone EPS foo.eps

Note: The canonical naming scheme for MetaPost output files (with source
foo.mp) is foo.1, foo.2, etc.  For philosophical reasons, this script
requires an alternative naming scheme (e.g. foo_1.mps, foo_2.mps, etc.)
so that the .mps file extension is appended to the MetaPost jobname.