Graphics, Figures & Tables ⇒ Figure not showing
Figure not showing
Using MikTeX on Wondows XP, with TeXnicCeneter interface. Trying to insert a figure into a .tex document.
\usepackage{graphicx} is there. Inside the 'figure' environment I \includegraphics{filename.eps}. There's also \caption .
Compiling to PDF there are no errors. The PDF output has assigned space for the figure, with the caption printed, but the graphics itself - the figure - isn't showing.
Can anyone suggest what I'm dong wrong and how to fix?
Thanks,
David Barkai
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure not showing
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figure not showing
1. I tried my doc with LaTeX=>PS. Figure did not show.
2. Created a MWE, and the above does work. So, something was wrong with my complete document (the example is too minimal).
3. While I create a minimal example that fails on =>PS, please show me if there is a way to define the two-step build profile (LaTeX=>PS=>PDF). TeXnicCenter does not offer that as a fedualt. I can manage that by LaTeX=>PS followed by 'convert' of PS to PDF using GSview. Is there a more elegant way?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure not showing
Go to the build profiles dialogue window by pressing Alt+F7 and start the wizard in the lower left corner. With all necessary software (GSview/Ghostscript) installed the current version of TeXnicCenter (TXC 1.0 RC1) should restore the build profiles and add the new one.dbarkai wrote:[...] While I create a minimal example that fails on =>PS, please show me if there is a way to define the two-step build profile (LaTeX=>PS=>PDF). TeXnicCenter does not offer that as a fedualt. [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figure not showing
First, I realized on I don't have TeXnicCenter ver 1.0 RC1, but an earlier beta. I fixed that.
Second, I created PS file, then tried to convert to EPS via GSview - this does not work well. I now set uo a printer-to-file that creates EPS. This seems to work much better.
Figure not showing
I have a similar problem, and I could not find the answer in the previous post. I am using TeXniccenter 1 Beta 7.50, MikTeX 2.70. Using output profile PDFLatex, I want to add a .pdf image (vector) to my file. It basically looks something like this:
Code: Select all
\documentclass[11pt,draft]{article}
\usepackage[english]{babel}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{float}
\begin{document}
Text
\begin{figure}[ht]
\centering
\includegraphics[scale=0.5]{image}
\caption{caption text}
\label{fig:image}
\end{figure}
\end{document}
Thanks in advance. Greetings,
Robert
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure not showing
The cause in this case is very simple. Just omit draft in the option list for the document class.RobertSS wrote:[…] I have a similar problem, and I could not find the answer in the previous post. […] When I compile, I see boxes with the filename (image.pdf) in it, but the image itself is not shown. I also tried image.pdf, that does not work either. What is going wrong here? […]
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figure not showing

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure not showing
If you need such an effect, you may take a look at the draftcopy package. But this only works with latex. For pdflatex there is the pdfdraftcopy package. But this package cannot be found on CTAN and is not part of any LaTeX distribution.RobertSS wrote:[…] (I thought it would print something like "draft" in light grey in the back) […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10