On Friday 19 April 2002 2:51 am, R. Lahaye wrote:
> Hi,
>
> I'm writing a paper with LyX-CVS using Grace (.agr) graphics files,
> which is extremely convenient since Grace is my 2D graphics application.
> No need for manual conversions: LyX does that for me and my graphics
> in LyX is always up-to-date. Wonderful!
>
> However, when exporting this to LaTeX (which is required by the editor),
> LyX is losing some of its graphics power here: the LaTeX file has the
> graphics files as .agr Grace files which are, of course, not recognized
> as a LaTeX graphics format.

????? Rob, you posted a patch the other day defining conversions from 
XPM to EPS, so I know you know how to do all this.

Define a converter from AGR to EPS and be done with it.

Running -dbg graphics might help you discover this for yourself...

Angus

> As far as my limiting LaTeX knowledge goes, LaTeX only allows inclusion
> of (e)ps files; though I admit my LaTeX knowledge keeps shrinking
> by getting more and more accustomed to LyX :).
>
> I now have to edit the LaTeX file first (which is actually discouraged
> by the message in the first few lines of that same LaTeX file) and
> next manually create the eps files.
>
> The first step could/should be done by the LyX LaTeX-export routine:
> change the included graphics filenames from "[my-name].[my-extension]"
> into "[my-name].eps". Then let the user manually generate the eps files.
>
> Currently, "LyX + non-eps-graphics + LaTeX-export" generates lots
> of trouble.
>
> Any other ideas how to overcome this problem?
>
> Regards,
> Rob.

Reply via email to