1

I tried to use \munepsfig in my document, no error, no warning.

Just my image doesn't show, what could be actually wrong? Which file should I check to know the problem?

Anyway, I use a template given by someone else, it worked perfectly, this happened when I change the image.

Edit: just found out that \munepsfig{} is actually a new command, but no other than \begin{figure}\includegraphics{}\end{figure}, but it still didn't show (when I just use the normal figure), is there something wrong here?

The example I had:

\documentclass[11pt, a4paper]{memoir} 
\usepackage{graphicx} 
\begin{document} 
\chapter{testing} 

\begin{figure}[h] 
  \includegraphics[scale=0.4]{logo2.eps} 
  \caption{testing} 
\end{figure} 
\end{document}
18
  • 4
    Somebody thinks that \includegraphics has to go inside a figure environment: it's not true. Your problem might be in incompatible formats for the figure: latex accepts only eps, while pdflatex doesn't (and accepts png, jpg and pdf).
    – egreg
    May 10, 2011 at 23:22
  • 1
    @zfm: We need a minimal example, including at least a pointer to the graphics file in question.
    – Joseph Wright
    May 11, 2011 at 7:04
  • it's very simple example I had. begin{figure}\includegraphics{file.eps}\caption{File}\end{figure}. The caption was there, the area was there, but the image wasn't, it's just a blank, white screen on the area that should be filled with the image
    – zfm
    May 11, 2011 at 9:20
  • @Joseph: 4shared.com/file/ot8m4BB1/logo.html 4shared.com/file/x-a5dDgi/enrollment.html (I dont know if there's a possibility to put an .eps file here)
    – zfm
    May 11, 2011 at 20:54
  • 1
    @zfm --- your example says \includegraphics[scale=0.4]{logo2.eps}, but the link leads to a file called logo.eps. Incorrect filenames can cause the problem you describe if TeX is running in nonstop mode. May 13, 2011 at 0:04

1 Answer 1

6

It may be that your graphic was correctly included, but that your dvi viewer isn't showing you the eps file. (\includegraphics inserts the eps file using a \special, and not all dvi viewers know how to handle all specials.) If you convert your dvi file to a ps file (using dvips) or to a pdf file (using dvipdf), you may well find that your graphic displays correctly.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .