Olivier: What system do you use? I am using MacOSX and in july this  
year I mailed about the error below:

>> mplib          : making format: metafun.mp, name: /Users/hans/TeX/ 
>> luatex-cache/context/60e9a4b67d8fc84c21043806bb9e2fb8/formats/cont- 
>> en-metafun.mem
>> mplib          : loading format: metafun.mp, name: /Users/hans/TeX/ 
>> luatex-cache/context/60e9a4b67d8fc84c21043806bb9e2fb8/formats/cont- 
>> en-metafun.mem
>> report >> mp terminal: (/usr/local/texlive/2007/texmf-context/ 
>> metapost/context/base/mp-tool.mp
>> ! Missing `=' has been inserted.
>> <to be read again>
>>                   ,
>> l.51 vardef mpversioncmp(expr s,
>>                                 c) =
>> ! Missing `=' has been inserted.
>> <to be read again>
>>                   )
>> l.55 vardef mpversionlt (expr s)

Sounds familiar? If you are also working on MacOSX(10.5.x) then I  
should expect the problem to be platform specific. I had some  
discussions with Taco Hoekwater about this problem, but we never  
solved it and I have no inkling of its cause. Since I am not well  
enough acquainted with the code behind mplib and friends, I had to  
fall back on using MKII and putting MKIV aside.
But I guess the solution to this problem is pressing, since we cannot  
have one platform falling out on ConTeXt.

Hans van der Meer




On 29 sep 2008, at 17:55, Olivier wrote:

> Dear all,
>
> I'm using ConTeXt MkIV on Debian with the following version:
>
> ConTeXt  ver: 2008.05.21 15:21 MKIV  fmt: 2008.8.4  int: english/ 
> english
>
> Everything seems to work well (I am able to run lua code, use otf font
> facilities, etc...) but the mplib mechanism.  Indeed, running through
> the following simple file :
>
> \starttext
> \startMPcode
>  path p ; p := fullcircle scaled 4cm ;
>  fill p                  withcolor red ;
>  fill p shifted(2cm,0cm) withcolor blue ;
> \stopMPcode
> \stoptext
>
> provokes the following logging :
>
> mplib          : loading format: metafun.mp, name:
> /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/ 
> formats/cont-en-metafun.mem
> mplib          : version mismatch: mp_parent_version <> 2008.05.21  
> 15:21
> mplib          : making format: metafun.mp, name:
> /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/ 
> formats/cont-en-metafun.mem
> mplib          : loading format: metafun.mp, name:
> /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/ 
> formats/cont-en-metafun.mem
> report >> mp terminal:
> (/usr/share/texmf/metapost/context/base/mp-tool.mp
> ! Missing `=' has been inserted.
> <to be read again>
>                   ,
> l.51 vardef mpversioncmp(expr s,
>                                 c) =
> etc...
>
> The format metafun.mp is not good at first, but seems to be  
> regenerated
> dynamically with success ?
>
> Is this a known issue ? Any hints on what's going on ?
>
> Olivier
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to