<DIV>Hi, thank you for your response: By comparing a sucseesful execution and a failure execution I suspect that somehow the path might have been screwed up.</DIV>  <DIV>&nbsp;</DIV>  <DIV>This is sucessful execution:</DIV>  <DIV>&lt;&lt;mpost --tex=latex 2ms1<BR>This is MetaPost, Version 0.993 (Web2C 7.5.6)<BR>(2ms1.mp [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11{c:/TexLive2007/texmf-<BR>var/fonts/map/dvips/updmap/psfonts.map}] [21] [22] [31] [32] )<BR>16 output files written: 2ms1.0 .. 2ms1.32<BR>Transcript written on 2ms1.log.&gt;&gt;</DIV>  <DIV>&nbsp;</DIV>  <DIV>As you can see that&nbsp;in the middle of &nbsp;[11], it looked up c:/TexLive2007/texmf-var/fonts/map/dvips/updmap/psfonts.map and finish up the rest execution.</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>and this is a failure:</DIV>  <DIV>&lt;&lt;mpost --tex=latex 2ms3<BR>This is MetaPost, Version 0.993 (Web2C 7.5.6)<BR>(2ms3.mp [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]makempx: Command failed:
 la<BR>tex mpxerr.tex; see mpxerr.log</DIV>  <DIV>&gt;&gt; 2ms3.mp<BR>&gt;&gt; 2ms3.mpx<BR>! Unable to make mpx file.<BR>l.156 label.lft(btex<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $A$ etex, z8);<BR>11 output files written: 2ms3.0 .. 2ms3.10<BR>Transcript written on 2ms3.log.&gt;&gt;</DIV>  <DIV>&nbsp;</DIV>  <DIV>But here, in the middle of [10], somehow it couldnot find the right path&nbsp;and produce&nbsp;an error message "makempx: Command failed: latex mpxerr.tex; see mpxerr.log"</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV><BR><B><I>nicola &lt;vitacolo@dimi.uniud.it&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">In article <BR>&lt;6faad9f00703260425w16525f20v759c5569c388a810@mail.gmail.com&gt;,<BR>"Mojca Miklavec"
 <MOJCA.MIKLAVEC.LISTS@GMAIL.COM>wrote:<BR><BR>&gt; On 3/25/07, Steve MC Han wrote:<BR>&gt; &gt; Hi, I have trouble with metapost. Could someone give some insight for this?<BR>&gt; &gt;<BR>&gt; &gt; This is the error message.<BR>&gt; &gt;<BR>&gt; &gt; &lt;<! Unable to make mpx file.<br>&gt; &gt; l.78 label.bot(btex<BR>&gt; &gt; $\hbox{\sf Rectangle}$ etex, (0,-.6u));<BR>&gt; &gt; 6 output files written: 2MS4.1 .. 2MS4.8<BR>&gt; &gt; Transcript written on 2MS4.log.&gt;&gt;<BR>&gt; &gt;<BR>&gt; &gt; So, I tried set the path straight by typing "c:\TexLive2007\bin\win32" at<BR>&gt; &gt; command prompt, it magically worked. But with different file, I still have<BR>&gt; &gt; trouble with similar error message. This time, even with set path like<BR>&gt; &gt; above, it didn't work.<BR>&gt; &gt;<BR>&gt; &gt; &lt;<MPOST 2MS3<br --tex="latex">&gt; &gt; This is MetaPost, Version 0.993 (Web2C 7.5.6)<BR>&gt; &gt; (2MS3.mp [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]makempx:
 Command<BR>&gt; &gt; failed: la<BR>&gt; &gt; tex mpxerr.tex; see mpxerr.log<BR>&gt; &gt; &gt;&gt; 2MS3.mp<BR>&gt; &gt; &gt;&gt; 2MS3.mpx<BR>&gt; &gt; ! Unable to make mpx file.<BR>&gt; &gt; l.156 label.lft(btex<BR>&gt; &gt; $A$ etex, z8);<BR>&gt; &gt; 11 output files written: 2MS3.0 .. 2MS3.10<BR>&gt; &gt; Transcript written on 2MS3.log.&gt;&gt;<BR>&gt; &gt;<BR>&gt; &gt; This trouble started after I did "mptopdf". At first, mptopdf didn't create<BR>&gt; &gt; pdf files even thoufgh there was no error message. So, by consulting Contex<BR>&gt; &gt; conversion to pdf manual<BR>&gt; &gt;<BR>&gt; &gt; http://tex.aanhet.net/context/mirror/general/sources/mptopdf.pdf<BR>&gt; &gt;<BR>&gt; &gt; I typed "pdftex --ini mptopdf" at prompt command and after that it produced<BR>&gt; &gt; pdf files but now mpost didn't work with the above error message. I think<BR>&gt; &gt; path<BR>&gt; &gt;<BR>&gt; &gt; c:/TeXLive2007/texmf-var/fonts/map/dvips/updmap/psfonts.map<BR>&gt; &gt;<BR>&gt; &gt;
 is screwed up somehow.<BR>&gt; <BR>&gt; The mechanism has been changed heavily in May 2006 (before that, the<BR>&gt; old mechanism sometimes didn't recognize ConTeXt properly), so I was<BR>&gt; finally glad that it worked as it should. But no LaTeX user has ever<BR>&gt; upgraded ConTeXt before TeXLive 2007 came around. I used mptopdf, but<BR>&gt; it never came to my mind to try it with the latex switch.<BR>&gt; <BR>&gt; In the long term it should really be fixed, but as a temporary<BR>&gt; workaround you should be able to convert files without the latex<BR>&gt; switch. If you need some special settings (a special font or whatever<BR>&gt; else), please post some concrete example. You can just delete<BR>&gt; everything latex-related and safely use ConTeXt command with mptopdf<BR>&gt; (which really shouldn't be much different).<BR>&gt; <BR>&gt; I'm really sorry for the inconvenience ...<BR>&gt; <BR>&gt; See also http://www.ntg.nl/pipermail/ntg-context/2007/023050.html<BR>&gt;
 <BR>&gt; Mojca<BR>&gt; <BR>&gt; <BR>&gt; A minimal example for Hans:<BR>&gt; <BR>&gt; verbatimtex<BR>&gt; %&amp;latex<BR>&gt; \documentclass[12pt,a4paper]{article}<BR>&gt; \begin{document}<BR>&gt; etex<BR>&gt; <BR>&gt; beginfig(1);<BR>&gt; draw btex $A$ etex;<BR>&gt; endfig;<BR>&gt; end.<BR>&gt; <BR>&gt; (perhaps it would make sense to add a note on<BR>&gt; http://www.tug.org/texlive/bugs.html)<BR><BR>Just to mention that last weekend I have posted a similar problem in <BR>gmane.comp.tex.context (maybe this mailing list is better for questions <BR>related to mptopdf?):<BR><BR>http://thread.gmane.org/gmane.comp.tex.context/33948<BR><BR>&gt;From what I have read above, I deduce that mptopdf should not be used <BR>with %&amp;latex (at least for now), but I would be glad if someone could <BR>answer the questions of my other message, because I am a bit confused <BR>(after all, mptopdf does call mpost, right?).<BR><BR>One reason why I would use mptopdf with LaTeX is to include
 images with <BR>externalfigure and to add labels with LaTeX-specific features (e.g., <BR>symbols in mathrsfs or yfonts packages). Is there a better way to do <BR>that?<BR><BR>Nicola<BR><BR>_______________________________________________<BR>metapost mailing list<BR>http://tug.org/mailman/listinfo/metapost<BR></BLOCKQUOTE><BR><p>&#32;

<hr size=1>TV dinner still cooling?<br><a href="http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/">Check out "Tonight's Picks"</a> on Yahoo! TV.