Lyx and xfig-graphics

1999-03-04 Thread Franz Hoffmann


Does anybody know how to include graphics from XFIG into lyx-documents? The
figure should contain symbols like $\omega$, which should then be rendered by
TeX. Therefor I can't  use EPS (which does work, by the way).

The lyx user guide recommends to export the figure as LaTeX-Postscript
combined, and then just include the Latex-part. But I can't get this to work.
Here si what I did:

I used 'xfig -spec' to create the figure and exportet it as Latex-Postscript.
I got two files, 'fig.pstex' and 'fig.pstex_t'. Then I started lyx, created a
float, and tried to load the figure with "Insert/Include File" (actually
"Einfuegen/Datei einbinden", since my lyx is in German.)

When I do "File/View Postscript", the float is not there at all. :-(

I think I've tried everything by now, i.e. importing 'fig.pstex_t' as ASCII
and formatting it as LaTeX-code, but I have not yet had any success.

Thanks for any help.

BTW: LyX version is 1.0.0
--
Franz Hoffmann - [EMAIL PROTECTED] - www.rz.tu-ilmenau.de/~ei023/

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: Lyx and xfig-graphics

1999-03-11 Thread Franz Hoffmann

On 04 Mar 99, Jonas Eden  ([EMAIL PROTECTED]) wrote:

  Does anybody know how to include graphics from XFIG into
  lyx-documents? The figure should contain symbols like $\omega$,
  which should then be rendered by TeX.

 My fix to this was to open the fig.pstex_t file and change the
 line:

 \special{psfile=fig.pstex}%

 to:

 \special{psfile=$HOME/texter/fig.pstex}%

My fig.pstex_t file does not have such a line. Instead, it uses:

\epsfig{file=fig.pstex}%

Latex fails to compile this, because \epsfig is not known. It works if I  
replace this line with the \special line.

Does anybody know why my xfig uses this \epsfig command, and how I could  
change this (or make it work)?

Thanks.
--
Franz Hoffmann - [EMAIL PROTECTED] - www.rz.tu-ilmenau.de/~ei023/

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.