We currently recognize warnings from pdftex as errors. This is no regression
and no crash, but the fix should IMO go in (probably for 1.3, too), because
it is very simple.
OK?


Georg
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.2127
diff -u -p -r1.2127 ChangeLog
--- src/ChangeLog	22 Feb 2005 11:41:21 -0000	1.2127
+++ src/ChangeLog	23 Feb 2005 14:32:18 -0000
@@ -1,3 +1,7 @@
+2005-02-23  Georg Baum  <[EMAIL PROTECTED]>
+
+	* LaTeX.C (scanLogFile): recognize pdfTeX warnings
+
 2005-02-14  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* BufferView.C (setCursor): change to use a DocIterator.
Index: src/LaTeX.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LaTeX.C,v
retrieving revision 1.108
diff -u -p -r1.108 LaTeX.C
--- src/LaTeX.C	31 Jan 2005 10:42:17 -0000	1.108
+++ src/LaTeX.C	23 Feb 2005 14:32:33 -0000
@@ -545,7 +544,8 @@ int LaTeX::scanLogFile(TeXErrors & terr)
 		if (token.empty())
 			continue;
 
-		if (prefixIs(token, "LaTeX Warning:")) {
+		if (prefixIs(token, "LaTeX Warning:") ||
+		    prefixIs(token, "! pdfTeX warning")) {
 			// Here shall we handle different
 			// types of warnings
 			retval |= LATEX_WARNING;

Reply via email to