[Tuglist] Re: Metapost & LaTex

Radhakrishnan CV tuglist@mail.gnu.org.in
Tue, 7 Aug 2001 15:28:33 +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}$$

   Is this the way to do it ?

Move your pic.0 to pic.mps

\documentclass{article}
\usepackage[pdftex]{hyperref}
\usepackage{graphicx,m-metapo}
\begin{document}

\includeMPgraphics{mp}

\end{document}

Please see section 5.4.1 of pdfTeX FAQ at:

 http://www.tug.org/applications/pdftex/pdfTeX-FAQ-scr.pdf

You can have other tricks too.


-- 
Radhakrishnan