metapost problem

  • Permalink
  • submit to reddit
  • Email
  • Follow

Hello, I've updated miktex 2.8 to 2.9.

This file :

%prologues := 3 ;


input Macros-nk ;

u := 1cm ;

z0=(0,0); z1=(2u,7u); z2=1/2[z0,z1];z3=(7u,7u);z4=(5u,0); z5=1/2[z3,z4];
draw (0,0)--(2u,2u)--(2u,7u) withpen pencircle dashed evenly;
draw (7u,2u)--(2u,2u) withpen pencircle dashed evenly;
%draw (3.5u,u)--(7u,7u) withpen pencircle dashed evenly;
%draw (2u,2u)--(5u,0) withpen pencircle dashed evenly;
%draw (5u,0)--(7u,7u); A etex, (0,0)); B etex, (5u,0));
label.rt(btex C etex, (7u,2u));
label.lft(btex D etex, (2u,2u));
label.lft(btex E etex, (0,5u)); H etex, (2u,7u)); G etex, (7u,7u));
label.rt(btex F etex, (5u,5u));
label.lft(btex $O_1$ etex, z2 );
label(btex $\times$ etex, z2);
label.rt(btex $O_2$ etex, z5 );
label(btex $\times$ etex, z5);


give me .log :

This is MetaPost, version 1.211 (MiKTeX 2.9) (MiKTeX 2.9) (mem=mpost 
2010.11.04)  8 NOV 2010 21:49
 >> cubeaixmarseille90.mpx
! Unable to make mpx file.
                     A etex, (0,0));
The two files given above are one of your source files
and an auxiliary file I need to read to find out what your
btex..etex blocks mean. If you don't know why I had trouble,
try running it manually through MPtoTeX, TeX, and DVItoMP

The command line est mpost -tex=latex. What must i do ?

Thanks, Jean-�ric.
Reply ISO 11/8/2010 8:55:45 PM

See related articles to this posting

On 8 Nov, 21:55, jean-=E9ric <> wrote:
> Hello, I've updated miktex 2.8 to 2.9.
> This file :
> %prologues :=3D 3 ;
> verbatimtex
> %&latex
> \documentclass{article}
> \usepackage{tarassmetapost}
> %\usepackage[T1]{fontenc}
> \begin{document}
> etex;


> give me .log :

> ! Unable to make mpx file.
> l.27
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0A etex, (0,0));





should solve the problem. As far as I remember, this is a
=93feature=94 (or a =93bug=94, depending how you see it) introduced with mp=
1.210, by which *anything* after verbatimtex and up to etex, including
any whitespace and newlines, are left intact. This causes some
trouble, because %&latex ends up in the second line of the generated
file (given that the newline after verbatimtex is not stripped out)
and the tex processor does not parse it. So, that directive ends up
being ignored.

You may take a look at the release notes for mpost >1.210 to check
whether such behaviour has been corrected (I do not remember now).


Reply nicola 11/9/2010 4:08:09 PM

On 8 Nov, 21:55, jean-=E9ric <> wrote:

> The command line est mpost -tex=3Dlatex. What must i do ?

Sorry, I have read your post too quickly. Actually, I am able to
compile your code if I comment the \usepackage{tarassmetapost} line (I
do not have that package). Are you sure that package is found? A look
into mpxerr.log should tell you what is wrong.

Reply nicola 11/9/2010 4:17:11 PM

Le 09/11/2010 17:17, nicola a �crit :
> On 8 Nov, 21:55, jean-�ric<>  wrote:
>> The command line est mpost -tex=latex. What must i do ?
> Sorry, I have read your post too quickly. Actually, I am able to
> compile your code if I comment the \usepackage{tarassmetapost} line (I
> do not have that package). Are you sure that package is found? A look
> into mpxerr.log should tell you what is wrong.
> Nicola

Thanks Nicola, the package tarassmetapost was not found, i try with



but i've got the same matter.
I'll see later the problem, ans try to solve it.

Reply ISO 11/9/2010 5:01:35 PM
comp.text.tex 37368 articles. 72 followers. Post

3 Replies

Similar Articles

[PageSpeed] 6

  • Permalink
  • submit to reddit
  • Email
  • Follow


Similar Artilces:

problems problems problems
(The short(?) summary) I've got an Access MDB file and a DAO connect with it.. Problem 1 of 2 The below gives me a runtime error 91 Object variable or With block variable not set. I've got the db stuff after the (to make sure all the objects on the form are loaded before attempting to utilize/manipulate them) But it doesn't like it when I use the data object in the form load anyway for some reason.. pffft. Private Sub Form_Load() frmTest1Project.Show datGallery.Recordset.MoveLast datGallery.Recordset.MoveFirst Call LockTextBoxes(frmTest...

