NOTE: This mail is a copy of an older one I found on this list. Since I did
not find any solution, and my problem is exactly the same, I took the liberty
of posting it again.
Hi everyone,
I am running LyX 1.1.6fix2 on Red Hat 6.2
I am trying to include a figure, which I saved in XFIG as two files: the
postscript, and the text part. According to the manual I only need to
import the text file as (INSERT-INCLUDE FILE with the "use as include
option flag") I got an error.
can't write on file '/<mydirectory>/test.aux
Please type another output filename
I didn't define an output file, it must have been LyX itself.
If I instead of the absolute file path just write "test.pstext_t",
everything seems ok at first, but only the caption shows up, not the figure.
The I tried the following according to a footnote in the users manual
I added 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 added
"pstex" to the extension:
\def\Gin@extensions{eps, ps, pstex, eps.gz, ps.gz, eps=2EZ}
Unfortuantely it didn't solve my problem either.
Does anybody have an idea how to do this?
Regards,
Anders G