« Return to Thread: Problem using LaTeX in MetaPost

Re: Problem using LaTeX in MetaPost

by Carlos Mallen-2 :: Rate this Message:

| View in Thread

Hi,

I had to use LaTeX instead of TeX to process mpxerr.tex. The DVI shows letter A and a thin vertical rule to the right. 

Kind regards,

 
Carlos Mallén


________________________________
 From: Pétiard François <petiard.francois@...>
To: miktex-users@...
Sent: Tuesday, February 7, 2012 5:29 PM
Subject: Re: [MiKTeX] Problem using LaTeX in MetaPost
 
Le 07/02/2012 23:16, Carlos Mallen a écrit :

> Hi,
>
> I'm using MiKTeX version 2.9 and MetaPost version 1.504. I'm no longer able to use LaTeX in MetaPost. The file
>
> verbatimtex
> %&latex
> \documentclass{article}
> \begin{document}
> etex
>
> input latexMP;
>
> filenametemplate "%j-%3c.mps";
>
> beginfig(1);
>
>    draw (0, 0)--(150, 150);
>    label(btex $A$ etex, (0, 0));
>    show mpversion;
>
> endfig;
>
> verbatimtex
> \end{document}
> etex
>
> end
> fails because LaTeX commands aren't recognized. The error file is

Do you have a file mpxerr.tex?
If yes, try:

tex mpxerr.tex

What happens?


--
petiard.francois@...


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
MiKTeX-Users mailing list
MiKTeX-Users@...
https://lists.sourceforge.net/lists/listinfo/miktex-users
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
MiKTeX-Users mailing list
MiKTeX-Users@...
https://lists.sourceforge.net/lists/listinfo/miktex-users

 « Return to Thread: Problem using LaTeX in MetaPost