hi
Suppose , for example, that the user wants to insert a gnuplot plot into
LaTeX. In this case my recommended method is as follows:
In gnuplot, s/he issues
set term post eps
set out "plot.eps"
plot ..the.plot.stuff.....
set out
In LaTeX,
\usepackage{graphicx}
.......
\begin{document}
.....
\includegraphics{plot}
The above will automatically include plot.eps if 'latex file.tex' is used,
and 'plot.pdf' if 'pdflatex file.tex'.
So, we need to convert 'plot.eps' to 'plot.pdf'.
In that case, I recommend not using 'ps2pdf' to convert the PS to PDF,
but rather 'epstopdf' (that is in package 'tetex-bin') ; the reason is
that (from the man page)
epstopdf transforms the Encapsulated PostScript file epsfile so that it
is guaranteed to start at the 0,0 coordinate, and it sets a page size
exactly corresponding to the BoundingBox. This means that when
Ghostscript renders it, the result needs no cropping, and the PDF Medi-
aBox is correct.
ps2pdf does not set the bounding box in the PDF, that is,
'plot.pdf' will be as large as a standard A4 or letter page, with a
small plot in it; and the result 'pdflatex file.tex' will be quite weird,
because the figure generated by
\includegraphics{plot}
will look like an empty page.
just my 2 cents
a.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]