Discussion:
[Dvipng] DviPng and EPS Images
Bobby Soares
2008-02-23 22:38:11 UTC
Permalink
I wonder if someone can shed some light on this - i'm using dvipng with
miktex on Windows and it reports that it can't find the EPS images and
leaves them blank (even though the images are around and display correctly
in the DVI). I'm sure i'm missing something simple but i couldn't find
anything on the web (i'm not a LaTeX pro).

Here is the output:

C:\Inetpub\wwwroot\LatexLab.org\lab\docs\38\249\219>C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng
pbkwiap98.dvi
This is C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng 1.9 Copyright
2002-2006 Jan-Ake Larsson
[1] [2C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng warning: Image
file pbkwiap98F1.eps llx=18 lly=144 urx=592 ury=444 rwi=3240 not found,
image will be left blank ] [3C:\Inetpub\wwwroot\Latex
Lab.org\tin\miktex\bin\dvipng warning: Image file pbkwiap98F2.eps llx=21
lly=248 urx=587 ury=531 rwi=3240 not found, image will be left blank
C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng warn
ing: Image file pbkwiap98F3a.eps llx=18 lly=144 urx=592 ury=718 rwi=1349 not
found, image will be left blank
C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng warning: Image file
pbkwiap98F3b.eps
llx=18 lly=144 urx=592 ury=718 rwi=1349 not found, image will be left blank
] [4C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng warning: Image
file pbkwiap98F4.eps llx=18 lly=144 urx=592 ury=444
rwi=2880 not found, image will be left blank ] [5]
[6C:\Inetpub\wwwroot\LatexLab.org\tin\miktex\bin\dvipng warning: Image file
pbkwiap98F5.eps llx=21 lly=101 urx=587 ury=677 rwi=3600 not found, image
will be left blank ]

Any thoughts?

Bobby
Jan-Åke Larsson
2008-02-24 19:34:15 UTC
Permalink
Image file pbkwiap98F1.eps llx=18 lly=144 urx=592 ury=444 rwi=3240 not
found, image will be left blank
That looks like your image-inclusion package does not enclose the
filename within quotation marks. What package are you using? What
inclusion command are you using?

/Jan-Åke
Jan-Åke Larsson
2008-02-25 07:46:10 UTC
Permalink
(Please keep the mailing list included)
\documentstyle[conf_iap,epsf]{article}
This is a really old document, with the \documentstyle invocation from
LaTeX 2.09. It uses the epsf package to include images.
\centerline{\epsfxsize=4.5in\epsfbox{pbkwiap98F2.eps}}
And here is an image inclusion. These old packages does not behave like
the newer ones (and it's not like they're well documented). I suspect
the whole thing will work if you insert quotation marks around the
filenames, like \epsfbox{"pbkwiap98F2.eps"}. I will change dvipng so
that this will work in the next release.

The other option would be to use the graphicx package (minus the
pdflatex option, I think), like this:
\includegraphics[width=4.5in]{pbkwiap98F2.eps}

/JÅ
--
"I hope to die before I _have_ to use Microsoft Word."
Donald E. Knuth
Loading...