I have a problem. I've followed the following help for including of latex
figures from xfig into lynux:
"Export the figure as LaTeX. This is just as easy include into LyX, with
the advantage that you may use all LaTeX commands within the text inside
XFig. Therefore you have to set the special flag for text in XFig. This is
automatically if you invoke XFig with xfig -specialtext. If this is done
and you have also chosen a LaTeX font you may simply write "$H_2$" in
XFig. If you export this figure as LaTeX and include it in LyX with
Insert->Include File (see description in Extended Features) this text will
appear as $H_{2}$.
The disadvantage of this way is that the graphical power of LaTeX isn't as
strong as PostScript�. You cannot use all thicknesses of lines and, more
annoyingly, not all slopes. This is why we recommend the third way for
more complex figures.
Export the figure as LaTeX/PostScript� combined. Then XFig [transfig,
really] will generate two files:
the PostScript� part foo.pstex, that contains all painting.
the LaTeX part foo.pstex_t, that contains all text and a link to the
PostScript� part.
Then you just have to include the LaTeX part as described above. This will
automatically include the PostScript� part, too.If you get an error like
"unknown graphics extension "pstex you have to declare this graphic
extensions. I think this is a transfig bug that occurs with LaTeX2e.
Simply add a line like\@namedef{Gin@rule@ps_tex}#1{{eps}{ps_tex}{#1}}in
the file /usr/lib/texmf/tex/latex/graphics/dvips.def. Then add pstex to
the extension:\def\Gin@extensions{eps, ps, pstex, eps.gz, ps.gz,
eps=2EZ}This should fix the whole thing. Alternatively you may export the
postscript part as foo.eps and change the LaTeX part foo.pstex_t manually.
But this is annoying. "
None of the tricks work: If I doo any of this with includefile, he
recognizes only .lyx and .tex and whatever I do, the answer is "it is not
a lyx file". So please help.--
Vinko Zlatic
IBED-FG, UvA, Nieuwe Archtegracht 166, 1018 Wv, Amsterdam, The Netherlands
--- The mind is like a parachute, it should be open to work properly!---
F.Zappa