ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About 4Tex, ConteXt, MP, mproof
@ 2000-12-26 10:48 Peter van Summeren
  2000-12-26 11:08 ` Marc van Dongen
  2000-12-27  8:58 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Peter van Summeren @ 2000-12-26 10:48 UTC (permalink / raw)


Hello
I found some manual (metafun-p.pdf) from Pragma with the text:
\starttext
\startuseMPgraphic{dummy}
   fill fullcircle  scaled 5cm withcolor red ;
\stopuseMPgraphic
\useMPgraphic{dummy}
\stoptext
This text is supposed to work with Context. It compiles ok. But when I
want to look at it with Acrobat 4.0, it tells me it can not find
mpgraph.1
But that file is created  and in the same directory as the tex file
which I used to compile.
Could anyone give me  a hint?
Also: when I use the mp-tool from 4TeX and a file examples.mp (from TeX
live), it complains with MP-output about not finding mproof. It makes
however all the files needed.
I just want to make a simple logo for myself. Why does this 4TeX stuff
not work with all the help files needed?
with friendly greetings,
Peter van Summeren


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

* Re: About 4Tex, ConteXt, MP, mproof
  2000-12-26 10:48 About 4Tex, ConteXt, MP, mproof Peter van Summeren
@ 2000-12-26 11:08 ` Marc van Dongen
  2000-12-27  8:56   ` Hans Hagen
  2000-12-27  8:58 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Marc van Dongen @ 2000-12-26 11:08 UTC (permalink / raw)
  Cc: ntg-context

Peter van Summeren (stonepath@multiweb.nl) wrote:

: I found some manual (metafun-p.pdf) from Pragma with the text:
: \starttext
: \startuseMPgraphic{dummy}
:    fill fullcircle  scaled 5cm withcolor red ;
: \stopuseMPgraphic
: \useMPgraphic{dummy}
: \stoptext
: This text is supposed to work with Context. It compiles ok. But when I
: want to look at it with Acrobat 4.0, it tells me it can not find
: mpgraph.1

Metapost generates encapsulated postscript---see manual. You
have to convert the encapsulated postscript file mpgraph.1
to pdf. You can use epstopdf fpor this purpose.

Have fun.

Regards,

Marc
-- 
     Marc van Dongen, CS Dept | phone:  +353 21 4903578
University College Cork, NUIC | Fax:    +353 21 4903113
  College Road, Cork, Ireland | Email: dongen@cs.ucc.ie


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

* Re: About 4Tex, ConteXt, MP, mproof
  2000-12-26 11:08 ` Marc van Dongen
@ 2000-12-27  8:56   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2000-12-27  8:56 UTC (permalink / raw)
  Cc: Peter van Summeren, ntg-context

At 11:08 AM 12/26/00 +0000, Marc van Dongen wrote:
>Peter van Summeren (stonepath@multiweb.nl) wrote:
>
>: I found some manual (metafun-p.pdf) from Pragma with the text:
>: \starttext
>: \startuseMPgraphic{dummy}
>:    fill fullcircle  scaled 5cm withcolor red ;
>: \stopuseMPgraphic
>: \useMPgraphic{dummy}
>: \stoptext
>: This text is supposed to work with Context. It compiles ok. But when I
>: want to look at it with Acrobat 4.0, it tells me it can not find
>: mpgraph.1
>
>Metapost generates encapsulated postscript---see manual. You
>have to convert the encapsulated postscript file mpgraph.1
>to pdf. You can use epstopdf fpor this purpose.

If you use pdftex and add either as topline 

% output=pdftex 

or inline 

\setupoutput[pdftex] 

or when running texexec add 

--pdf 

you will get a pdf file directly. 

When you want to convert an stand alone mp graphic output file to pdf, you
can use

mptopdf filename  [or a pattern] 

on the metapost page at our site you can find more about that. Yet another
option is 

texexec --pdf --fig=c filename 

which you can use to make a file with collections of mp graphics. 

Hans  
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: About 4Tex, ConteXt, MP, mproof
  2000-12-26 10:48 About 4Tex, ConteXt, MP, mproof Peter van Summeren
  2000-12-26 11:08 ` Marc van Dongen
@ 2000-12-27  8:58 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2000-12-27  8:58 UTC (permalink / raw)
  Cc: ntg-context

At 11:48 AM 12/26/00 +0100, Peter van Summeren wrote:
>Hello
>I found some manual (metafun-p.pdf) from Pragma with the text:
>\starttext
>\startuseMPgraphic{dummy}
>   fill fullcircle  scaled 5cm withcolor red ;
>\stopuseMPgraphic
>\useMPgraphic{dummy}
>\stoptext
>This text is supposed to work with Context. It compiles ok. But when I
>want to look at it with Acrobat 4.0, it tells me it can not find
>mpgraph.1
>But that file is created  and in the same directory as the tex file
>which I used to compile.
>Could anyone give me  a hint?
>Also: when I use the mp-tool from 4TeX and a file examples.mp (from TeX
>live), it complains with MP-output about not finding mproof. It makes
>however all the files needed.
>I just want to make a simple logo for myself. Why does this 4TeX stuff
>not work with all the help files needed?

you have to update texexec, since on 4tex the old version [binary based on
module source] is used which is completely unaware of metapost etc. 

>with friendly greetings,

There is also 

\starttext 

\startMPpage 
 some code
\stopMPpage 

\stoptext 

This crops the page to the image, which for a logo is probably what you want. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

end of thread, other threads:[~2000-12-27  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-26 10:48 About 4Tex, ConteXt, MP, mproof Peter van Summeren
2000-12-26 11:08 ` Marc van Dongen
2000-12-27  8:56   ` Hans Hagen
2000-12-27  8:58 ` Hans Hagen

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