OK. I haven't touched reLyX in months, and I haven't been latexing either.
And I don't have the energy to look through the reLyX source.  So I'm not
entirely sure whether there this is the right thing to do.  However, I've
fixed what might be a bug.

--- ../CVS/lyx-devel/lib/reLyX/LastLyX.pm       Sun Mar  5 12:54:25 2000
+++ LastLyX.pm  Mon Jun  5 16:50:56 2000
@@ -80,7 +80,7 @@
            if ($main::opt_o) { # all files go to outputdir; no path nec.
                $newfile = "$basename.lyx";
            } else { # keep relative path, e.g. Just change suffix
-               ($newfile = $fil) =~ s/$suffix/.lyx/;
+               ($newfile = $fil) =~ s/$suffix$/.lyx/;
            }
            s/\Q{$fil}\E/{$newfile}/;
        } # end special if for table, bibstyle, include

Kayvan, could you take a look at this and confirm it's what we should've
been doing all along? And could you figure out why noone else has noticed
this problem yet? I.e., why did it happen in Tomasz' case, but noone else's?

Tomasz, could you confirm that this fixes the problem?

Thanks.

-Amir

Reply via email to