Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
I'm having difficulties importing a postscript figure into Latex. My general steps are to create a ps output (set_plot,'ps') with (device,/ENCAPSULATED), then include into a LaTex document. I am looking to output both images and plots. In Latex I have tried to use psfig as I generally do with other PS files. IDL tech support referred me to idlplot_dvips.tex (found in IDL distribution) which really didn't help too much--I am using Radical Eye dvips not ArborText dvips. The problems I am experiencing are wrong sizing, missing figures, even strange figures. Any help is appreciated. Thanks, Ken Kump Biomedical Image Processing Laboratory Department of Biomedical Engineering Case Western Reserve University Cleveland, Ohio 44106, USA E-mail: kump@morph.ebme.cwru.edu
I routinely include all sorts of IDL EPS files into LaTeX. I use epsf.tex like this: \input{epsf} ... \begin{figure} \epsfxsize=6.in \centerline{\epsfbox{file.eps}} \caption{blah blah} \end{figure} I use the stock epsf.tex file on ftp.shsu.edu quote site index epsf.tex On PC-TeX for windows, I have a modified version: anonymous ftp to xray1.physics.sunysb.edu cd pub/msdos/pctex get epsf.tex -- Chris Jacobsen, Asst. Prof., Department of Physics, SUNY at Stony Brook Phone (516) 632-8093, FAX -8101 Bitnet: cjacobsen@sbccmail jacobsen@xray1.physics.sunysb.edu Stony Brook ALL-IN_ONE: CJACOBSEN
kump@fluoro.cwru.edu (Kenneth S. Kump) writes: > I'm having difficulties importing a postscript figure into Latex. > My general steps are to create a ps output (set_plot,'ps') with > (device,/ENCAPSULATED), then include into a LaTex document. > I am looking to output both images and plots. > In Latex I have tried to use psfig as I generally do with other PS files. > IDL tech support referred me to idlplot_dvips.tex (found in IDL distribution) > which really didn't help too much--I am using Radical Eye dvips not > ArborText dvips. > The problems I am experiencing are wrong sizing, missing figures, even > strange figures. That's interesting. I've had no trouble using psfig to include IDL generated .eps files with either Arbortext's dvips or with the shareware program of the same name. Bill Thompson
We use radical eye dvips here and I've never had any problems, using \documentstyle[epsf,11pt]{article} in the header and then creating the figure with: \begin{figure} \epsffile{idl.ps} \caption{whatever} \end{figure} The only slight catch is that you must only use device,/landscape if you really want the figure perpendicular to the text. -- James Tappin, School of Physics & Space Research University of Birmingham sjt@xun8.sr.bham.ac.uk "If all else fails--read the instructions!"