X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeX.cpp;h=ce3d73eef2171ade4a6208e7ec64f3f7c2d00526;hb=110445e3e2fe9beab1c38d2806cfd126dae967a9;hp=25dffb77a4ddf619a76a243c2c490608c8297e46;hpb=5061db891c2b7b9ca96ca40a3ee90bd9b2c76392;p=lyx.git diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index 25dffb77a4..ce3d73eef2 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -36,9 +36,8 @@ #include "support/Systemcall.h" #include "support/os.h" -#include "support/regex.h" - #include +#include #include @@ -136,6 +135,7 @@ LaTeX::LaTeX(string const & latex, OutputParams const & rp, void LaTeX::removeAuxiliaryFiles() const { + LYXERR(Debug::LATEX, "Removing auxiliary files"); // Note that we do not always call this function when there is an error. // For example, if there is an error but an output file is produced we // still would like to output (export/view) the file. @@ -768,7 +768,7 @@ bool LaTeX::runBibTeX(vector const & bibtex_info, it->aux_file.absFileName()))); Systemcall one; Systemcall::Starttype const starttype = - allow_cancel ? Systemcall::WaitLoop : Systemcall::Wait; + allow_cancel ? Systemcall::WaitLoop : Systemcall::Wait; exit_code = one.startscript(starttype, tmp, path, lpath, true); if (exit_code) { return result; @@ -795,7 +795,7 @@ int LaTeX::scanLogFile(TeXErrors & terr) string tmp = onlyFileName(changeExtension(file.absFileName(), ".log")); LYXERR(Debug::LATEX, "Log file: " << tmp); - FileName const fn = FileName(makeAbsPath(tmp)); + FileName const fn = makeAbsPath(tmp); // FIXME we should use an ifdocstream here and a docstring for token // below. The encoding of the log file depends on the _output_ (font) // encoding of the TeX file (T1, TU etc.). See #10728.