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 15:28:18 +0100	[thread overview]
Message-ID: <670992c60910270728m753eab5ci2636173d6114c966@mail.gmail.com> (raw)
In-Reply-To: <fe8d59da0910270558ya1f0814g176425db902235f1@mail.gmail.com>

2009/10/27 luigi scarso <luigi.scarso@gmail.com>:
> On Tue, Oct 27, 2009 at 1:02 PM, Matěj  Týč <matej.tyc@gmail.com> wrote:
>> Hello,
>> when I try to use MP code in my file, I follow the instructions, but
>> when I compile the file, there is no result whatsoever.
>> Text parts of the document are OK, but there is no trace of the image
>> that should be there.
>>
>> The following is taken directly from metafun manual (page 9) as the
>> minimal ConTeXt example:
>>
>> \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?
>
> \setupcolors[state=start]
> \starttext
> \startuseMPgraphic{dummy}
>  fill fullcircle scaled 5cm withcolor red ;
> \stopuseMPgraphic
> \useMPgraphic{dummy}
> \stoptext
>
>
> No problem here with latest minimals and
> $>texexec test.tex
> and
> $>context  test.tex
>

Thank you for your reply,
1. I have completely missed that I have to run 'context' after
texexec. I actually have read only about running texexec.
Moreover the "contex online" ( http://live.contextgarden.net/ ) site
most likely doesn't do that either since they produce empty PDFs if
you paste those lines in the form.

2. I have TeXLive installed and when I run 'context', I get a
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
sortof error and exit code 1.
Any suggestions on what can be wrong?
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 14:28 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ýč [this message]
2009-10-27 14:33     ` luigi scarso
2009-10-27 14:45 ` Aditya Mahajan
2009-10-27 18:01   ` Matěj Týč

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=670992c60910270728m753eab5ci2636173d6114c966@mail.gmail.com \
    --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).