Have a question about eps figures in pdflatex,

I want to produce pdf files from the tex files, with pdflatex
(as it should be the best....?)


HOWEVER, the conversion of the epstopdf & and the inclusion this
converted file in the exported tex-code is not working for me with
pdflatex.

I face the  following problem:
I generate eps files with gnuplot (3.7.1) & convert them to pdf.
(Tried to convert the eps files with both epstopdf and ps2pdf)
The epstopdf-converted files looks just great with acrobat reader.

NOW TO THE PROBLEM:



pdflatex complains about missing BoundingBox

However, when I run epstopdf in debug mode it is pretty clear that there

should be an existing bounding box.

Anybody with experience on this with? and a quickfix? (=any magic latex
command, to force the right BoundingBox?)


Best,

 Staffan

P.S. I've added \usepackage[pdflatex]{graphicx} to the LaTeX preamble as
one should.
The command pdflatex filename.tex gives the following warnings:

! LaTeX Error: Cannot determine size of graphic in includefile.pdf (no
BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.917 ...tering \includegraphics{includefile.pdf}
                                                   \par}
?
<includefile.pdf> [41
Non-PDF special ignored!

---------------
The result is that the pdf file has blank space where the figure should
be placed.



Comment I get the same pdflatex warnings when I include png-figures

--------------------------------------------------------------

epstopdf --debug includefile.eps
gives the following message:

 epstopdf --debug includefile.eps
* Input filename: includefile.eps
* BoundingBox comment: %%BoundingBox:
* Output filename: includefile.pdf
* Ghostscript command: gs
* Compression: on
* Ghostscript pipe: gs -q -sDEVICE=pdfwrite
-sOutputFile=kartellantal.pdf - -c
quit
* Scanning header for BoundingBox
* Old BoundingBox: 50 50 410 302
* New BoundingBox: 0 0 360 252
* Offset: -50 -50
* Ready.

Reply via email to