ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Denis.Roegel@loria.fr (Denis B. Roegel),
	ntg-context@ntg.nl (NTG-ConTeXt)
Subject: Re: texexec not launching mpost
Date: Sun, 22 Oct 2000 20:30:23 +0200	[thread overview]
Message-ID: <3.0.6.32.20001022203023.008e3470@pop.wxs.nl> (raw)
In-Reply-To: <200010201856.UAA09361@bar.loria.fr>

At 08:56 PM 10/20/00 +0200, Denis B. Roegel wrote:
>`Hans Hagen' wrote
>>   
>>   >Randomizer initialized to 1119063014.
>>   > TeXExec 2.2 - ConTeXt / PRAGMA ADE 1997-2000

Isn't version 2.3 in the beta zip? 

>>   >
>>   >       metapost to tex : mpgraph
>>   >sh: mptotex: not found
>>   
>>   Yes, so you have to set MpToTeXExecutable to mpto or comment the line
>>   mentioned in texexec.ini [maybe you should check your texexec.ini with
>>   texexec.rme] It really works when set up ok. 
>
>I have done all of this, it doesn't work. Neither commenting the line,
>nor removing it. 
>
>What can I do now?
>
>Maybe if I understand exactly how it works I can try to debug?
>texexec calls mpost, which should call mpto.

No! MP does not call mpto etc. The reason for this is that (1) this process
is too sensitive for problems and (2) some of those tools are sensitive for
long lines and so (3) etc etc

This is why texexec does the calls after some cleaning up and check. It
also makes sure that it uses a temp file that does not clash. 

>This apparently works since there is no such error as above.
>But what I do not understand is why the mpto run fails, because
>that's the problem, isn't it? How can I investigate if mpto
>is really called and trap it?

You can look into texexec [search for doRunMP or ######] and add lines like 

print "IT WORKS TILL HERE\n" ; 

inside conditionals to check if you come that far. 

Also, say texexec --verbose to get an idea of what the settings are. Can be
helpful. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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
-------------------------------------------------------------------------


  parent reply	other threads:[~2000-10-22 18:30 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
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 [this message]
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=3.0.6.32.20001022203023.008e3470@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=Denis.Roegel@loria.fr \
    --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).