[pdftex] Metapost in pdftex
Paul Vojta
vojta at Math.Berkeley.EDU
Sat Jul 14 21:48:27 CEST 2007
On Sat, Jul 14, 2007 at 02:20:24PM -0300, Maurício wrote:
> Hi,
>
> I've read in a document named 'The pdfTEX user
> manual' that Metapost is the recommended way of
> using pictures. Sorry for asking this probably
> obvious question here, since it has to be
> somewhere in some documentation, but I wasn't able
> to find it: how do I include a Metapost picture in
> a pdfTEX document?
The answer depends on which macro package you are using. For latex,
\usepackage{graphicx}. For plain or amstex, use epsf.tex. Examples
are available at:
http://math.berkeley.edu/~vojta/tex/samp-l/mpost.html
http://math.berkeley.edu/~vojta/tex/samp-p/mpost.html
for latex and plain/amstex, respectively. For ConTeXt, see
http://www.pragma-ade.com/metapost.htm
> Is it possible to write
> Metapost code inside a .tex file that is going to
> be read by pdfTEX?
No. I wish it was.
--Paul Vojta, vojta at math.berkeley.edu
More information about the pdftex
mailing list