From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3043 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 21:17:20 +0200 (MET DST) Sender: owner-ntg-context@let.uu.nl Message-ID: <200010191917.VAA27211@bar.loria.fr> References: <3.0.6.32.20001019154508.00b15180@pop.wxs.nl> 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 1035393805 13803 80.91.224.250 (23 Oct 2002 17:23:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:23:25 +0000 (UTC) Cc: Denis.Roegel@loria.fr (Denis B. Roegel), lwang@amath8.amt.ac.cn (Mr. Wang Lei), ntg-context@ntg.nl (NTG-ConTeXt) Original-To: pragma@wxs.nl (Hans Hagen) In-Reply-To: <3.0.6.32.20001019154508.00b15180@pop.wxs.nl> from "Hans Hagen" at Oct 19, 2000 03:45:08 PM Xref: main.gmane.org gmane.comp.tex.context:3043 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3043 `Hans Hagen' wrote > > At 03:01 PM 10/19/00 +0200, Denis B. Roegel wrote: > > >> 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. > > This is not really needed, since texexex nills them anyway. > > > output : standard > > is there, btw any difference if you use --pdf? > No, it doesn't work any better. Also, in both cases, if there is already some mpgraph.1 around from another run, it is just taken as is. > > > output : standard > > interface : en > > options : once batch nomp > > current mode : all > > it looks like some figs are created arent't they? The mpgraph.mp file is created, but not processed by mpost. > you may want to set \traceexternalfigurestrue to see where context is > searching the files. > I get This is MetaPost, Version 0.641 (Web2C 7.3.2x) figures : figure mpgraph can not be found [analyzing ./texutil.tuf on mpgraph.1] [not found] [analyzing ./texutil.tuf on mpgraph.1] [not found] [analyzing ./texutil.tuf on mpgraph.1] [not found] [anal yzing ./texutil.tuf on mpgraph.1] [not found] [analyzing ./texutil.tuf on mpgra ph.* surrogate] [not found] [analyzing ./texutil.tuf on mpgraph.* surrogate] [n ot found] [analyzing ./texutil.tuf on mpgraph.* surrogate] [not found] [analyzi ng ./texutil.tuf on mpgraph.* surrogate] [not found] [mpgraph.1: t={mps,eps,mps ,pdf,png,jpg,tif,tex} m={mps,eps,mps,pdf,png,jpg,tif,tex} l=dummy w=11796480 h= 7864320 sx=100.0 sy=100.0 ox=0 oy=0] (./test16.tuo) [1.1] [2.2] systems : end file test16 at line 108 ) Actually, the problem is that mpost doesn't find mpgraph which is in the current directory. I get the same message if I rerun texexec. ------- ... 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 [analyzing ./texutil.tuf on mpgraph.1] [not found] [analyzing ./texutil.tuf on mpgraph.1] [not found] [analyzing ./texutil.tuf on mpgraph.1] [not found] [anal yzing ./texutil.tuf on mpgraph.1] [not found] [analyzing ./texutil.tuf on mpgra ph.* surrogate] [not found] [analyzing ./texutil.tuf on mpgraph.* surrogate] [n ot found] [analyzing ./texutil.tuf on mpgraph.* surrogate] [not found] [analyzi ng ./texutil.tuf on mpgraph.* surrogate] [not found] [mpgraph.1: t={mps,eps,mps ,pdf,png,jpg,tif,tex} m={mps,eps,mps,pdf,png,jpg,tif,tex} l=dummy w=11796480 h= 7864320 sx=100.0 sy=100.0 ox=0 oy=0] (./test16.tuo) [1.1] [2.2] systems : end file test16 at line 108 ) Output written on test16.dvi (2 pages, 4744 bytes). Transcript written on test16.log. run time : 6 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 259 % ll mpgraph.* -rw-r--r-- 1 roegel model 122 Oct 19 21:08 mpgraph.log -rw-r--r-- 1 roegel model 1609 Oct 19 21:08 mpgraph.mp -rw-r--r-- 1 roegel model 377 Oct 19 21:08 mpgraph.mpx bar context2 260 % mpost mpgraph.mp This is MetaPost, Version 0.641 (Web2C 7.3.2x) (mpgraph.mp (/usr/local/tex5/texmflocal/metapost/context/mp-tool.mp) (/usr/local/tex5/texmflocal/metapost/context/mp-spec.mp) (/usr/local/tex5/texmflocal/metapost/context/mp-page.mp) (/usr/local/tex5/texmflocal/metapost/context/mp-core.mp) [1] ) 1 output file written: mpgraph.1 Transcript written on mpgraph.log. bar context2 261 % more mpgraph.mp % runtime generated graphics of job "test16" mpgraph:=1; randomseed := 3974; if unknown context_tool : input mp-tool ; fi ; if unknown context_spec : input mp-spec ; fi ; defaultfont := "cmr10" ; defaultscale := 12.0pt/10pt ; if not known _data_prefix_ : string _data_prefix_ , _data_suffix_ ; fi ; _data_prefix_ := "mpd-" ; _data_suffix_ := ".mpd" ; boolean collapse_data ; collapse_data := true ; _data_suffix_ := ".mpd" ; if unknown context_page : input mp-page ; fi ; boolean PageStateAvailable ; PageStateAvailable := true ; boolean OnRightPage ; OnRightPage := true ; def LoadPageState = OnRightPage := true; PageNumber := 1; PaperHeight := 845.04684pt; PaperWidth := 597.50787pt; PrintPaperHeight := 845.04684pt; PrintPaperWidth := 597.50787pt; TopSpace := 71.12546pt; BackSpace := 71.13275pt; MakeupHeight := 711.3191pt; MakeupWidth := 426.78743pt; TopHeight := 0.0pt; TopDistance := 0.0pt; HeaderHeight := 56.90294pt; HeaderDistance := 0.0pt; TextHeight := 597.51323pt; FooterDistance := 0.0pt; FooterHeight := 56.90294pt; BottomDistance := 0.0pt; BottomHeight := 0.0pt; LeftEdgeWidth := 0.0pt; LeftEdgeDistance := 0.0pt; LeftMarginWidth := 75.58197pt; LeftMarginDistance := 11.99829pt; TextWidth := 426.78743pt; RightMarginDistance := 11.99829pt; RightMarginWidth := 75.58197pt; RightEdgeDistance := 0.0pt; RightEdgeWidth := 0.0pt; PageOffset := 0.0pt; PageDepth := 0.0pt; enddef ; if unknown context_core : input mp-core.mp ; fi ; ;; verbatimtex etex; beginfig(1); draw btex \bf CONCEPT etex rotated 60 withcolor .8white; currentpicture := currentpicture ysized (597.50787pt -.5cm); endfig; end. ----------------- > >figures : figure mpgraph can not be found > > can you comment the lines concerning insertMPfile in cont-new.tex (when > present) and see what happens? > I don't have anything concerning insertMPfile in cont-new, but I have it in supp-mps.tex. If I add \let\insertMPfile\undefined to my test file, I get as expected: ========= run time : 2 seconds dvi to metapost : mpgraph metapost : mpgraph format : metafun This is MetaPost, Version 0.641 (Web2C 7.3.2x) ! Undefined control sequence. \loadMPgraphic ...finsertMPgraphics \insertMPfile {#1}{#2}\fi } \douseMPbox ...hicfile .\the \currentMPgraphic }{} \deallocateMPslot \current... \handleuniqueMPgraphic ...x {MP:\overlaystamp :#1} \else \nouseMPbox {MP:\ove... \douniqueMPgraphic ...es [#1][#2]\getvalue {MP:#1} {}} } \executedefinedoverlay ... {\the \everyoverlay #2} }\dimen 0=\wd 0 \advance \... ... l.100 ? ========= I hope this helps... Thanks, Denis