ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Trying MPtoPDF!
@ 2011-01-08  9:54 Verhaag, G.C.H.M.
  2011-01-08 15:19 ` Vladimir Lomov
  0 siblings, 1 reply; 6+ messages in thread
From: Verhaag, G.C.H.M. @ 2011-01-08  9:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

While trying to get some MetaPost plots converted to PDF, with the 
latest ConTeXt minimals installation (MkIV) on my Linux box, things 
happen which I don't understand, sorry!

First I run the command:

mtxrun --script

which yields:

MTXrun | TDS Runner Tool 1.26
MTXrun |
MTXrun | no script name given, known scripts:
MTXrun |
MTXrun | babel         1.20  Babel Input To UTF Conversion
MTXrun | base          1.35  ConTeXt TDS Management Tool
MTXrun | cache         0.10  ConTeXt & MetaTeX Cache Management
MTXrun | chars         0.10  MkII Character Table Generators
MTXrun | check         0.10  Basic ConTeXt Syntax Checking
MTXrun | context       0.51  ConTeXt Process Management
MTXrun | convert       0.10  ConTeXT Graphic Conversion Helpers
MTXrun | fonts         0.21  ConTeXt Font Database Management
MTXrun | grep          0.10  Simple Grepper
MTXrun | interface     0.11  ConTeXt Interface Related Goodies
MTXrun | metatex       0.10  MetaTeX Process Management
MTXrun | modules       1.00  ConTeXt Module Documentation Generators
MTXrun | mptopdf       0.51  MetaPost to PDF Converter
[more is output but NOT listed here!]

When I run

mtxrun --script mptopdf tobeconvertedplot.1

I get the following output:


This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 \write18 enabled.

kpathsea: Running mktexfmt mptopdf.fmt
mktexfmt: No such file or directory
I can't find the format file `mptopdf.fmt'!

MPtoPDF 1.4.0 : error while processing tex file

By the way I've NO TeXLive installed!
Why do the MTtoPDF versions (1.4 or 0.5!) not agree, and why does it not 
work?

Do I need to install other tools to get it working?

Regards,
Gerard Verhaag
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Trying MPtoPDF!
  2011-01-08  9:54 Trying MPtoPDF! Verhaag, G.C.H.M.
@ 2011-01-08 15:19 ` Vladimir Lomov
  2011-01-10  9:35   ` Verhaag, G.C.H.M.
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Lomov @ 2011-01-08 15:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

** Verhaag, G.C.H.M. [2011-01-08 10:54:53 +0100]:

> Hi,
[...]

> This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
> \write18 enabled.
This: "(TeX Live 2010)" contradicts with that:
> While trying to get some MetaPost plots converted to PDF, with the
> latest ConTeXt minimals installation (MkIV) on my Linux box, things
> happen which I don't understand, sorry!

[...]
> Do I need to install other tools to get it working?
I'm not sure. But before you have to be sure that you actually use
context minimals.

Suppose, that you have TeX Live 2010 installed here:
/usr/local/texlive/2010
and context minimals installed here:
/usr/local/opt/context

Then run terminal (konsole, gnome-terminal, xterm, urxvt, ...) and
do
$ . /usr/local/opt/context/tex/setuptex
and _after_ that run
$ mtxrun ...

If you still get an error something is really broken.

---
WBR, Vladimir Lomov

-- 
It is enough to make one sympathize with a tyrant for the determination
of his courtiers to deceive him for their own personal ends...
		-- Russell Baker and Charles Peters
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Trying MPtoPDF!
  2011-01-08 15:19 ` Vladimir Lomov
@ 2011-01-10  9:35   ` Verhaag, G.C.H.M.
  2011-01-10 12:40     ` Vladimir Lomov
  0 siblings, 1 reply; 6+ messages in thread
From: Verhaag, G.C.H.M. @ 2011-01-10  9:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Vladimir Lomov wrote:

>** Verhaag, G.C.H.M. [2011-01-08 10:54:53 +0100]:
>
>  
>
>>Hi,
>>    
>>
>[...]
>
>  
>
>>This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
>>\write18 enabled.
>>    
>>
>This: "(TeX Live 2010)" contradicts with that:
>  
>
>>While trying to get some MetaPost plots converted to PDF, with the
>>latest ConTeXt minimals installation (MkIV) on my Linux box, things
>>happen which I don't understand, sorry!
>>    
>>
>
>[...]
>  
>
>>Do I need to install other tools to get it working?
>>    
>>
>I'm not sure. But before you have to be sure that you actually use
>context minimals.
>
>Suppose, that you have TeX Live 2010 installed here:
>/usr/local/texlive/2010
>and context minimals installed here:
>/usr/local/opt/context
>
>Then run terminal (konsole, gnome-terminal, xterm, urxvt, ...) and
>do
>$ . /usr/local/opt/context/tex/setuptex
>and _after_ that run
>$ mtxrun ...
>
>If you still get an error something is really broken.
>
>---
>WBR, Vladimir Lomov
>
>  
>
Hi,

No I haven't installed TeXLive2010, only ConTeXt minimals!

Regards,
Gerard Verhaag
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Trying MPtoPDF!
  2011-01-10  9:35   ` Verhaag, G.C.H.M.
