Re: [NTG-context] Trying MPtoPDF!

2011-01-10 Thread Verhaag, G.C.H.M.

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
___


Re: [NTG-context] Trying MPtoPDF!

2011-01-10 Thread Vladimir Lomov
** 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
___


Re: [NTG-context] Trying MPtoPDF!

2011-01-10 Thread Albrecht Kauffmann
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
___


Re: [NTG-context] Trying MPtoPDF!

2011-01-10 Thread Mojca Miklavec
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
___


[NTG-context] Trying MPtoPDF!

2011-01-08 Thread Verhaag, G.C.H.M.

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
___


Re: [NTG-context] Trying MPtoPDF!

2011-01-08 Thread Vladimir Lomov
** 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
___