Results 1 to 3 of 3
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.
- 05-07-2006 #1Just Joined!
- Join Date
- Jul 2004
- Posts
- 94
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:
Then I run the commandCode:\begin{figure}[htbp] \begin{center} \includegraphics[width=0.8\textwidth]{FCM_1.eps} \end{center} \caption{My Caption} \end{figure}
$ 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?
- 05-07-2006 #2Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
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?
Operating System: GNU Emacs
- 05-07-2006 #3Just Joined!
- Join Date
- Jul 2004
- Posts
- 94
Thank you very much, genesus. Your suggestion indeed works!


Reply With Quote
