From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3036 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: Re: texexec not launching mpost Date: Thu, 19 Oct 2000 15:01:23 +0200 (MET DST) Sender: owner-ntg-context@let.uu.nl Message-ID: <200010191301.PAA21012@bar.loria.fr> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393799 13738 80.91.224.250 (23 Oct 2002 17:23:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:23:19 +0000 (UTC) Cc: Denis.Roegel@loria.fr (Denis B. Roegel), ntg-context@ntg.nl (NTG-ConTeXt) Original-To: lwang@amath8.amt.ac.cn (Mr. Wang Lei) In-Reply-To: from "Mr. Wang Lei" at Oct 19, 2000 11:21:33 AM Xref: main.gmane.org gmane.comp.tex.context:3036 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3036 `Mr. Wang Lei' wrote > > On Wed, 18 Oct 2000, Denis B. Roegel wrote: > > > When I run texexec on the file below, the mpgraph.mp file > > is created, but not metaposted. I can call texexec as many > > times as I want, it doesn't help. I have to call mpost > > by hand and then it works. I have shell_escape = 1 if > > it should be "shell_escape = t" I thought anything different from f is true. Anyway, when I make this change and create a cont-sys.tex (where should this file be located in my $HOME/texmf tree?) it doesn't work any better. Please keep in mind that in certain cases, texexec launches the compilation of mpgraph.mp, but not in this case. Hence, there might be another problem. > > You need set other environment as suggestted by hans > in metafun manual. you can see if you have set the following > in your cont-sys.tex: > > \runMPgraphicstrue > \runMPTEXgraphicstrue > \recycleMPslotstrue > \useMETAFUNformattrue > > You'd better set metapost command using texexec in you > texmf.cnf: > > MPXCOMMAND = texexec --mptex > TEX = texexec --once --batch --nomp I am a bit reluctant to make these changes, since I will not always be using texexec. I often use tex, latex and mpost alone. I case it matters, below is the compilation of my example with no prior mpgraph present: bar context2 221 % texexec test16 TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 executable : pdfetex format : cont-en inputfile : test16 output : standard interface : en current mode : all TeX run : 1 This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x) entering extended mode (./test16.tex{/local/hugo/texlive5/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2000.9.21 fmt: 2000.10.5 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/tex/texmflocal/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/local/tex/texmflocal/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/tex/texmflocal/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (./cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded specials : tex,postscript,rokicki loaded system : test16.top loaded (./test16.top) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) (./test16.tuo) systems : begin file test16 at line 1 color : rgb color space is supported color : cmyk color space is supported color : system rgb is global activated layout : calculating backgrounds Randomizer initialized to 1045559809. TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000 metapost to tex : mpgraph executable : pdfetex format : cont-en inputfile : tmpgraph output : standard interface : en options : once batch nomp current mode : all This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x) entering extended mode run time : 1 seconds dvi to metapost : mpgraph metapost : mpgraph format : metafun This is MetaPost, Version 0.641 (Web2C 7.3.2x) figures : figure mpgraph can not be found (./test16.tuo) [1.1] [2.2] systems : end file test16 at line 105 ) Output written on test16.dvi (2 pages, 4744 bytes). Transcript written on test16.log. run time : 5 seconds sorting and checking : running texutil TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000 action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : test16.tui output file : test16.tuo passed commands : 5 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 bar context2 222 % ------------------------------------------------------------------------ But the copilation of \setupcolors[state=start] \starttext \runMPgraphicstrue \def\processword#1{\noindent\framed[frame=off,background=lions]{#1}\space} \startuniqueMPgraphic{lions b} path p; p:=fullsquare xyscaled (\overlaywidth,\overlayheight) randomized 5pt; pickup pencircle scaled 1pt; fill p withcolor .850white; draw p withcolor .625yellow; \stopuniqueMPgraphic \defineoverlay[lions][\uniqueMPgraphic{lions b}] \setupalign[broad,middle] \processwords {As you may know, \TeX's ambassador is a lion, while \METAFONT{} is represented by a lioness. It is still unclear if they have a relationship, but if so, and if a baby is born, may it enjoy \METAFUN.} \stoptext triggers metapost with exactly the same environment. Even if I add \runMPgraphicstrue to my first example (previous posting), there are still no mpgraph.1, etc. around. When I did the tests, I took care to remove all auxiliary files in both cases. Denis