]> git.lyx.org Git - features.git/blobdiff - src/graphics/PreviewLoader.C
Rename lyxpreview2ppm.sh as lyxpreview2bitmap.sh because the script now
[features.git] / src / graphics / PreviewLoader.C
index 8eb1e1597eeff02146082cada75fd00c6b4ac596..d6bd52a54503bdfcfa7542429de0ef3a3fc4666a 100644 (file)
@@ -472,9 +472,9 @@ void PreviewLoader::Impl::startLoading()
        // The conversion command.
        ostringstream cs;
        cs << pconverter_->command << " " << latexfile << " "
-          << int(font_scaling_factor_);
+          << int(font_scaling_factor_) << " " << pconverter_->to;
 
-       string const command = LibScriptSearch(cs.str().c_str());
+       string const command = "sh " + LibScriptSearch(cs.str().c_str());
 
        // Initiate the conversion from LaTeX to bitmap images files.
        Forkedcall::SignalTypePtr convert_ptr;