On Thu, Jan 23, 2003 at 07:40:15AM +0100, Oscar L?pez wrote:
> 
> I meant a more automatic solution. The problem
> is I produce metapost files from several applications, mainly xfig,
> gnuplot, and metagraf. Most of the times it is not possible to control
> that they produce the metapost files with the prologues:=1; line added.
> So every time I need to include these files in lyx I must edit the file
> and add the line, which is a pain, so i was thinking about a shell
> script to convert 0 to ps to be used in lyx or something that allows me
> to substitute "mpost foo.mp" by something that add the line and run
> mpost. Before lyx-1.2.3 I have never had this problem and i am forced to
> modify the metapost files just to be included in lyx.

You can write \includegraphics{file.0} in latex mode.

Reply via email to