1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2025-01-02 00:00:40 +00:00

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.
This commit is contained in:
Scott Kostyshak 2016-06-02 22:54:26 -04:00
parent 1e8b925c07
commit 6a2219bc6f

View File

@ -878,7 +878,8 @@ int LaTeX::scanLogFile(TeXErrors & terr)
} else if (contains(token, "Rerun to get citations")) { } else if (contains(token, "Rerun to get citations")) {
// Natbib seems to use this. // Natbib seems to use this.
retval |= UNDEF_CIT; 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 // No output file (e.g. the DVI or PDF) was created
retval |= NO_OUTPUT; retval |= NO_OUTPUT;
} else if (contains(token, "That makes 100 errors")) { } else if (contains(token, "That makes 100 errors")) {