On 19 Feb 1999 [EMAIL PROTECTED] wrote:

> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:
> 
> > Andre'> 3. It still would be *really* nice to have an xfig-inset that
> > Andre'> brings up xfig when trying to edit the contents, perhaps even
> > Andre'> storing the xfig-source within the .lyx if the users want it.
> >
> > Sure. You just have to find somebody willing to implment it :)
> 
> Storing the xfig-source within the .lyx is not difficult with
> the filecontents environment.  On the other hand, in order for
> xfig to render a picture into an xfig-inset, you have to patch
> xfig as well.  Remember LyX pretends to be a ghostview (by
> setting some hints) in order for a ghostscript to render a
> figure in an inset.
> A gnuplot-inset (with egplot?) and a gyve-inset would also be
> nice :)  Any takers?

This is where a generic external-app-inset would be handy.  However it
needs to have a way of having these 'hints' or whatever tricks are
required.  For X at least aren't we supposed to be able to effectively run
one app in a window of another app easily without need for extra tricks?
This might however require that we have a real ghostview window in the
fig-inset.  I don't know X so I'm sure someone will correct me.

(this trick of course ties us closer to X but with luck there will be
other suitable 'native' schemes for other GUIs)

Allan. (ARRae)

Reply via email to