GeneralImages do not display in pdf document

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
viv
Posts: 3
Joined: Fri Oct 31, 2008 6:47 pm

Images do not display in pdf document

Post by viv »

I am running TeXnicCenter 1beta 7.5 with MiKTeX 2.7 on Vista Business. My document displays correctly in the Yap viewer but when I use the PDF output profile the images show as white spaces. The images are either Encapsulated PostScript files added using \includegraphics{./images/027a.eps} or I use \begin{picture}...

There are no Errors or Warnings but 30 bad boxes, none of which relate to sections containing my images.

Can anyone suggest where the problem is?

Thanks.

Recommended reading 2024:

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

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

Images do not display in pdf document

Post by localghost »

You can't use EPS images when compiling with pdflatex. Convert them with [url=http://http:ctan.org/pkg/epstopdf]epstopdf[/url] to PDF on the command prompt or "on the fly" with the [url=http://http:ctan.org/pkg/epstopdf-pkg]epstopdf[/url] package. Search the forum for graphics formats in dependency on the used compiler and you will get more information about that.


Best regards and welcome to the board
Thorsten¹
viv
Posts: 3
Joined: Fri Oct 31, 2008 6:47 pm

Re: Images do not display in pdf document

Post by viv »

Thanks for the very swift reply, Thorsten, I will try that, but as I also have a problem with pictures generated with \begin{picture} I assume that epstopdf will not solve that. Is that correct.

Viv
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Images do not display in pdf document

Post by localghost »

viv wrote:[...] but as I also have a problem with pictures generated with \begin{picture} I assume that epstopdf will not solve that. [...]
This is another topic which you also can ask questions about. But before using the antique picture environment, you should take a look at the very powerful pgf/TikZ or PSTricks package. The latter one relies on postscript specials and cannot be used with pdflatex. The picture environment can be extended in its capabilities by pict2e, but nevertheless remains very limited.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: Images do not display in pdf document

Post by Stefan Kottwitz »

Hi Viv,

pictures by \begin{picture} ... \end{picture} will work with latex and pdflatex.
Or do you mean pspicture?

Stefan
LaTeX.org admin
viv
Posts: 3
Joined: Fri Oct 31, 2008 6:47 pm

Images do not display in pdf document

Post by viv »

Stefan_K wrote:Hi Viv,

pictures by \begin{picture} ... \end{picture} will work with latex and pdflatex.
Or do you mean pspicture?

Stefan
Thanks, I do mean \begin{picture} ... \end{picture} and it looks as if it is one use of this which produces a picture which does not display properly, while all the rest do. I should be able to solve this with a little thought.

Viv
Post Reply