MetaPost problems
Hi I'm working on some graphs in meta post using but this morning when I tried to compile the source I get this error: ! Arithmetic overflow. Gwithpc_->withpen .penpart(EXPR0)withcolor(redpart(EXPR0),greenpart(EXPR0),bl... Gpconv_->...IX2)doublepath(TEXT5)Gwithpc_((EXPR3)) dashed.dashpart(EXPR3);els... <for(picture)> ...d.s.transformed.S.transformed.T) ; ENDFOR setcoords->....transformed.S.transformed.T);endfor ...

Problems problems....
I've got Fujitsu MAN3184MP and Adaptec 29160 scsi card. Sometimes i have this message "A disk read error occured" , sometimes even bios does not recognize it, sometimes it does but the boot sequence does not start it seems that motherboard bios has problems with it ( so it seems to me, i could be wrong about that assumption) . Then i reset and it all works perfectly. I've noticed a speed degradation in Win XP lately. I'm angry :)) I have LVD/SE terminator, and i think 68pin cable ( not sure about that ). Hope i gave you enough info to try and help. Thanx! -- -...

Problem with a problem
Hello, take a grammar G with alphabet {0,1} such that (the word problem for) the language L_G={w in (0+1)*|w\in L(G)} is very complex, say in PSPACE or some higher complexity class. Now consider an "easy" problem EASY like: "Is an element of L_G in L_G?". Well, this seems to be fairly easy because the answer is "yes" in any case. Hence the problem should be of small complexity. But if one models such a decision problem one has to construct a language L with alphabet A such that the word problem for L reflects exactly the decision problem which one is interested...

Problem with Metapost
I am a MikteX user in Windows and use the WYSIWYM editor Texniccenter. I seem to have problems with Metapost. I have seen that the required file (mp.exe and mpost.exe ) are in the correct folder . However, despite installing even all the extra packages, I keep getting this message when I run Metapost---- [code]The Procedure entry point ?SplitPath@MikTeX@YG_NPBDPADI1I1I1I@Z could not be located in the dynamic link library MikeTeX-core-2.dll[/code] Please help!! What should I do? Also, how do you add .mf files into Latex using Texniccenter in Windows. Incidentally, "METAFONT" runs pe...

Re: How many files can you have in a VMS directory without performance problems? performance problems? performance problems? problems? performance problems? performance problems? problems? perfo
First, does anyone know why Info-VAX goes nuts on subjects from time to time? (Or is the trouble elsewhere?) From: JF Mezei <> > DELETE Z*.*;* > DELETE Y*.*;* > ... > DELETE A*.*;* > > (followed by the numbers). This scheme may be a bit obsolete. See: I quote: [...] Extended Character Set In addition, OpenVMS V7.2 on Alpha systems and ODS-5 disks includes support for the use of file names, and subdirectory and root subdirectory names, tha...

METApost and PDFLatex Problem
Can anyone help with this problem getting started with Metapost and pdflatex? I can produce a diagram with Metapost and then convert it to pdf using ps2pdf. I can then incorporate the diagram into a Latex document using \includegraphics . The problem is that the diagram is A4 size, even if it is a small diagram, so I get a lot of empty space in my final document. I can reduce the size of the diagram by saying (for example) \includegraphics [height=60mm]{diagram.pdf} However, the shape of the space used is still 'A4 shape' (eg I can't have a square), and to avoid having empty...

Problem with MetaPost in TexLive
Hi, I'm trying to make illustration with MetaPost. But the greek symbols are missed in the eps file. And ";" symbol appears instead of "," symbol. I am using TexLive. However, MetaPost from the MikTex translates the same file to eps correctly. For example, this is my MetaPost file: verbatimtex \documentclass{minimal} \begin{document} etex; prologues:=1; beginfig(1); draw (0,0)--(140mm,100mm); label(btex \(H_{\phi_{m,n}}\) etex, (50mm,30mm)); endfig; end. I'm using mpost like this: $mpost -tex=latex Can you help me, pleas. What is wrong? Thanks. On...

Problem with datafile in metapost
I have a problem. I try to put metapost figures in LaTeX documents. I made a 'data.d' with data, let's say: ---data.d--- 00 4011000 01 3969000 02 3806000 03 3718000 04 3717000 05 3702000 ----------- Then a made a metapost file '' input graph beginfig(0); draw begingraph(3in,2in); gdraw "hefboom.d"; endgraph; endfig; end ---------------- With CMD I write 'mpost testfig' Still no problems. Then I made a LaTeX document 'testfig.tex': ---testfig.tex--- \documentclass{article} \usepackage{graphics} \begin{doc...

Metapost problem #2
I try to use metapost for graphics. i just want to draw a single graph with gdata. i made my data.d file with some values. i've copied the code of example 287 of the page : i run : mpost and get a graph without border or scale what is the pb ? thanks, julien ...

Re: How many files can you have in a VMS directory without performance problems? performance problems? performance problems? problems? performance problems? performance problems? problems? perfo #2
On 8/17/05, Mark Berryman <> wrote: > Steven M. Schweda wrote: > > First, does anyone know why Info-VAX goes nuts on subjects from time > > to time? (Or is the trouble elsewhere?) >=20 > Elsewhere. Info-VAX does not rewrite the subject. >=20 > Mark Berryman > Info-VAX admin >=20 I thought it was reacting to poster sanity bugchecks. : ^ ) WWWebb --=20 NOTE: This email address is only used for noncommerical VMS-related correspondence. All unsolicited commercial email will be deemed to be a request for services pursuant to the t...

