Latex

From Metapost

To embed your files in latex/pdflatex use:

 \\documentclass{article}
 \\usepackage{ifpdf}
 \\ifpdf
   \\usepackage[pdftex]{graphicx}
   \\DeclareGraphicsRule{*}{mps}{*}{} 
 \\else
   \\usepackage{graphicx}
 \\fi
 \\begin{document}
   \\includegraphics{yourfile.1}
 \\end{document}
Personal tools