<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hi,</span></div><div><br><span></span></div><div><span>I'm using MiKTeX version 2.9 and MetaPost version 1.504. I'm no longer able to use LaTeX in MetaPost. The file</span></div><div><br><span></span></div><div><span>verbatimtex<br>%&latex<br>\documentclass{article}<br>\begin{document}<br>etex<br><br>input latexMP;<br><br>filenametemplate "%j-%3c.mps";<br><br>beginfig(1);<br><br>  draw (0, 0)--(150, 150);<br>  label(btex $A$ etex, (0, 0));<br>  show mpversion;<br><br>endfig;<br><br>verbatimtex<br>\end{document}<br>etex<br><br>end</span></div><div><br>fails because LaTeX commands aren't recognized. The error file is<br><br>This is TeX, Version 3.1415926 (MiKTeX 2.9) (preloaded format=tex 2012.2.7)  7 FEB 2012 10:28<br>**mp632087.tex<br>(C:\Personal\MetaPost-Manual\1.005\Graphics\mp632087.tex<br>!
 Undefined control sequence.<br>l.2 \documentclass<br>                  {article}<br>The control sequence at the end of the top line<br>of your error message was never \def'ed. If you have<br>misspelled it (e.g., `\hobx'), type `I' and the correct<br>spelling (e.g., `I\hbox'). Otherwise just continue,<br>and I'll forget about whatever was undefined.<br><br>! Undefined control sequence.<br>l.3 \begin<br>          {document}<br>The control sequence at the end of the top line<br>of your error message was never \def'ed. If you have<br>misspelled it (e.g., `\hobx'), type `I' and the correct<br>spelling (e.g., `I\hbox'). Otherwise just continue,<br>and I'll forget about whatever was undefined.<br><br>[1] [1] )<br>Output written on mp632087.dvi (2 pages, 340 bytes).<br><br>What should I do?<br> </div><div><font color="#0000ff"
 face="verdana, helvetica, sans-serif" size="2"><b>Carlos Mallén</b></font></div></div></body></html>