Quote the LaTeX file name passed to the lyxpreview script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10059 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-06-13 23:23:00 +00:00
parent 4894a7be98
commit 93a3820a2b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-12 Angus Leeming <leeming@lyx.org>
* PreviewLoader.C (startLoading): quote the name of the LaTeX file
passed to the lyxpreview converter script.
2005-04-17 Angus Leeming <leeming@lyx.org>
* GraphicsConverter.C (c-tor): quote conversion commands correctly.

View File

@ -498,7 +498,8 @@ void PreviewLoader::Impl::startLoading()
// 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);