ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Denis B. Roegel" <Denis.Roegel@loria.fr>
Cc: Denis.Roegel@loria.fr (Denis B. Roegel),
	lwang@amath8.amt.ac.cn (Mr. Wang Lei),
	ntg-context@ntg.nl (NTG-ConTeXt)
Subject: Re: texexec not launching mpost
Date: Thu, 19 Oct 2000 21:17:20 +0200 (MET DST)	[thread overview]
Message-ID: <200010191917.VAA27211@bar.loria.fr> (raw)
In-Reply-To: <3.0.6.32.20001019154508.00b15180@pop.wxs.nl> from "Hans Hagen" at Oct 19, 2000 03:45:08 PM

`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}
                                                  {}}
<to be read again> 
                   }
\executedefinedoverlay ... {\the \everyoverlay #2}
                                                  }\dimen 0=\wd 0 \advance \...
...
l.100 

? 
=========

I hope this helps...

Thanks,

Denis


  reply	other threads:[~2000-10-19 19:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-18 21:18 Denis B. Roegel
2000-10-19  3:21 ` Mr. Wang Lei
2000-10-19  9:04   ` Hans Hagen
2000-10-19 11:41     ` Mr. Wang Lei
2000-10-19 13:01   ` Denis B. Roegel
2000-10-19 13:45     ` Hans Hagen
2000-10-19 19:17       ` Denis B. Roegel [this message]
2000-10-19 19:30         ` Denis B. Roegel
2000-10-20  2:34           ` Mr. Wang Lei
2000-10-20 14:13             ` Denis B. Roegel
2000-10-20 15:59               ` Hans Hagen
2000-10-20 18:56                 ` Denis B. Roegel
2000-10-20 19:09                   ` Marc van Dongen
2000-10-21 21:46                     ` Denis B. Roegel
2000-10-22 18:49                       ` Hans Hagen
2000-10-22 18:30                   ` Hans Hagen
2000-10-23 19:34                     ` Denis B. Roegel
2000-10-24  6:48                       ` Hans Hagen
2000-10-20 17:36               ` Mr. Lei Wang
     [not found] <3.0.6.32.20001027113959.0154f7a0@pop.wxs.nl>
     [not found] ` <200010271431.QAA03427@bar.loria.fr>
2000-10-27 15:55   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200010191917.VAA27211@bar.loria.fr \
    --to=denis.roegel@loria.fr \
    --cc=lwang@amath8.amt.ac.cn \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).