[metapost] mpx file ended unexpectedly

Hans Hagen pragma at wxs.nl
Thu Feb 15 15:37:17 CET 2007


Taco Hoekwater wrote:
> Sanjoy Mahajan wrote:
>   
>> So I'm confused.  Is it a problem reading mptextmp.mp?  Or mpost getting
>> confused between fig.1 (the EPS figure) and fig.1.mp?
>>     
>
> It is confused between fig.1.mpx and fig.mpx.
>
> When MP searches for the mpx file, it changes the 'current extension'
> into mpx. So your 'fig.1' becomes 'fig.mpx'. I doubt it makes any
> sense to attempt to fix this on the executable side, because it is
> closely related to the system-dependent code that automatically adds
> a '.mp' extension.
>
>   
you can disable this multiple suffixes feature in the texmf.cnf file (at least for tex) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the metapost mailing list