Hi,
When I include images into my documents, they are not included in my compiled document. Instead, I only get a black frame. I used to work with TexnicCenter, and never had this problem there. (Using Kile now)
This is how I include images:
\begin{figure}[ht]
\centering
\includegraphics{/home/asdkahjk/adjhakjdhf/adadsa.eps}
\caption{`afdslkajkdl}
\label{fig:adadfa}
\end{figure}
Of course, I use \usepackage{graphicx} at the beginning of my document.
I get no error messages.
I am totally lost, and would appreciate any ideas.
General ⇒ Graphicx problem
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Graphicx problem
Seems to me like there is the draft option set in the option list for the document class. Omit that option and graphics files should be included in the final output. Otherwise provide a minimal working example (MWE) that reproduces the described effect.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Graphicx problem
Hi,
no draft-option, I'm afraid.
That's my attempt at a MWE:
\documentclass[12pt,oneside,a4paper,openany]{book}\rmfamily
\usepackage{graphicx}
\begin{document}
\chapter{asjkfda}
\begin{figure}[ht]
\centering
\includegraphics{/home/path/image.eps}
\caption{Caption Text}
\label{fig:Label}
\end{figure}
\end{document}
Thanks,
Judith
no draft-option, I'm afraid.
That's my attempt at a MWE:
\documentclass[12pt,oneside,a4paper,openany]{book}\rmfamily
\usepackage{graphicx}
\begin{document}
\chapter{asjkfda}
\begin{figure}[ht]
\centering
\includegraphics{/home/path/image.eps}
\caption{Caption Text}
\label{fig:Label}
\end{figure}
\end{document}
Thanks,
Judith
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Graphicx problem
Hi Judith,
probably the eps file is just not displayed by the dvi viewer. Use the DVItoPS button of Kile and click ViewPS right next to it to view the postscript output.
Stefan
probably the eps file is just not displayed by the dvi viewer. Use the DVItoPS button of Kile and click ViewPS right next to it to view the postscript output.
Stefan
LaTeX.org admin
Re: Graphicx problem
Hurray! That worked!
Does the problem lie with my DVI viewer? I use Evince Document Viewer 2.22.2. Well, I guess I can us the PS just as well...
Thanks again!
Does the problem lie with my DVI viewer? I use Evince Document Viewer 2.22.2. Well, I guess I can us the PS just as well...
Thanks again!
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Graphicx problem
I'm using the same version of Evince. It should be fixed in a newer version. I am using Ubuntu Linux 8.04 I've read in bug report 100118 on launchpad that Ubuntu 8.10 will come with the corrected version of Evince, in just a few days I will update my system to 8.10.
You could use the postscript view, or install a newer version of Evince, consider to update soon if you are using Ubuntu too, or install kdvi, that will be able to display the eps graphics properly.
Stefan
You could use the postscript view, or install a newer version of Evince, consider to update soon if you are using Ubuntu too, or install kdvi, that will be able to display the eps graphics properly.
Stefan
LaTeX.org admin
Re: Graphicx problem
Thanks a lot! I guess I'll be doing this as well.