From: Jean-Marc Lasgouttes Date: Wed, 16 Feb 2000 15:04:15 +0000 (+0000) Subject: Correctly quote file names when running LaTeX (problem with u umlaut in name) X-Git-Tag: 1.6.10~22376 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9397ff934b194a27975ba8f98f8de498a87ad713;p=features.git Correctly quote file names when running LaTeX (problem with u umlaut in name) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@558 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index 74d730c722..e4f4f80a7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-02-16 Jean-Marc Lasgouttes + + * src/LaTeX.C (operator()): quote file name when running latex. + 2000-02-15 Lars Gullik Bjønnes * src/toolbar.C (set): use fl_set_object_helper for the tooltop diff --git a/src/LaTeX.C b/src/LaTeX.C index 73bf70c380..380c14a9fd 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -292,7 +292,7 @@ int LaTeX::run(TeXErrors & terr, MiniBuffer * minib) int LaTeX::operator()() { #ifndef __EMX__ - string tmp = cmd + ' ' + file + " > /dev/null"; + string tmp = cmd + ' ' + QuoteName(file) + " > /dev/null"; #else // cmd.exe (OS/2) causes SYS0003 error at "/dev/null" string tmp = cmd + ' ' + file + " > nul"; #endif