ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Matěj Týč" <matej.tyc@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: missing metapost graphics
Date: Tue, 27 Oct 2009 19:01:09 +0100	[thread overview]
Message-ID: <1256666469.2012.14.camel@matej-desktop> (raw)
In-Reply-To: <alpine.LNX.2.00.0910271044230.10467@ybpnyubfg.ybpnyqbznva>

> > \starttext
> > \startuseMPgraphic{dummy}
> > fill fullcircle scaled 5cm withcolor red ;
> > \stopuseMPgraphic
> > \useMPgraphic{dummy}
> > \stoptext
> >
> > Well, I get nothing on my setup as well as if I use the online compiler.
> > Therefore I assume that something must be wrong.
> > Could you comment on that?
> 
> This is because, by default, write18 is disabled in texlive. You can 
> either enable it (see the wiki for details) or add
> 
> \runMPgraphicsfalse
> 
> on top of your file.

Thank you, Aditya, that was it.
I have added 'mpost' to 'shell_escape_commands' in texmf.conf file.
If it is possible, I would appreciate a warning that a shell command has
not been escaped.
I had no clue what might gone wrong.

And last but not least, do you think that metapost can be a security
threat? Because if not, I will write to TeXLive packagers to allow
escaping of the 'mpost' command.
Regards,
Matej

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2009-10-27 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 12:02 Matěj  Týč
2009-10-27 12:58 ` luigi scarso
2009-10-27 14:28   ` Matěj  Týč
2009-10-27 14:33     ` luigi scarso
2009-10-27 14:45 ` Aditya Mahajan
2009-10-27 18:01   ` Matěj Týč [this message]

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=1256666469.2012.14.camel@matej-desktop \
    --to=matej.tyc@gmail.com \
    --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).