I have a strange problem. I would like to include a figure in my PDF file, and my LaTeX source looks like this: Code: \begin{figure}[htbp] \begin{center} \includegraphics[width=0.8\textwidth]{FCM_1.eps} \end{center} \caption{My Caption} ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
1. ## LaTeX Question

I have a strange problem. I would like to include a figure in my PDF file, and my LaTeX source looks like this:

Code:
\begin{figure}[htbp]
\begin{center}
\includegraphics[width=0.8\textwidth]{FCM_1.eps}
\end{center}
\caption{My Caption}
\end{figure}
Then I run the command

\$ latex MyFile.tex

which returns MyFile.dvi. I can view the figure in the dvi file (using xdvi), but when I run pdflatex to convert the file into a PDF file I cannot see any diagram in the final PDF output, even though the compilation proceeds without error.

Can someone please tell me what is going on here?

2. instead of running pdflatex, try directly converting the dvi with dvipdfm filename.dvi...For some reason, I get much better luck with that...are the results the same?

3. Thank you very much, genesus. Your suggestion indeed works!

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•