Georg Baum wrote:
>> Angus Leeming wrote:
>>> Does it work if you specify an absolute path to foo_1.eps within
>>> the xfig file?
> 
> I believe so, see below.
> 
>> I suspect that xfig generates an eps file that references the
>> foo_1.eps file rather than contains a copy of it. That's why the
>> bitmap file shown on the lyx screen works ok, because the bitmap is
>> complete.
> 
> At least on my system here (SuSE 9.0) xfig embeds the included file
> into the .eps file. I suspect that the preview works because the
> preview conversion is done on the original file (and not the file in
> the temp dir).

Are you sure that is what happens? Yes, it appears that you are.

        string filename;
        if ((zipped_ = zippedFile(filename_))) {
                unzipped_filename_ = tempName(string(), filename_);
                filename = unzipFile(filename_, unzipped_filename_);
        } else
                filename = filename_;

> My solution to this problem is to produce the postscript files from
> exported .tex files with a Makefile, but mainly because lyx converts
> the images too often otherwise.

Yes, make is rather more sophisticated than lyx. No bad thing ;-)

-- 
Angus

  • ... Ronald Pagel
    • ... Пашев Игорь Николаевич
    • ... Angus Leeming
      • ... Angus Leeming
        • ... Georg Baum
          • ... Angus Leeming
          • ... Ronald Pagel
            • ... Georg Baum
            • ... Andre Poenitz
      • ... Ronald Pagel
    • ... Jean-Pierre.Chretien

Reply via email to