X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverter.cpp;h=a3df839054bd77c1ed9319c904234976b64a2a99;hb=3ceb2cdffee966b203f9b281113d4da1ee05f142;hp=e96ed7b0968bd3c8948aefa66551421e40d5b966;hpb=be89d37bd42b9d260e47c9cd50c23fcb9886a870;p=lyx.git diff --git a/src/Converter.cpp b/src/Converter.cpp index e96ed7b096..a3df839054 100644 --- a/src/Converter.cpp +++ b/src/Converter.cpp @@ -32,7 +32,7 @@ #include "support/lstrings.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" using namespace std; @@ -403,6 +403,7 @@ bool Converters::convert(Buffer const * buffer, command = subst(command, token_from, ""); command = subst(command, token_latex_encoding, buffer ? buffer->params().encoding().latexName() : string()); + command = libScriptSearch(command); LYXERR(Debug::FILES, "Running " << command); if (!runLaTeX(*buffer, command, runparams, errorList)) return false; @@ -726,7 +727,7 @@ vector const Converters::getReachable(string const & from, bool const only_viewable, bool const clear_visited, set const & excludes) { - set excluded_numbers;; + set excluded_numbers; set::const_iterator sit = excludes.begin(); set::const_iterator const end = excludes.end();