On Mon, Jun 04, 2001 at 10:14:36AM -0700, Bruce Veidt wrote: > > On Thu, May 24, 2001 at 10:55:03PM +0200, Roberto Marabini wrote: > > > I just installed lyx 1.1.6fix2 in my linux machine (redhat 7.0) using > > > the rpm binaries. I use pdflatex and acrobat reader to visualize the > > > documents ( view->pdflatex), this used to work without problems in lyx > > > 1.1.6fix1 but not any longer. The first time pdflatex is used it does > > > produce the right results but the second time it does not update the > > > file, instead, the old pdf file is used. The other options, dvi, pdf, > > > postscript work properly. Does anybody knows what either I or lyx are > > > doing wrong? > > I have this problem too. I have seen very little discussion on either > the user list or the developers' list. Is anything being done about > it? Since I use pdflatex alot, I will have to re-install fix1. > > If I can be of assistance with this matter, please let me know. I think that 1.1.6fix1 should have the same behaviour as 1.1.6fix2. The bug is fixed in CVS. You can use the attached patch to fix it.
=================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LaTeX.C,v retrieving revision 1.33.2.3 retrieving revision 1.33.2.4 diff -u -r1.33.2.3 -r1.33.2.4 --- lyx-devel/src/LaTeX.C 2001/05/03 15:07:21 1.33.2.3 +++ lyx-devel/src/LaTeX.C 2001/05/27 17:34:07 1.33.2.4 @@ -701,4 +701,7 @@ << "Not a file or we are unable to find it." << endl; } + + // Make sure that the main .tex file is in the dependancy file. + head.insert(OnlyFilename(file), true); }