Newsgroups: comp.text.tex Date: 2000-11-28 08:40:58 PST
> I have problems inserting images with pdfLaTeX, which I really do not > understand. I've tried all of gif, tif and bmp formats and always get > the same error message. I understand that pdfLaTeX can't use bitmap > files, but the same problem occur with the other formats. on the other > hand, LaTeX works fine only with the bmp format. > > I use the following syntax: > > \documentclass{article} > \usepackage{graphicx} > > \DeclareGraphicsRule{.bmp}{bmp}{}{} > \DeclareGraphicsRule{.tif}{tif}{}{} > \DeclareGraphicsRule{.gif}{gif}{}{} > > \begin{document} > %\includegraphics[width=1in,height=.5in]{logoubs.bmp} > \includegraphics[width=1in,height=.5in]{emu.gif} > %\includegraphics[width=1in,height=.5in]{1_euro.tif} > \end{document} > > With LaTeX, I get the following error message: > > ! LaTeX Error: Can not include graphics of type: gif. > > While all graphics formats give me the following error with pdfLaTeX: > > ! Package graphics Error: Division by 0. > > See the graphics package documentation for explanation. > Type H <return> for immediate help. > ... > > l.11 ...cs[width=1in,height=.5in]{emu.gif}
Maybe I miss the true meaning of your question. When you pdfLaTeX, all figures must be *.pdf. Otherwise, pdf conversion performs o.k., but figures will be missing.
I think ghostview allows the conversion, although it is not very nice. Acrobat Distiller makes a better job, but you must pay for it.
Emili