diff --git a/src/ChangeLog b/src/ChangeLog index 2fd3e76a02..76ed58e393 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-04-18 Jean-Marc Lasgouttes + + * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name + (bug 1526) + 2004-04-19 Angus Leeming * BufferView_pimpl.C (setBuffer): changed preview interface. diff --git a/src/LaTeX.C b/src/LaTeX.C index 4a54f6e492..845fdc322d 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -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 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); }