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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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