GeneralDisplaying metapost files in PDF or Postscript

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Chantal
Posts: 1
Joined: Fri Apr 25, 2008 10:03 am

Displaying metapost files in PDF or Postscript

Post by Chantal »

Hi, I'm trying to convert my tex file to PDF or PS but metapost images don't display properly. They come out fine in the DVI file. I've included them as follows:

Code: Select all

\begin{figure}[h]
   \centering
   \includegraphics[scale=0.85]{P7.1}
   \caption{A graph which is reducible in two rounds}\label{f-P7}
\end{figure}
Does anyone know how I can get them to display properly? Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Displaying metapost files in PDF or Postscript

Post by Stefan Kottwitz »

Hi Chantal,

welcome to the LaTeX Community board!
There could be several reasons. Beside finding those: the easiest way could be to convert the images to pdf format. After I use mpost example.mp to create example.1 I run epstopdf example.1 to produce the file example.pdf and include it with pdflatex like usual.

Stefan
LaTeX.org admin
Post Reply