A better way to handle XFig files .fig's is to use the External Inset,
In this inset you add the .fig file and it will add the tex and image
automatically, if it doesn't then it's a single script change to make it
work.
Hope this helps.
On Thu, 18 Jan 2001, Yann Collete wrote:
> Hello,
>
> I've got big problems with pstex figures inclusion.
> If you follow the tips number 3 of the section 4.3.2 of the
> user's guide, it doesn't work. So I went on the mail-archive.
> I do the following steps.
>
> In XFig, I export my figure as combined PS/Latex
> I rename the file myfig.pstex_t -> myfig.pstex_t.tex
> Then, in LyX, I insert a figure float in my document,
> use insert->include file in the figure float.
> I put myfig.pstex_t.tex in the dialog, I check the input file button.
>
> Then I try view postscript and, it doesn't work.
> After some tries, I found it was due to the .pstex_t.tex file.
> I store my figures in a "Images/" directory so, in my .pstex_t.tex,
> the reference to the pstex file is stored like this:
>
> \includegraphics{AidDecELECIExemplePSL.pstex}%
>
> if I change this line into the following one:
>
> \includegraphics{Images/AidDecELECIExemplePSL.pstex}%
>
> it works.
>
> But what a huge task: I have more than a hundred figures to change (:-().
>
> Is it possible to change the way lyx handles pstex files so as to avoid
> all these steps ?
> I also recommand some changes in the documentation (if my remarks aren't
> wrong).
>
> Your sincerely,
>
> Yann COLLETTE
>
--
Baruch Even
http://baruch.ev-en.org/ (My Site)
http://www.redrival.com/jindor/ (My brothers AD&D site)
" Learn to laugh ... it's the path to true love! "
- The Angel in the movie Michael