From 744b2e304b5af537e08db41d57f44b7882233260 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Tue, 7 Apr 2015 02:30:54 -0400 Subject: [PATCH] Add on to fix for #2757 - Treat BibTeX errors as errors so the LaTeX Errors dialog is shown. - Add RELEASE-NOTES (updated from cba432f1). --- RELEASE-NOTES | 6 +++++- src/LaTeX.h | 5 +---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6e9655e9be..a0180f3778 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -47,7 +47,6 @@ The following metadata files have been added to the tarball in 2.2: Changes with respect to external programs and libraries in 2.2: -------------------------------------------------------- - - LyX is not yet supposed to work with Qt5. It is advised to compile and run LyX against Qt 4.8.x. On Windows, Qt 4.8.5 suffers from a bug that breaks the use of shortcuts, so on Windows Qt 4.8.4 is advised. @@ -67,3 +66,8 @@ Known issues in version 2.2.0 Caveats when upgrading from earlier versions to 2.2.x ------------------------------------------------------- +- BibTeX errors are now processed and cause LyX to show the errors dialog. + Before, these errors were ignored, which means that it may happen that + documents that compiled without error with a previous version now + compile with error. However, because now in 2.2.x users can click on + the "Show Output Anyway" button, the document can still be viewed. diff --git a/src/LaTeX.h b/src/LaTeX.h index 7fa6798ff0..6b71f0f8a7 100644 --- a/src/LaTeX.h +++ b/src/LaTeX.h @@ -140,10 +140,7 @@ public: /// NONZERO_ERROR = 32768, // the command exited with nonzero status /// - //FIXME: BIBTEX_ERROR has been removed from ERRORS for now, since users were irritated - // about those errors which prevented compilation of previously compiling documents. - // Think about a "gentle" transfer to BibTeX error reporting. - ERRORS = TEX_ERROR + LATEX_ERROR + NONZERO_ERROR, + ERRORS = TEX_ERROR + LATEX_ERROR + NONZERO_ERROR + BIBTEX_ERROR, /// WARNINGS = TEX_WARNING + LATEX_WARNING + PACKAGE_WARNING };