Is this a BIOS problem, a kernel problem or a user problem :-)
Hi all, I have a Dual Core P4, which dmesg reports as (CPU0 and) CPU1: Intel(R) Pentium(R) 5 CPU 2.66GHz stepping 07 Unfortunately, it is also reporting CPU: Hyper-Threading is disabled I went through the BIOS (AMI dated 2005) and saw no option to enable HT. uname -a reports Linux hwa3 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux so clearly the BIOS and the kernel see the processor as dual core. Is there a utility to do this (enable hyperthreading)? Am I going to have to recompile the kernel? Is there a set of Intel dual core CPU's which does not have H...

CUPS problem? or network problem? or printer problem?
Trying to configure CUPS to print to an HP LaserJet 5si over the network. Here is the relevant error_log stuff: I [17/Nov/2003:14:19:03 -0500] Job 14 queued on 'ptr' by 'wm'. I [17/Nov/2003:14:19:03 -0500] Started filter /usr/lib/cups/filter/texttops (PID 12120) for job 14. I [17/Nov/2003:14:19:03 -0500] Started filter /usr/lib/cups/filter/pstops (PID 1 2121) for job 14. I [17/Nov/2003:14:19:03 -0500] Started filter /usr/lib/cups/filter/pstoraster (P ID 12122) for job 14. I [17/Nov/2003:14:19:03 -0500] Started filter /usr/lib/cups/filter/rastertoprint er (PID 1...

Lan problems problems
Hi can anyone please offer a suggestion to a LAN Problem i have. Recently my server computer on a 3 access point lan network has been dropping out after about 10 minutes. if i disconnect the power from the ethernet switch/hub and reconnect after 5 minutes, then it works again for a short time. there is no disconnection from the other servers. I have,..... 1.reformatted and rebuilt windows xp pro. 2.tested the switch/hub on another computer, seems ok 3. tested the lan cables. 4. tested the lan access points. yet still i have the trouble. any suggestions would be welcomed. D.Thomas Di...

debugger problem and other problem
Hi all! I gave it another try to upgarde from 1.0.1 to 1.2.1 from CVS (Rev. 6469). My system: Linux Debian Lenny, kernel 2.6.24. Problems: 1. the classical debugger doesn't show the code. First I thought it could be a color problem, but it isn't. Changing the color doesn't help. You can find a screenshot at As you can see the debugger finds the code file and shows the line number where it actually is, but doesn't show the code. In 1.0.1 the debugger was functioning. 2. I read several times in the newsgroup that others have the...

Problems with metapost in texlive 2009
I had a working installation of texlive 2007 on my opensuse 11.0 machine. I had metapost working nicely converting my *.mp files into *.pdf files. Yesterday, I upgraded to texlive 2009 that is available at I installed all the upgrades of the following packages: texlive texlive-bin-tools texlive-bin-metapost texlive-bin-latex texlive-bin texlive-tools texlive-metapost texlive-latex texlive-context texlive-latex-doc ...

Is it a know problem this problem? (an extension of Nearest-Neighbor Problem)
I met a problem which can be considered as an extension of Nearest-Neighbor Problem. Suppose we have n (e.g. n = 10) robots and m (e.g., m = n = 10) locations to explore in a 3-dimensional space. We want to assign each robot to explore a possible location, while minimizing the summation of the distances between each robot-location pair. If n = 1 or m = 1, it is clear this is a nearest-neighbor problem. What if both n and m are greater than 1 (n and m are not necessarily equal)? Is it a known problem which has been addressed by some heuristic algorithm? Thanks. This sounds more like an opt...

problem with a minimazition problem.
Hello, I have a problem with a minimazition problem: Let my aim is to find x and a where f(x,a) is minimized with the constraint g(x,a)=0. Here "a" is parameter. It is known that for some values of x and a, function g does not have real roots of x. In matlab, I use fmincon function to solve this minimazition problem with "interior-point" algorithm. However, even in situations where g doesnt have real x roots , somehow Fmincon finds solution. I want to determine which solutions have real roots which are not. How can I do that? To which criterian do I have to...

Linux, ISE 7.1, problems, problems, problems ....
ok, ok we've beaten this subject to death already .... I just had this really radical and crazy idea: XILINX, how about a BETA program ? I mean one before you burn the CDs and make a product announcement and we are stuck with a useless plastic disc. If I look at all the issues that people are having with 7.1, they are all so trivial and easy to to solve (include a few libs, distribute a statically linked setup program, etc.). I'm sure a few of us with subscription would volunteer to test drive a pre-release version of your s/w. - I know I would. Wouldn't that be much nicer t...

A simple problem, but a problem ...
Hello, can anyone solve the following problem ? It looks quite simple to me, but I can't get it right. The advice suggests the following: mr(yes). mr(no). mrs(yes). mrs(no). marcel(yes). marcel(no). jacqu(yes). jacqu(no). grandpa(yes). grandpa(no). but how can I use this to solve the problem ? thanx a lot Maxx Problem: If Mr. Johnson goes, his wife goes too. At least one of the children, Marcel or Jacqueline, goes too. If Marcel goes, grandpa goes too. If Mrs. Johnson goes, grandpa stays at home. If Jacqueline goes, Mr. Johnson and Marcel go too. Write a prolog program, which det...

Problem with problem section
Hi, I have defined as follows: ------------------------------------------------------------------- \newtheorem{problem}{Problem}[section] --------------------------------------------------------------------------- and I use as: ----------------------------------------------------- \begin{problem} \label{ch6:p2} {\bf {Understanding {\bf XXX} assignment}} Convert the code in problem \ref{ch6:p1} to {\bf XXX} assignment. Fill the table \ref{ch6:p1t}, along with the comments. \end{problem} ------------------------------------------------------------------- What I want is all my figures and t...

Metapost : problem with xpart and paths.
Hi, I have a problem when creating paths which involve pairs created from xparts (or yparts) of other pairs in Metapost. Here is a minimal code causing the error to come. Remember that "x0" is the equivalent for "xpart z0". You can replace it and you'll get the same error. The strange thing is that you can print the pair p, but you cannot make paths with. The result of the compilation with mpost follows the code. Any jedis or padawans out there? Thanks for your help!!! pair p; z0 = (3,5); p = (x0,0); show z0; show p; beginfig(1); draw z0--p; endfig; end; For this c...

metapost + dvi viewer problem
Could somebody explain why I cannot open dvi files containing metapost figures with dvi viwer (Yap)? BTW, is metapost the best non-wyswyg tool for latex figures? Does it exist something better? Thanks in advance. Gelo Ilzi wrote: > Could somebody explain why I cannot open dvi files containing > metapost figures with dvi viewer (Yap)? The kind of question I like to see -- pithy. Although I commend your terseness, the answer is somewhat longer. If you go to and type in the keyword "mptut", you should find a link to a tutorial ...

Wierd metapost inclusion problem
I made a simple drawing beginfig(1); draw fullcircle scaled 3cm; endfig; end; and then do this and compiles in pdflatex: \documentclass[a4paper]{memoir} \usepackage{graphicx} \ifpdf \DeclareGraphicsRule{*}{mps}{*}{} \fi \newsavebox\dlf \savebox\dlf{\includegraphics[width=1.5cm]{t.1}} \begin{document} \usebox\dlf \end{document} then pdflatex failes with the error ! Undefined control sequence. <argument> ...lx bp\relax \fi \fi \convertMPtoPDF {\Gin@base \Gin@ext }{1}{1... l.7\dlf{\includegraphics[width=1.5cm]{t.1}} la...