• Notice regarding image hosts and attachments. See here.

Metapost & Latex

Associate
Joined
6 Nov 2006
Posts
722
Location
Devon
This is probably a really stupid question so apologies for that.

I am trying to create some graphics using metapost for inclusion in a latex document. I have made the metapost script and using the command mp cylinder got the output file cylinder.1

My question is how do I then include this file in my latex document? I have tried using

\begin{figure}[p] \centering
\includegraphics[width=0.35\textwidth]{cylinder.1}\\
\end{figure}

but I just get the an error saying unknown graphics extension .1

I have had a look on the internet but can't find much about what to do with metapost output files.

Any help would be great

Thanks
 
Back
Top Bottom