<div dir="ltr">Hello all,<br><br>I am trying to create my first LaTex document. I am using TexMaker as a frontend, running Ubuntu 8.04 as my OS. I have created a few figures using R with both the .eps and .png file format. Now I wish to import these into my LaTex document. I thought this would be pretty easy and doubly easu considering I was using TexMaker. Here is what I have done to try and enter these figures:<br>
<br>\documentclass[12pt]{article}<br>\usepackage{graphicx}[dvips]<br><br>\begin{figure}<br>\centering <br>\includegraphics[scale=1]{Graphs PNG/Color Contour SLI.png} <br>\caption{This is a test.}<br>\end{figure}<br>\end{document}<br>
<br>This portion of my document returns this error:<br><br>LaTeX Warning: File `Graphs PNG/Color Contour SLI.png&#39; not found on input line<br>48.<br>! LaTeX Error: File `Graphs PNG/Color Contour SLI.png&#39; not found.<br>
See the LaTeX manual or LaTeX Companion for explanation.<br>Type H &lt;return&gt; for immediate help.<br>...<br>l.48 ...scale=1]{Graphs PNG/Color Contour SLI.png}<br>Try typing &lt;return&gt; to proceed.<br>If that doesn&#39;t work, type X &lt;return&gt; to quit.<br>
! LaTeX Error: Cannot determine size of graphic in Graphs PNG/Color Contour SLI<br>.png (no BoundingBox).<br>See the LaTeX manual or LaTeX Companion for explanation.<br>Type H &lt;return&gt; for immediate help.<br>...<br>
l.48 ...scale=1]{Graphs PNG/Color Contour SLI.png}<br>Try typing &lt;return&gt; to proceed.<br>If that doesn&#39;t work, type X &lt;return&gt; to quit.<br>File: Graphs PNG/Color Contour SLI.png Graphic file (type eps)<br>
&lt;Graphs PNG/Color Contour SLI.png&gt;<br><br>Basically, I can&#39;t figure out why LaTex can&#39;t find my file. I have tried entering the path manually and using the includegraphics function within TexMaker using both an .eps file and .png. In both cases my .dvi output simply displays the title of the figure and an empty black box. I know this is super simple but all the documentation I have been able to find hasn&#39;t been able to address my problem. Am I loading up the wrong driver? Any help would be greatly appreciated.<br>
<br>Sam<br></div>