// The conversion command.
ostringstream cs;
cs << pconverter_->command << ' ' << pconverter_->to << ' '
- << latexfile << ' ' << int(font_scaling_factor_) << ' '
+ << support::QuoteName(latexfile) << ' '
+ << int(font_scaling_factor_) << ' '
<< lyx_gui::hexname(LColor::preview) << ' '
<< lyx_gui::hexname(LColor::background);