Graphics, Figures & TablesImages are empty

Information and discussion about graphics, figures & tables in LaTeX documents.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Images are empty

Post by Stefan Kottwitz »

Another thought: perhaps also try reducing the minimal example further: remove natwidth and natheight options and the figure* environment and test again.

Stefan
LaTeX.org admin

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Images are empty

Post by Johannes_B »

natwidth and natheight are not supposed to be used with pdflatex.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Laurens
Posts: 7
Joined: Mon Feb 20, 2017 10:13 am

Images are empty

Post by Laurens »

Thanks guys,

Natwidth and Natheight were the culprits, it works now.

I had those in there because I got boundingbox errors when I tried to compile using "LateX"
For some reason I always did Latex -> PDFLatex but clearly the first step is unnecessary.

Sorry to take your time and thankyou very much for helping :)
robertoortizmoraes
Posts: 1
Joined: Thu Oct 11, 2018 2:22 pm

Images are empty

Post by robertoortizmoraes »

Hi
I've got the same problem and I am stuck!
I've got the message...
Package epstopdf Warning: No graphics package `graphic{s,x}' loaded.
... and after pdflatex compilation my pdf file shows empty squares where there
should be my figures.
Please, help! I've been using latex for over 20 years and I've never been like
this!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Images are empty

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

Add this to your preamble, before loading the epstopdf package:

\usepackage{graphicx}

Stefan
LaTeX.org admin
Post Reply