X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeX.cpp;h=8f6bd510d813e0f26320fbb430eb936e8fb0e542;hb=38a3692a0fce8b0531cef794a08d179e9e33ac33;hp=cb922cc5a46e0fa5a7981cc3692d464f8cb3784d;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index cb922cc5a4..8f6bd510d8 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -26,7 +26,7 @@ #include "support/convert.h" #include "support/lstrings.h" #include "support/lyxlib.h" -#include "support/systemcall.h" +#include "support/Systemcall.h" #include "support/os.h" #include @@ -229,7 +229,7 @@ int LaTeX::run(TeXErrors & terr) head.update(); // Can't just check if anything has changed because it might // have aborted on error last time... in which cas we need - // to re-run latex and collect the error messages + // to re-run latex and collect the error messages // (even if they are the same). if (!fs::exists(output_file.toFilesystemEncoding())) { LYXERR(Debug::DEPEND) @@ -293,7 +293,7 @@ int LaTeX::run(TeXErrors & terr) // A second latex run is needed. FileName const idxfile(changeExtension(file.absFilename(), ".idx")); rerun = fs::exists(idxfile.toFilesystemEncoding()) && - fs::is_empty(idxfile.toFilesystemEncoding()); + fs::is_empty(idxfile.toFilesystemEncoding()); // run makeindex if (head.haschanged(idxfile)) { @@ -438,13 +438,13 @@ int LaTeX::startscript() bool LaTeX::runMakeIndex(string const & f, OutputParams const & runparams, - string const & params) + string const & params) { LYXERR(Debug::LATEX) << "idx file has been made, running makeindex on file " << f << endl; string tmp = lyxrc.index_command + ' '; - + tmp = subst(tmp, "$$lang", runparams.document_language); tmp += quoteName(f); tmp += params; @@ -965,7 +965,7 @@ void LaTeX::deplog(DepTable & head) // Sometimes, filenames are broken across lines. // We care for that and save suspicious lines. - // Here we exclude some cases where we are sure + // Here we exclude some cases where we are sure // that there is no continued filename if (!lastline.empty()) { static regex package_info("Package \\w+ Info: .*"); @@ -1035,7 +1035,7 @@ void LaTeX::deplog(DepTable & head) found_file = false; // (6) "Writing nomenclature file file.ext" } else if (regex_match(token, sub, regnomencl) || - regex_match(token, sub, regoldnomencl)) + regex_match(token, sub, regoldnomencl)) // check for dot found_file = checkLineBreak(sub.str(1), head); // (7) "\tf@toc=\write" (for MikTeX)