2

I am using Windows x64 bit , Texmaker 5.0.3 , basic miktex 2.9.6850 and when I compile this code, I mean when I run 'LaTeX':

\documentclass[twocolumn,prl,nobalancelastpage,aps,10pt]{revtex4-1}
%\documentclass[rmp,preprint]{revtex4-1}
 \usepackage[latin9]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx,bm,times}
\graphicspath{ {C:/Varie/UNI/MANO/I-semestre-2018/fraboni/esperimenti/RT/pictures/} }

\begin{document}

\includegraphics{apparatus.pdf}

I get this error both with png and pdf formati file:

! LaTeX Error: Cannot determine size of graphic in C:/Varie/UNI/MANO/I-semestre -2018/fraboni/esperimenti/RT/pictures/apparatus.pdf (no BoundingBox).

I saw other answer here but I could not solve it.

4
  • 1
    What exactly are you running here? It sounds like you're running latex and not pdflatex. Try the latter.
    – daleif
    Commented Dec 5, 2018 at 18:07
  • I am running LaTeX Commented Dec 5, 2018 at 21:18
  • 1
    You need to run pdflatex, latex does noget support anything other than eps
    – daleif
    Commented Dec 5, 2018 at 21:19
  • @daleif I love you thank you very much. now it works Commented Dec 5, 2018 at 21:21

1 Answer 1

3

You need to run pdflatex and not latex, latex does not support anything other than eps.

2
  • 1
    I am running pdflatex. Still I get the error: ! LaTeX Error: Cannot determine size of graphic in sismo.jpg (no BoundingBox). Commented Jul 9, 2020 at 20:54
  • 2
    what if I am using overleaf and get the same error? Commented Jan 6, 2021 at 6:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .