title: include figure files in latex
body: <p>I am trying to include jpeg files in latex</p>
  
  <pre><code>\includegraphics[width=57.6mm, height=43.2mm]{../../results2/html/zerooneloss_stumps.jpg}  
  </code></pre>
  
  <p>With specified the width and height and compiled with pdflatex, however, it produces the error:</p>
  
  <pre><code>! LaTeX Error: Cannot determine size of graphic in ../../results2/html/zerooneloss_stumps.jpg (no BoundingBox).  
  </code></pre>
  
  <p>The true size of the image is 576x432 in pixels. Have I specified the size correctly in the latex file? </p>
  
  <p>Anyway to use the default setting without need to specify the width and height? If I don't specify the them in the latex file, </p>
  
  <pre><code>\includegraphics[]{../../results2/html/zerooneloss_stumps.jpg}
  </code></pre>
  
  <p>I still get the same no BoundingBox error. </p>
  
  <p>Thanks and regards!</p>
  
  <hr>
  
  <p>Change </p>
  
  <pre><code>\includegraphics[]{../../results2/html/zerooneloss_stumps.jpg}
  </code></pre>
  
  <p>to</p>
  
  <pre><code>\includegraphics{../../results2/html/zerooneloss_stumps.jpg}
  </code></pre>
  
  <p>still has the no BoundingBox error. </p>
  
  <hr>
  
  <p>I am using</p>
  
  <pre><code>\usepackage[dvips]{graphicx}
  </code></pre>
  
  <p>What is the difference between it and</p>
  
  <pre><code>\usepackage{graphicx}
  </code></pre>
  
  <p>It seems with the former one, eps figure files can work while jpeg files cannot, with the latter, things become reverse?</p>
  
  <hr>
  
  <p>Is it possiblt to include figure files of both eps and jpg in the same latex file?</p>