ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mpost disabled?
@ 2001-08-20  8:26 Hervé Rouault
  2001-08-20 10:40 ` Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: Hervé Rouault @ 2001-08-20  8:26 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

Hi!

I always have my problem with mpost (MiKTeX 2.1, ConTeXt 2.5). When I try to compile a ppchtex file I get :

-Randomizer initialized to 1493581758.
-system(mpost -progname=mpost -mem=metafun glucose-mpgraph)...disabled.
-
-
-figures        : figure glucose-mpgraph can not be found

Mpost seems to be disabled, where can I enable it?

Hervé

[-- Attachment #2: Type: text/html, Size: 1372 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mpost disabled?
  2001-08-20  8:26 Mpost disabled? Hervé Rouault
@ 2001-08-20 10:40 ` Henning Hraban Ramm
  2001-08-20 11:52   ` Hervé Rouault
  2001-08-20 14:56   ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2001-08-20 10:40 UTC (permalink / raw)


Hervé Rouault schrieb:
>-system(mpost -progname=mpost -mem=metafun glucose-mpgraph)...disabled.
>Mpost seems to be disabled, where can I enable it?

It's not Metapost, that is disabled, but 'system', that is, calling
external programs.
You can change this in texmf.cnf (at least on tetex):

shell_escape = t % enable system commands via \write18{...}

BTW: What means 18 in \write18? 

I don't really know, if this fixes the problem (is 'system' a Perl
command? then there must be a restriction to Perl)

-- 
Grüßlis vom Hraban!
---
http://www.fiee.net/   (Formelsammlung)
http://www.angerweit.de/        (Musik)
http://www.ramm.ch/          (Privates)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mpost disabled?
  2001-08-20 10:40 ` Henning Hraban Ramm
@ 2001-08-20 11:52   ` Hervé Rouault
  2001-08-20 12:18     ` Hervé Rouault
  2001-08-20 12:54     ` Re[2]: " Giuseppe Bilotta
  2001-08-20 14:56   ` Hans Hagen
  1 sibling, 2 replies; 6+ messages in thread
From: Hervé Rouault @ 2001-08-20 11:52 UTC (permalink / raw)


I haven't tetex and texmf.cnf...

I have tried a lot of things since the last time. I have finally found that
when I uncomment the line "\runutilityfiletrue " in cont-sys.tex, it seems
to work!

What is exactly this line?
----- Original Message -----
From: "Henning Hraban Ramm" <hraban@fiee.net>
To: <ntg-context@ntg.nl>
Sent: Monday, August 20, 2001 12:40 PM
Subject: Re: Mpost disabled?

> Hervé Rouault schrieb:
> >-system(mpost -progname=mpost -mem=metafun glucose-mpgraph)...disabled.
> >Mpost seems to be disabled, where can I enable it?
>
> It's not Metapost, that is disabled, but 'system', that is, calling
> external programs.
> You can change this in texmf.cnf (at least on tetex):
>
> shell_escape = t % enable system commands via \write18{...}
>
> BTW: What means 18 in \write18?
>
> I don't really know, if this fixes the problem (is 'system' a Perl
> command? then there must be a restriction to Perl)
>
>
> --
> Grüßlis vom Hraban!
> ---
> http://www.fiee.net/   (Formelsammlung)
> http://www.angerweit.de/        (Musik)
> http://www.ramm.ch/          (Privates)
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mpost disabled?
  2001-08-20 11:52   ` Hervé Rouault
@ 2001-08-20 12:18     ` Hervé Rouault
  2001-08-20 12:54     ` Re[2]: " Giuseppe Bilotta
  1 sibling, 0 replies; 6+ messages in thread
From: Hervé Rouault @ 2001-08-20 12:18 UTC (permalink / raw)


Sorry, it doesn't work more...
----- Original Message -----
From: "Hervé Rouault" <herve.rouault@noos.fr>
To: "Group Context" <ntg-context@ntg.nl>; "Henning Hraban Ramm"
<hraban@fiee.net>
Sent: Monday, August 20, 2001 1:52 PM
Subject: Re: Mpost disabled?

> I haven't tetex and texmf.cnf...
>
> I have tried a lot of things since the last time. I have finally found
that
> when I uncomment the line "\runutilityfiletrue " in cont-sys.tex, it seems
> to work!
>
> What is exactly this line?
> ----- Original Message -----
> From: "Henning Hraban Ramm" <hraban@fiee.net>
> To: <ntg-context@ntg.nl>
> Sent: Monday, August 20, 2001 12:40 PM
> Subject: Re: Mpost disabled?
>
>
> > Hervé Rouault schrieb:
> > >-system(mpost -progname=mpost -mem=metafun glucose-mpgraph)...disabled.
> > >Mpost seems to be disabled, where can I enable it?
> >
> > It's not Metapost, that is disabled, but 'system', that is, calling
> > external programs.
> > You can change this in texmf.cnf (at least on tetex):
> >
> > shell_escape = t % enable system commands via \write18{...}
> >
> > BTW: What means 18 in \write18?
> >
> > I don't really know, if this fixes the problem (is 'system' a Perl
> > command? then there must be a restriction to Perl)
> >
> >
> > --
> > Grüßlis vom Hraban!
> > ---
> > http://www.fiee.net/   (Formelsammlung)
> > http://www.angerweit.de/        (Musik)
> > http://www.ramm.ch/          (Privates)
> >
>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re[2]: Mpost disabled?
  2001-08-20 11:52   ` Hervé Rouault
  2001-08-20 12:18     ` Hervé Rouault
@ 2001-08-20 12:54     ` Giuseppe Bilotta
  1 sibling, 0 replies; 6+ messages in thread
From: Giuseppe Bilotta @ 2001-08-20 12:54 UTC (permalink / raw)
  Cc: ntg-context

Monday, August 20, 2001 Hervé Rouault wrote:

HR> I haven't tetex and texmf.cnf...

Do you have MiKTeX? MiKTeX 2.x supports the \write18 trick, but
you must enable it either in the miktex.ini configuration file or
through the --shell-escape or -enable-write18 command line switch.

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mpost disabled?
  2001-08-20 10:40 ` Henning Hraban Ramm
  2001-08-20 11:52   ` Hervé Rouault
@ 2001-08-20 14:56   ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2001-08-20 14:56 UTC (permalink / raw)
  Cc: ntg-context

At 12:40 PM 8/20/2001 +0200, Henning Hraban Ramm wrote:

>BTW: What means 18 in \write18?

tex has 0-15 file handles, so 18 is safely outside this range; the 18 comes 
from some unix pipe or whatever number i'm told.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       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
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-20 14:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20  8:26 Mpost disabled? Hervé Rouault
2001-08-20 10:40 ` Henning Hraban Ramm
2001-08-20 11:52   ` Hervé Rouault
2001-08-20 12:18     ` Hervé Rouault
2001-08-20 12:54     ` Re[2]: " Giuseppe Bilotta
2001-08-20 14:56   ` Hans Hagen

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).