From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8575 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: "Unable to make mpx file" Date: Mon, 08 Jul 2002 09:46:58 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020708094353.03c4d818@server-1> References: <20020707100406.GA949@ruhrau.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035398967 28694 80.91.224.250 (23 Oct 2002 18:49:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:49:27 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: johannes.huesing@ruhrau.de In-Reply-To: <20020707100406.GA949@ruhrau.de> Xref: main.gmane.org gmane.comp.tex.context:8575 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8575 At 12:04 PM 7/7/2002 +0200, you wrote: >Greetings, > >again, I am experiencing problems with MetaPost creating files with text >included. > >The following is the contents of test-mpgraph.log after processing a file >calles test.tex: > >This is MetaPost, Version 0.641 (Web2C 7.3.3.1) (mem=metafun >2002.4.10) 10 APR 2002 22:25 >**test-mpgraph >(test-mpgraph.mp >{randomseed:=525} >write0 = `test-mpgraph.mpo'. > > > >> test-mpgraph.mp > >> test-mpgraph.mpx >! Unable to make mpx file. >l.90 label(btex > Hallo wereld etex >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 MPto -tex, TeX, and DVItoMP. > >This is what the source looks like: > >\setupoutput[pdftex] >\mainlanguage[de] >\useencoding[win] > >\runMPgraphicstrue >%\protectbufferstrue so you have enabled write 18 in texmf.cnf >% Hack, um " nicht als active character zu definieren, >% während Metapost bearbeitet wird >\appendtoks \let\handlecompoundcharacter\string \to \everyMPgraphic > >\setupbodyfont > [sansserif, 18pt] > >\startMPinclusions >verbatimtex >\newif\ifloadfontfileonce >etex >\stopMPinclusions hm, is that one still needed? >\starttext > >\startuseMPgraphic{beispiel} >label(btex Hallo wereld etex, origin); >\stopuseMPgraphic > >\useMPgraphic{beispiel} > >\stoptext > >What could be the reason? This kind of things is hard to trace from a distance. The problem is that mp needs those conversion programs (although i'm thinking of replacing mp to tex i.e. handle it in texexec since it seems to fail occasionally). Can you try texexec --automp yourfile this does a 'run in between job' instead of realtime. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------