Re: MetaPost problem under MikTex 2.9 x64 / WinEdt

Pétiard François <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Le 06/07/2011 17:36, Lutz G. Lucht a écrit :
> verbatimtex
>
> \documentclass[10pt,a4paper]{article}
> \usepackage[latin1]{inputenc}
> \begin{document}
> etex
> %%%%%%%%%%%%%%%%%%%%%%%% testlabel.1
> beginfig(1);
> numeric u;
> u = 1mm;
> z0=(0,0);
> pickup pencircle scaled 1pt;
> draw z0;
> endfig;
> %%%%%%%%%%%%%%%%%%%%%%%% testlabel.2
> beginfig(2);
> numeric u;
> u = 1mm;
> z0=(0,0);
> pickup pencircle scaled 1pt;
> draw z0;
> label(btex $0$ etex, (3u,3u)); /*%causes the problem*/
> endfig;
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> bye

Try that:

verbatimtex
\pdfoutput=0
\documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\begin{document}
etex
%%%%%%%%%%%%%%%%%%%%%%%% testlabel.1
beginfig(1);
numeric u;
u = 1mm;
z0=(0,0);
pickup pencircle scaled 1pt;
draw z0;
endfig;
%%%%%%%%%%%%%%%%%%%%%%%% testlabel.2
beginfig(2);
numeric u;
u = 1mm;
z0=(0,0);
pickup pencircle scaled 1pt;
draw z0;
label(btex $0$ etex, (3u,3u));
endfig;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bye

and run:

mpost -tex=pdflatex your_file.mp

François


-- 
[email protected]


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.