Angus Leeming wrote: > 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.
Angus, I think Rob means that file->export->latex should not write the original filename. for example: \includegraphics[...]{my.agr} is the original latex code. Rob wants it as my.eps in the exported texfile. I do not think, that this makes sense, because a manual conversion from "any" to "eps" is still needed when sending the texfile together with the eps-files to a publisher. So the user can convert first and than use the eps. HErbert -- http://www.lyx.org/help/