On Wed, Feb 14, 2001 at 06:54:32PM -0500, Mark van Rossum wrote:
>
> Lyx 1.1.6 failed updating the dvi file in some cases.
>
> It happens when '\usepackage{harvard}' is present in the Latex preamble.
> This probably screws up the depedency files in the temp dir (see
> attachement)
> When commented out (%\usepackage{harvard}) , the bug disappears.
>
> The bug occurs on lyx compiled on RH7 with gcc 2.96
> The rpm package does not show the bug.
>
> Enough info ? Can somebody fix it ?
Can you try the following patch ?
Index: LaTeX.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LaTeX.C,v
retrieving revision 1.37
diff -u -p -r1.37 LaTeX.C
--- LaTeX.C 2001/02/03 12:27:21 1.37
+++ LaTeX.C 2001/02/15 10:28:05
@@ -608,7 +608,7 @@ void LaTeX::deplog(DepTable & head)
string logfile = OnlyFilename(ChangeExtension(file, ".log"));
- LRegex reg1(")* *\\(([^ \\)]+).*");
+ LRegex reg1("\\)* *\\(([^ \\)]+).*");
LRegex reg2("File: ([^ ]+).*");
LRegex reg3("No file ([^ ]+)\\..*");
LRegex reg4("\\\\openout[0-9]+.*=.*`([^ ]+)'\\..*");