Graphics, Figures & Tablesbeamer includegraphics not compiled

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
wuwu717
Posts: 1
Joined: Sat Jan 02, 2016 5:54 am

beamer includegraphics not compiled

Post by wuwu717 »

Hello, I am new to beamer and desperate to defend my proposal this month. I use PCTeXv6. In the beamer slides, I used "Insert" and then "Graphic" and got the following code which is not working:

Code: Select all

\begin{figure}[tbp] % float placement: (h)ere, page (t)op, page (b)ottom, other (p)age
  \centering
  \includegraphics[width=2in]{C:/PhD_Yan/proposal_slides/proposal/Datafigure1.png}
  \caption{Caption for Datafigure1}
  \label{fig:Datafigure1}
\end{figure}
Here is the log:

Code: Select all

Error: pdfetex.exe (file C:/PhD_Yan/proposal_slides/proposal/Datafigure1.png): 
xpdf: reading PDF image failed
 ==> Fatal error occurred, the output PDF file is not finished!
I tried all kinds of picture formats including .eps, .jpg, .pdf... None of them is working. I contacted the PCTeX support. No response for couple days now. Any help is greatly appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

BlackForestrian

Re: beamer includegraphics not compiled

Post by BlackForestrian »

PCTeX is a commercial provider of TeX software.

It's unclear which distribution/variant/version of TeX is behind `pdfetex`.

In my point of view there's no need to use commercial software here. Try MikTeX or TeX Live for Windows.
Post Reply