[Tex/LaTex] Error in latex, No Bounding box on pdf figure

compilinggraphicstexshop

I am trying to compile a document on TeXShop (on a mac). I get an error when I insert a picture from a pdf file. I get the error that bounding box cannot be determined.
I looked at other answers. Somebody suggested to compile pdfLatex instead of Latex, but on TexShop I do not see how to do it.

I also tried to fix a bounding box on LaTeX, as in the following:

\includegraphics[width=1\columnwidth][bb=0 0 100 100]{nameFileFigure}

but it does not work.

How can I solve this problem?

Best Answer

In TeXShop, the Typeset menu includes a line Pdftex. Make sure that is ticked to run pdflatex instead of latex.

Screen shot

If you wish to supply a bounding box explicitly to an \includegraphics command whilst specifying the width the syntax is

\includegraphics[width=0.8\linewdith,bb=0 0 100 100]{figurefile}

with options one set of square brackets and separated by commas.