<span class="gmail_quote">On 2/12/08, <b class="gmail_sendername">Jiang Liu</b> <<a href="mailto:jliupku@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jliupku@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi,<br>I installed texlive-full on my Ubuntu 7.10 by apt-get.<br>When I try to include an eps file, after latex the .tex file, the<br>resulting dvi shows only a blank frame for the figure.</blockquote><div><br>Your test.dvi look fine on my Fedora 8 texlive system using <br>
xdvi (from RH's tetex package as well as the texlive svn version) <br>and kdvi. In general, converting figures to pdf and using pdf(la)tex is less fragile, <br>so unless you really need .dvi and enjoy debugging other people's code, it may not be worth the effort to track down the problem on your system. Pdf is used by a much larger community than<br>
dvi, so pdf tools tend to be better tested than the tools that are specific<br>to TeX dvi format. <br></div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
But when I transform the .eps file to a PDF file and pdflatex the .tex<br>file, the output is ok.<br><br>The attached is the tex file, eps file I used and files produced by<br>latex test</blockquote><div><br>It is nice to see a proper problem report with the test files. Since the<br>
.eps file is rendered by ghostscript, one has to consider a) bad eps, or<br>b) a buggy ghostscript version. "epstool --test-eps" didn't find any<br>problems with test.eps, and the fact that you can convert test.eps to <br>
pdf suggests that your ghostscript can render the file. What does "xdvi -debug 32 test.dvi" give?<br></div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
And below are the texlive components in my machine (by dpkg -l | grep<br>texlive)</blockquote><div><br></div><br>-- <br>George N. White III <<a href="mailto:aa056@chebucto.ns.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">aa056@chebucto.ns.ca</a>><br>
Head of St. Margarets Bay, Nova Scotia