When the target of an includegraphics command is missing, Latex first reports that as a warning, then generates a fatal error in a non file-line-error format and exits leaving a truncated pdf in its wake. Its better to catch the fatal error and tell people about it. Changed: U trunk/Bundles/Latex.tmbundle/latexErrWarnHtml.py