[Tuglist] Re: Metapost & LaTex

Radhakrishnan CV tuglist@mail.gnu.org.in
Tue, 7 Aug 2001 15:37:32 +0530 (IST)


On Tue, 7 Aug 2001 at 16:05, Suraj Kumar S. wrote:

   How do we put a metapost picture inside latex document.

   I create a "pic.mp" picture, compiled with mpost to get "pic.0" and then
   included that inside Latex as $$\epsfbox{pic.0}$$

Suraj,

I am sorry, I just replied your mail with pdfTeX in my mind, since
that will be the usual problem always querried. However, you can
adopt the same means in LaTeX too.

Move the pic.0 to pic.mps. And here is a typical document;

\documentclass{article}
\usepackage{graphicx,m-metapo}
\begin{document}

\includeMPgraphics{pic.mps}

\end{document}

Hope this helps. Apologies for misleading.

-- 
Radhakrishnan