X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverter.cpp;h=a3df839054bd77c1ed9319c904234976b64a2a99;hb=3ceb2cdffee966b203f9b281113d4da1ee05f142;hp=d803309dff45cfafae0274ce98553e1e63e65b09;hpb=288c1e0faad85d4b0f17e366cb5c44473a133957;p=lyx.git diff --git a/src/Converter.cpp b/src/Converter.cpp index d803309dff..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; @@ -99,7 +99,7 @@ Converter::Converter(string const & f, string const & t, string const & c, string const & l) : from(f), to(t), command(c), flags(l), From(0), To(0), latex(false), xml(false), - need_aux(false) + need_aux(false), nice(false) {} @@ -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();