From d6ce49384fb37f224d8dbabb0e439b82534e80d7 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 20 Apr 2004 12:45:07 +0000 Subject: [PATCH] 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 --- src/ChangeLog | 5 +++++ src/LaTeX.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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); } -- 2.39.5