Sunday, March 19, 2006

View eps file generated by MetpPost with ghostview or yap

Add the following at the very beginning and the end of the mp file:

verbatimtex;
\documentclass{article}
\begin{document}
etex;
...
verbatimtex;
\end{document}
etex;
end;

Compile the mp file with:
mp -tex=latex file.mp

No comments:

Post a Comment