On Fri, Feb 07, 2003 at 09:25:45AM -0200, Flavio de Melo Pereira wrote:

> Although LyX generates a DVI file that displays correctly using KDVI, the 
> references to figures in this file are generally prepended by the path to the 
> temporary directory which was being used by the LyX file during the 
> conversion, e.g., an included eps file called xxx.eps may appear in the 
> output DVI file as
> 
> /tmp/lyx_tmpdir38575VeOmD/lyx_tmpbuf0/_home_pereira_xxx.eps 

confirmed in current lyx (you forgot to give lyx version)

I guess this code :

    747         // Make the filename relative to the lyx file
    748         // and remove the extension so the LaTeX will use whatever is
    749         // appropriate (when there are several versions in different formats)
    750         string const latex_str = message.empty() ?
    751                 (before + '{' + os::external_path(prepareFile(buf)) + '}' + 
after) :
    752                 (before + '{' + params().filename + " not found!}" + after);
    753         os << latex_str;

isn't doing what it's supposed to.  Can anyone help ?

john

Reply via email to