Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am facing a problem in attaching a figure. I get the following error:

Latex error: Cannot determine size of graphic in fig.pdf

\begin{figure}
\centering
\includegraphics[width=0.8\textwidth,]{fig.pdf}
\caption{Coop. Network with Relays}
\end{figure}
share|improve this question

marked as duplicate by lockstep, Claudio Fiandrino, mafp, zeroth, T. Verron Feb 18 '13 at 15:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Are you using LaTeX or PDFLaTeX? Basically .PDF extensions will support only PDFLATEX. –  Balaji Feb 18 '13 at 12:37
    
See tex.stackexchange.com/q/98704/19156 –  Lionel MANSUY Feb 18 '13 at 12:45
    
i m using pdflatex, and i have tried it for .eps, .png .jpg , but i don't know how to fix it –  Muhammad Sajjad Khan Feb 19 '13 at 2:12
add comment

Browse other questions tagged or ask your own question.