I've been trying to figure out how to insert MetaPost code in a LaTeX document to creat some simple graphics.
The emp documentation states:
Compiling this causes an erroremp: The emp environment contains the description of a single figure that will be
placed at the location of the environment. Required arguments are the width
and the height of the figure, in units of \unitlength. They will be available as
the METAPOST variables w and h. The optional argument assigns a name to be
used with \empuse{hnamei}.
Code: Select all
\begin{emp}[name](width,height) METAPOST-commands \end{emp}
and nothing is displayed.I detected a emp environment outside of empfile
Can anyone nudge me in the right direction on trying to get this resolved?
Thanks!
PS, I'm using the recent MiKTeX/TeXnicCenter installations - I saw that there's "mpost" in the MiKTeX documentation that allows you to insert MetaPost images into the document, so, if things don't get resolved here I'll move over to the other forum.