I wish I could understand one single line of theses!
 
C:\Han\slide>mpto -tex 2MS2.mp
\documentclass[12pt]{amsart}
\usepackage{mflogo}
\begin{document}
\newif\ifloadfontfileonce
%
\gdef\mpxshipout{\shipout\hbox\bgroup
  \setbox0=\hbox\bgroup}
\gdef\stopmpxshipout{\egroup  \dimen0=\ht0 \advance\dimen0\dp0
  \dimen1=\ht0 \dimen2=\dp0
  \setbox0=\hbox\bgroup
    \box0
    \ifnum\dimen0>0 \vrule width1sp height\dimen1 depth\dimen2
    \else \vrule width1sp height1sp depth0sp\relax
    \fi\egroup
  \ht0=0pt \dp0=0pt \box0 \egroup}
\mpxshipout% line 151 2MS2.mp
$A$\stopmpxshipout
....
etc.
Steve MC Han wrote:
> Still it says "command failed" as you can see below.
>
> C:\Han\slide>mpost --tex=latex 2MS2
> This is MetaPost, Version 0.993 (Web2C 7.5.6)
> (2MS2.mp [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]makempx: Command failed: mp
> to -tex 2MS2.mp

So, you should try this command:

mpto -tex 2MS2.mp

tex-based labels in metapost are not simply created by one
program, but a number of programs called in turn. For
simplicity's sake, the relevant commands are normally hidden.

Taco


Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.