Am Sonntag, 10. September 2006 17:54 schrieb Paul Smith: > On 9/10/06, Georg Baum <[EMAIL PROTECTED]> wrote: > The problem is that the format epslatex separates the picture into two > files: one with the LaTeX commands and the other one being an eps file > with the picture itself. Thus, by inserting only the eps file, one > misses the LaTeX content. The command > > \include{mypicture} > > given as ERT is recognized as, in truth, including two files: > mypicture.tex and mypicture.eps. Therefore, the graphics inset (of > LyX) seems to be useless here. Just try it to see exactly what I mean.
Sorry, I remembered you had \includegraphics in your ERT. Then indeed you need an external inset for gnuplot. Unfortunately such an inset cannot be part of the official LyX sources, since gnuplot has a shell command that lets you enter arbitrary commands in a gnuplot script. If LyX had an official gnuplot template then somebody could send you a file with a malicious gnuplot script that would delete all your files - welcome to the world of LyX macro viruses. Georg