From 3160105656 at zju.edu.cn Sun Aug 11 13:42:12 2019 From: 3160105656 at zju.edu.cn (3160105656 at zju.edu.cn) Date: Sun, 11 Aug 2019 19:42:12 +0800 (GMT+08:00) Subject: [metapost] Can't label with "btex etex" Message-ID: <73cc23bc.143a0.16c807c69fe.Coremail.3160105656@zju.edu.cn> Hi.I am a user of MetaPost. Today I failed to compile a mp file I wrote(example.mp and I put it in accessory). The error is cause by the statement "label(btex 1 etex,(0,0));" which I have noted it. And my compiler told me that it "Unable to read mpx file". I want to know how to solve the problem for I really need to label my figure.Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: example.mp Type: application/octet-stream Size: 152 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 8_11a.PNG Type: image/png Size: 16106 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.PNG Type: image/png Size: 11910 bytes Desc: not available URL: From j.hagen at xs4all.nl Sun Aug 11 17:59:11 2019 From: j.hagen at xs4all.nl (Hans Hagen) Date: Sun, 11 Aug 2019 17:59:11 +0200 Subject: [metapost] Can't label with "btex etex" In-Reply-To: <73cc23bc.143a0.16c807c69fe.Coremail.3160105656@zju.edu.cn> References: <73cc23bc.143a0.16c807c69fe.Coremail.3160105656@zju.edu.cn> Message-ID: On 8/11/2019 1:42 PM, 3160105656 at zju.edu.cn wrote: > Hi.I am a user of MetaPost. > > Today I failed to compile a mp file I wrote(example.mp and I put it in > accessory). > > The error is cause by the statement "label(btex 1 etex,(0,0));" which I > have noted it. > > And my compiler told me that it "Unable to read? mpx file". > > I want to know how to solve the problem for I really need to label my > figure.Thanks! Just watch closely to the error message: it looks like it wants to call "tex --parse-first-line etc" so maybe you need to configure someplace that you want to call e.g. pdftex or maybe you need to call it with some specific macro package. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------