From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8583 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Johannes_H=FCsing?= Newsgroups: gmane.comp.tex.context Subject: Re: "Unable to make mpx file" Date: Mon, 8 Jul 2002 21:54:48 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020708195448.GC886@ruhrau.de> References: <20020707100406.GA949@ruhrau.de> <5.1.0.14.1.20020708094353.03c4d818@server-1> Reply-To: johannes.huesing@ruhrau.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035398975 28762 80.91.224.250 (23 Oct 2002 18:49:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:49:35 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20020708094353.03c4d818@server-1> Xref: main.gmane.org gmane.comp.tex.context:8583 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8583 On Mon, Jul 08, 2002 at 09:46:58AM +0200, Hans Hagen wrote: > At 12:04 PM 7/7/2002 +0200, you wrote: Hi Hans and list, [...] > so you have enabled write 18 in texmf.cnf > yes. [...] > >\startMPinclusions > >verbatimtex > >\newif\ifloadfontfileonce > >etex > >\stopMPinclusions > > hm, is that one still needed? > Let me put it this way: When MetaPost is run from within texexec, no mpxerr.log is generated. When I run MetaPost myself on the test-mpgraph.mp without the above inclusion, mpxerr.log is generated and reads: This is TeX, Version 3.14159 (Web2C 7.3.3.1) (format=tex 2002.2.24) 8 JUL 2002 21:41 **mpx1150.tex (./mpx1150.tex ! Undefined control sequence. l.1 \global \loadfontfileoncetrue % The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! You can't use a prefix with `\shipout'. \shipout l.2 \shipout \hbox{\smash{\hbox{\hbox{% line 88 test-mpgraph.mp I'll pretend you didn't say \long or \outer or \global. [1] ) Output written on mpx1150.dvi (1 page, 208 bytes). > texexec --automp yourfile > > this does a 'run in between job' instead of realtime. > What I am doing now is using texexec --automp myfile after editing myfile.tex by including a second example: \setupoutput[pdftex] \mainlanguage[de] \useencoding[win] \runMPgraphicstrue %\protectbufferstrue % 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 \starttext \startuseMPgraphic{beispiel} label(btex Hallo Welt etex, origin); \stopuseMPgraphic \useMPgraphic{beispiel} \startuseMPgraphic{voorbeeld} label(btex Hallo wereld etex, origin); \stopuseMPgraphic \useMPgraphic{voorbeeld} \stoptext This produces the "Unable to ..." messages, only twice now. Now I run MetaPost on the myfile-mpgraph.mp file. It contains only the second example, but it compiles ok, and the resulting file myfile-mpgraph.2 looks like proper Postscript to me. Now I repeat texexec --automp on the tex file, which compiles without an error. This is the transcript: This is pdfeTeX, Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2C 7.3.3.1) (format=cont-en 2002.4.7) 8 JUL 2002 21:47 entering extended mode **&cont-en test.tex (./test.tex{/usr/local/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2002.3.27 fmt: 2002.4.7 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/TeX/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! system (E-TEX) : [line 458] \dimexpr ) system : cont-old loaded (/usr/local/TeX/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/TeX/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/TeX/texmf-local/tex/context/base/cont-sys.tex symbols : loading symbolset nav (/usr/local/TeX/texmf-local/tex/context/base/symb-nav.tex pdftex : needs map file: original-context-symbol.map ) symbols : loading symbolset mvs (/usr/local/TeX/texmf-local/tex/context/base/symb-mvs.tex pdftex : needs map file: original-vogel-symbol.map )) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 4:2-de-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `test.tui'. system : test.top loaded (./test.top) \openout0 = `test-mpgraph.mp'. \openout0 = `test-mprun.mp'. \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. specials : loading definition file tpd (/usr/local/TeX/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/TeX/texmf-local/tex/context/base/spec-fdf.tex system (E-TEX) : [line 1615] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded encoding : coding win is loaded (/usr/local/TeX/texmf-local/tex/context/base/enco-win.tex) bodyfont : bodyfont 12.5pt is defined (can better be done global) bodyfont : bodyfont 12.5pt is defined (can better be done global) bodyfont : bodyfont 10.8pt is defined (can better be done global) bodyfont : bodyfont 10.8pt is defined (can better be done global) bodyfont : bodyfont 21.5pt is defined (can better be done global) bodyfont : bodyfont 21.5pt is defined (can better be done global) bodyfont : bodyfont 18pt is defined (can better be done global) bodyfont : bodyfont 18pt is defined (can better be done global) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) systems : begin file test at line 23 \openout5 = `test-mpgraph.mp'. Randomizer initialized to 1530918609. system(mpost -progname=mpost -mem=metafun test-mpgraph)...executed. [MP to PDF] (./test-mpgraph.1) \openout5 = `test-mpgraph.mp'. system(mpost -progname=mpost -mem=metafun test-mpgraph)...executed. [MP to PDF] (./test-mpgraph.2) [1.1{/usr/local/TeX/texmf/pdftex/config/psfonts. map}{/usr/local/TeX/texmf-local/pdftex/config/psfonts-local.map} Warning: pdfetex (file rawfonts.map): cannot open font map file Warning: pdfetex (file csfontd.mapfile): cannot open font map file ] systems : end file test at line 37 ) Here is how much of TeX's memory you used: 1348 strings out of 36741 20557 string characters out of 803867 4377871 words of memory out of 5530425 28111 multiletter control sequences out of 10000+50000 16111 words of font info for 51 fonts, out of 500000 for 1000 14 hyphenation exceptions out of 1000 49i,16n,67p,168b,243s stack positions out of 5000i,500n,5000p,200000b,40000s Output written on test.pdf (1 page, 7669 bytes). Sadly, now test-mpgraph.1 and test-mpgraph.2 are identical, a "diff" between both renders no output. The problems appeared after reinstalling TeXLive 6 underneath a newer ConTeXt. Any help is appreciated. Greetings Johannes -- Johannes Hüsing There is something fascinating about science. One gets hannes@ruhrau.de such wholesale returns of conjecture from such a trifling investment of fact. Mark Twain