Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
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 '11 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 '11 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 '11 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 '11 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. –  Ian Thompson May 13 '11 at 0:04

1 Answer 1

up vote 6 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.