fix bug 1526 (quote correctly file name for bibtex and makeindex)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8684 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2004-04-20 12:45:07 +00:00
parent 345f0f0b23
commit d6ce49384f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
(bug 1526)
2004-04-19 Angus Leeming <leeming@lyx.org>
* BufferView_pimpl.C (setBuffer): changed preview interface.

View File

@ -404,7 +404,7 @@ bool LaTeX::runMakeIndex(string const & f)
// to be able to make style files from within LyX. This has
// to come for a later time.
string tmp = "makeindex -c -q ";
tmp += f;
tmp += QuoteName(f);
Systemcall one;
one.startscript(Systemcall::Wait, tmp);
return true;
@ -528,7 +528,7 @@ bool LaTeX::runBibTeX(vector<Aux_Info> const & bibtex_info)
result = true;
string tmp = lyxrc.bibtex_command + " ";
tmp += OnlyFilename(ChangeExtension(it->aux_file, string()));
tmp += QuoteName(OnlyFilename(ChangeExtension(it->aux_file, string())));
Systemcall one;
one.startscript(Systemcall::Wait, tmp);
}