@ 2011-01-10 12:40     ` Vladimir Lomov
  2011-01-10 13:35       ` Albrecht Kauffmann
  2011-01-10 13:57       ` Mojca Miklavec
  0 siblings, 2 replies; 6+ messages in thread
From: Vladimir Lomov @ 2011-01-10 12:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

** Verhaag, G.C.H.M. [2011-01-10 10:35:32 +0100]:

> Vladimir Lomov wrote:

>>** Verhaag, G.C.H.M. [2011-01-08 10:54:53 +0100]:


>>>Hi,

>>[...]


>>>This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
>>>\write18 enabled.

>>This: "(TeX Live 2010)" contradicts with that:

>>>While trying to get some MetaPost plots converted to PDF, with the
>>>latest ConTeXt minimals installation (MkIV) on my Linux box, things
>>>happen which I don't understand, sorry!


>>[...]

>>>Do I need to install other tools to get it working?

>>I'm not sure. But before you have to be sure that you actually use
>>context minimals.

>>Suppose, that you have TeX Live 2010 installed here:
>>/usr/local/texlive/2010
>>and context minimals installed here:
>>/usr/local/opt/context

>>Then run terminal (konsole, gnome-terminal, xterm, urxvt, ...) and
>>do
>>$ . /usr/local/opt/context/tex/setuptex
>>and _after_ that run
>>$ mtxrun ...

>>If you still get an error something is really broken.

> Hi,

> No I haven't installed TeXLive2010, only ConTeXt minimals!
Sorry, I wasn't aware that pdftex from context minimal pretends to be
from TL 2010 (or this is intentionaly?).

I tried
$ mptopdf graph1_mp.mp
and saw only file name echoed.

The 'mptopdf' script contains
mtxrun --script base "$@"

Sorry for noise.

---
WBR, Vladimir Lomov

-- 
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence.
		-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Trying MPtoPDF!
  2011-01-10 12:40     ` Vladimir Lomov
@ 2011-01-10 13:35       ` Albrecht Kauffmann
  2011-01-10 13:57       ` Mojca Miklavec
  1 sibling, 0 replies; 6+ messages in thread
From: Albrecht Kauffmann @ 2011-01-10 13:35 UTC (permalink / raw)
  To: Vladimir Lomov; +Cc: mailing list for ConTeXt users

Dear Vladimir,

after processing your file graph1_mp.mp by typing

$mpost graph1_mp.mp (or: mp graph1_mp.mp)

you should get a file graph1_mp.1 (if the figure is numbered by
beginfig(1) ).

Then you can convert this file by typing

$mptopdf graph1_mp.1

Greetings
Albrecht

On Mon, 10 Jan 2011, Vladimir Lomov wrote:

> ** Verhaag, G.C.H.M. [2011-01-10 10:35:32 +0100]:
>
> > Vladimir Lomov wrote:
>
> >>** Verhaag, G.C.H.M. [2011-01-08 10:54:53 +0100]:
>
>
> >>>Hi,
>
> >>[...]
>
>
> >>>This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
> >>>\write18 enabled.
>
> >>This: "(TeX Live 2010)" contradicts with that:
>
> >>>While trying to get some MetaPost plots converted to PDF, with the
> >>>latest ConTeXt minimals installation (MkIV) on my Linux box, things
> >>>happen which I don't understand, sorry!
>
>
> >>[...]
>
> >>>Do I need to install other tools to get it working?
>
> >>I'm not sure. But before you have to be sure that you actually use
> >>context minimals.
>
> >>Suppose, that you have TeX Live 2010 installed here:
> >>/usr/local/texlive/2010
> >>and context minimals installed here:
> >>/usr/local/opt/context
>
> >>Then run terminal (konsole, gnome-terminal, xterm, urxvt, ...) and
> >>do
> >>$ . /usr/local/opt/context/tex/setuptex
> >>and _after_ that run
> >>$ mtxrun ...
>
> >>If you still get an error something is really broken.
>
> > Hi,
>
> > No I haven't installed TeXLive2010, only ConTeXt minimals!
> Sorry, I wasn't aware that pdftex from context minimal pretends to be
> from TL 2010 (or this is intentionaly?).
>
> I tried
> $ mptopdf graph1_mp.mp
> and saw only file name echoed.
>
> The 'mptopdf' script contains
> mtxrun --script base "$@"
>
> Sorry for noise.
>
> ---
> WBR, Vladimir Lomov
>
> --
> The use of COBOL cripples the mind; its teaching should, therefore, be
> regarded as a criminal offence.
> 		-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Trying MPtoPDF!
  2011-01-10 12:40     ` Vladimir Lomov
  2011-01-10 13:35       ` Albrecht Kauffmann
@ 2011-01-10 13:57       ` Mojca Miklavec
  1 sibling, 0 replies; 6+ messages in thread
From: Mojca Miklavec @ 2011-01-10 13:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Vladimir Lomov

On Mon, Jan 10, 2011 at 13:40, Vladimir Lomov wrote:
>
> Sorry, I wasn't aware that pdftex from context minimal pretends to be
> from TL 2010 (or this is intentionaly?).

We could have modified the string, but we don't. We simply take what's
in pdfTeX source repository. (Now we don't even do that any more.)

Most binaries for ConTeXt minimals siply come from TeX Live anyway.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-01-10 13:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-08  9:54 Trying MPtoPDF! Verhaag, G.C.H.M.
2011-01-08 15:19 ` Vladimir Lomov
2011-01-10  9:35   ` Verhaag, G.C.H.M.
2011-01-10 12:40     ` Vladimir Lomov
2011-01-10 13:35       ` Albrecht Kauffmann
2011-01-10 13:57       ` Mojca Miklavec

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