> 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
>
I am regularly using gnuplot-3.7 patchlevel 0 to generate eps figures for my lecture
notes. I have never encountered any problems with either latex or pdflatex. I attach
one of my input files for gnuplot for you to compare.
One more comment: If you use
\usepackage{graphicx}
without specifying the graphics driver then latex and pdflatex are clever enough to
figure oput for themselves that you want the dvips driver for latex and the pdflatex
driver with pdflatex.
If you also use
\includegraphics{includefile}
without specifying the .eps or .pdf extensions, again the appropriate version is
loaded by latex/pdflatex. That way you do not need to change your .tex file when
switching between .dvi and .pdf output.
For further info look at some notes I made for our department at
http://maths.dur.ac.uk/~dma0hgk/doc/ltprep.html
All the best,
Horst Kausch
m=1.0
c=0.02
k=9.0
An(n) = 8.0/(pi*n)**2 * (k-m*n**2)/((c*n)**2 + (k-m*n**2)**2)
Bn(n) = 8.0/(pi*n)**2 * (c*n)/((c*n)**2 + (k-m*n**2)**2)
yn(n,t) = An(n)*cos(n*t)+Bn(n)*sin(n*t)
r(t) = sin(t)>0 ? 1 + 2*(floor(t/pi) - t/pi) : -(1 + 2*(floor(t/pi) - t/pi))
#set parametric
set dummy t
set samples 400
set xrange [-5:10]
set yrange [-1.6:1.6]
set border
set xtics border
set ytics border
set nozeroaxis
set nokey
set size 1,0.6
set terminal postscript eps enhanced
set output "osc-fig1.eps"
plot yn(1,t) title "y_1(t)", yn(3,t) title "y_3(t)", yn(5,t) title "y_5(t)"
set noborder
set noxtics
set noytics
set border
set xtics border
set ytics border
set zeroaxis
set nokey
set yrange [-1.8:1.8]
set size 1,0.8
set output "osc-fig2.eps"
plot yn(1,t) + yn(3,t) title "y(t)", r(t)
set terminal x11
replot