hi ronny...i tried the way you suggested and it works just fine. is there a way to put a caption for the figure as well, like you can if you put a figure float and then import a .eps file?? i guess, including a file this way is considered just 'raw' Jtex and therefore lyx doesn't know if it's a figure at all, so the caption should be included in the .tex file itself? thanks a lot.. praveen. On Fri, 24 Aug 2001, Ronny Buchmann wrote: > * agi <[EMAIL PROTECTED]> [2001-08-24 21:03] wrote: > > hi...i have a plot generated by gnuplot using the driver 'pslatex' with > > the 'auxillary' file option. i can easily include it in a latex file by > > using 'input{graph.tex}' and then generate a postscript image and then > > include it in the regular way in a lyx file. that works fine. but is there > > a way to include the file 'graph.tex' directly into a lyx document. if i > > try to import the tex document with the 'graph.tex' file included into it, > > lyx displays a input 'graph.lyx', but it just shows the latex code in > > output .ps file. > > what is the easiest way to include a '.tex' and a '.ps' file > > generated using 'pslatex' driver in gnuplot, into lyx. > > praveen. > > > did you try > Insert->Include File-> > File Name: graph.tex > [x] Use input [ ]Don't typeset > ? > > -- > ronny >