ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mptopdf missing
Date: Tue, 29 Nov 2011 21:45:38 +0100	[thread overview]
Message-ID: <4ED54472.5030108@wxs.nl> (raw)
In-Reply-To: <CABY2naz-a=x1cvUFwY4BTEtss6-UH2-V80CpAZ-m-WwTA7kPNw@mail.gmail.com>

On 29-11-2011 20:36, Ernesto Posse wrote:
> On Tue, Nov 29, 2011 at 12:51 PM, Hans Hagen<pragma@wxs.nl>  wrote:
>> On 29-11-2011 18:07, Ernesto Posse wrote:
>>>
>>> Thanks,
>>>
>>> On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec
>>> <mojca.miklavec.lists@gmail.com>    wrote:
>>>>
>>>> On Mon, Nov 28, 2011 at 21:44, Ernesto Posse<eposse@gmail.com>    wrote:
>>>>>
>>>>> Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight
>>>>> from Ubuntu's repository (version 2011.05.18.20110627-1) but the
>>>>> mptopdf script seems to be missing, and mtxrun doesn't show any
>>>>> available scripts. What could be the problem?
>>>>
>>>>
>>>> I would suggest to ask the Ubuntu maintainer of TeX Live package. I
>>>> can tell you that mptopdf is a different package in TeX Live 2011, but
>>>> ConTeXt should have a dependency on that package. What exactly Ubuntu
>>>> did on their system ... I have no idea. The developer is free to ask
>>>> questions here, but in principle we cannot help you much unless some
>>>> Ubuntu freak speaks up.
>>>
>>>
>>> I thought that mptopdf was part of ConTeXt... to is it part of TeX Live
>>> instead?
>>
>>
>> It is part of context but as context moves on (mkiv) no user will use
>> mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone
>> graphics the mkiv related context and metapost scripts can do the same as
>> mptopdf.
>
> I'm using it for stand-alone graphics, to be included in a latex file,
> to be compiled with pdflatex. In short, I have a diagram in mp, and I
> used to do the following:
>
> mpost diagram.mp
> mptopdf diagram.1
>
> My understanding is that the .1 file generated by mpost is actually an
> ..eps file, but pdflatex doesn't accept it, and that's why I used
> mptopdf. I do not see any options in either mpost or context that
> would allow me to do that. How could I use any of these to get a pdf?

what happens if you rename the .1 to .mps? inclusion of mp in pdftex 
should work ok in latex (as it uses the mp to pdf converter that is also 
used in mptopdf)

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2011-11-29 20:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 20:44 Ernesto Posse
2011-11-29 16:44 ` Mojca Miklavec
2011-11-29 17:07   ` Ernesto Posse
2011-11-29 17:23     ` Mojca Miklavec
2011-11-29 17:51     ` Hans Hagen
2011-11-29 19:36       ` Ernesto Posse
2011-11-29 20:45         ` Hans Hagen [this message]
2011-11-29 21:14           ` Ernesto Posse

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=4ED54472.5030108@wxs.nl \
    --to=pragma@wxs.nl \
    --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).