Newsgroups: comp.text.tex
> My graphs show up nicely in the produced .ps files. Why they don't > show up in the .pdf version?
Ok, I've prepared a full example:
pdf.tex:
\documentclass[12pt]{article} \usepackage[dvips]{graphics}
\begin{document}
before \includegraphics{knn-f1.ps} after
\end{document}
pdf.pdf produced by:
texi2pdf -p pdf.tex
The pdf.log file:
File: knn-f1.ps Graphic file (type eps) <knn-f1.ps> Overfull \hbox (19.90765pt too wide) in paragraph at lines 6--9 [verse] \OT1/cmr/m/n/12 before [] [verse]
[1
[/usr/share/texmf/dvips/config/pdftex.map] Non-PDF special ignored!] (pdf.aux) ) Here is how much of TeX's memory you used:
pdflatex gives the same result: empty graph.
> Ok, I've prepared a full example:
Searching in the archive with right words bring me to the right place. According to Sebastian:
,----- | > Have a look at the user guide for pdflatex and at epslatex. | | it seems this is one of the MOST asked | questions on this group. | | Take a look at | http://groups.google.com/groups?q=pdflatex+eps+group:comp.text.tex[] `-----
> The line to include graph: (works for dvi & ps) > \includegraphics[width=5in]{HOPE.02.top.eps}
You need to convert the eps file to a pdf file using
epstopdf HOPE.02.top.eps
Then get the bounding box with
ebb HOPE.02.top.pdf
Finally, include the pdf file in your tex file
\includegraphics[width=5in]{HOPE.02.top.pdf}
Winston Chan