commit 6a2219bc6fa1f935c94fa18ab428690f1871dc3c
Author: Scott Kostyshak <[email protected]>
Date: Thu Jun 2 22:54:26 2016 -0400
Support a changed log message in newest LuaTeX
The version of LuaTeX that ships with TeX Live 2016 now gives the
following message after processing a document that yields no pages
of output:
"warning (pdf backend): no pages of output."
The lowercase "n" in "no" is a change that caused our parser not to
pick up the message.
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index b8e66ed..e8a6f9f 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -878,7 +878,8 @@ int LaTeX::scanLogFile(TeXErrors & terr)
} else if (contains(token, "Rerun to get citations")) {
// Natbib seems to use this.
retval |= UNDEF_CIT;
- } else if (contains(token, "No pages of output")) {
+ } else if (contains(token, "No pages of output")
+ || contains(token, "no pages of output")) {
// No output file (e.g. the DVI or PDF) was
created
retval |= NO_OUTPUT;
} else if (contains(token, "That makes 100 errors")) {